Percentage | Lines | ||
---|---|---|---|
HandlerAggregate |
|
94 % | 56 |
Handler |
|
97 % | 289 |
Local |
|
97 % | 100 |
File |
|
100 % | 89 |
Collection |
|
100 % | 51 |
CRAP Score | Lines | ||
---|---|---|---|
Handler::processSingleFile() | 9 | 46 | |
HandlerAggregate::process() | 7 | 20 | |
Handler::__construct() | 6 | 29 | |
Handler::validateFile() | 6 | 8 | |
Handler::sanitizeFileName() | 6 | 7 | |
Local::moveUploadedFile() | 4 | 13 | |
Collection::__construct() | 4 | 10 | |
Local::ensureDirectory() | 3 | 8 | |
Handler::process() | 3 | 14 | |
Collection::isValid() | 3 | 10 | |