Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | EnvCheckMiddleware::__construct() | 0 | 20 | 1 | 1 | 2 | 1 | 0 |
A | ConfigService::getSupportedMediaTypes() | 0 | 10 | 4 | 4 | 0 | 0 | 0 |
A | SharingCheckMiddleware::beforeController() | 0 | 7 | 4 | 4 | 0 | 0 | 0 |
A | Service\FilesService::isAllowed() | 0 | 8 | 4 | 4 | 0 | 0 | 0 |
A | ConfigValidator::isSortingSafe() | 0 | 4 | 4 | 4 | 2 | 1 | 0 |
A | FilesService::isAllowedAndAvailable() | 0 | 7 | 4 | 4 | 0 | 0 | 0 |
A | SearchMediaService::searchFolder() | 0 | 15 | 4 | 4 | 2 | 0 | 0 |
A | Service\ConfigService::collectConfig() | 0 | 11 | 4 | 4 | 2 | 0 | 0 |
A | Service\PreviewService::isGifAnimated() | 0 | 10 | 4 | 4 | 2 | 0 | 0 |
A | SearchMediaService::searchSubFolders() | 0 | 8 | 4 | 4 | 0 | 0 | 0 |
A | ConfigParser::buildAlbumConfig() | 0 | 10 | 4 | 4 | 1 | 0 | 0 |
A | GalleryPlus\Preview\Preview::fixPreview() | 0 | 7 | 4 | 4 | 0 | 0 | 0 |
A | Controller\HttpError::getHttpStatusCode() | 0 | 8 | 4 | 4 | 0 | 0 | 0 |
A | Controller\FilesController::download() | 0 | 13 | 3 | 3 | 0 | 0 | 0 |
A | ConfigService::validatesInfoConfig() | 0 | 10 | 4 | 4 | 0 | 0 | 0 |