| Percentage | Lines | ||
|---|---|---|---|
| Input |
|
0 % | 131 |
| FileCollection |
|
66 % | 144 |
| Filesystem |
|
74 % | 160 |
| Directory |
|
86 % | 181 |
| File |
|
92 % | 119 |
| UploadedFile |
|
96 % | 108 |
| StringStream |
|
98 % | 242 |
| RequiredValidation |
|
100 % | 9 |
| NumericValidation |
|
100 % | 9 |
| Validation |
|
100 % | 67 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Filesystem::getAbsolutePath() | 56 | 9 | |
| Input::getVariable() | 30 | 16 | |
| Input::files() | 12 | 9 | |
| Directory::getFiles() | 7 | 16 | |
| Directory::create() | 7 | 27 | |
| StringStream::stream_seek() | 6 | 23 | |
| FileCollection::offsetGet() | 6 | 3 | |
| FileCollection::offsetSet() | 6 | 7 | |
| Validator::getFieldInfo() | 6 | 14 | |
| File::deleteIfExists() | 6 | 4 | |