Percentage | Lines | ||
---|---|---|---|
AmazonS3 |
|
5 % | 355 |
LocalStorage |
|
30 % | 242 |
PathHelper |
|
93 % | 42 |
ServerFileSystem |
|
96 % | 46 |
FileSystemFactory |
|
100 % | 77 |
CRAP Score | Lines | ||
---|---|---|---|
LocalStorage::copyFiles() | 56 | 25 | |
AmazonS3::pathOrUrlToPath() | 42 | 40 | |
AmazonS3::copyFiles() | 30 | 33 | |
AmazonS3::ensureBucketExists() | 30 | 36 | |
LocalStorage::isDirectory() | 12 | 10 | |
LocalStorage::pathOrUrlToPath() | 6 | 14 | |
ServerFileSystem::deleteFilesInDirectoryRecursively() | 6 | 21 | |
AmazonS3::read() | 6 | 21 | |
AmazonS3::getFiles() | 6 | 19 | |
AmazonS3::isDirectory() | 6 | 10 | |