Percentage | Lines | ||
---|---|---|---|
Scanner |
|
96 % | 177 |
Path |
|
97 % | 230 |
JsonResponse |
|
100 % | 22 |
CRAP Score | Lines | ||
---|---|---|---|
Scanner::populatePath() | 8 | 30 | |
Scanner::probe() | 6 | 25 | |
Path::createItem() | 5 | 28 | |
Path::getType() | 4 | 12 | |
Path::saveFileContent() | 3 | 10 | |
Path::getDetail() | 3 | 23 | |
Scanner::getScannedContent() | 3 | 19 | |
Path::validate() | 2 | 8 | |
Scanner::scan() | 2 | 18 | |
JsonResponse::encode() | 1 | 4 | |