| Percentage | Lines | ||
|---|---|---|---|
| Validator |
|
97 % | 135 |
| RequestParser |
|
99 % | 340 |
| InputException |
|
100 % | 3 |
| DuplicateException |
|
100 % | 3 |
| AtomicOperationsExtension |
|
100 % | 17 |
| Converter |
|
100 % | 62 |
| ErrorsDocument |
|
100 % | 176 |
| AttributesObject |
|
100 % | 105 |
| AtomicOperationsDocument |
|
100 % | 43 |
| JsonapiObject |
|
100 % | 131 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ErrorObject::isEmpty() | 13 | 33 | |
| ErrorObject::toArray() | 13 | 35 | |
| LinkObject::isEmpty() | 12 | 30 | |
| LinkObject::toArray() | 12 | 37 | |
| RelationshipObject::isEmpty() | 11 | 21 | |
| RelationshipObject::toArray() | 11 | 30 | |
| JsonapiObject::toArray() | 10 | 29 | |
| LinksObject::toArray() | 10 | 26 | |
| ErrorObject::fromException() | 10 | 49 | |
| RequestParser::fromSuperglobals() | 9 | 23 | |