Percentage | Lines | ||
---|---|---|---|
MetaTrait |
|
38 % | 48 |
ErrorHandler |
|
44 % | 41 |
Relationship |
|
65 % | 70 |
Document |
|
67 % | 218 |
Collection |
|
76 % | 113 |
AbstractSerializer |
|
88 % | 91 |
Resource |
|
92 % | 393 |
Parameters |
|
93 % | 205 |
LinksTrait |
|
93 % | 122 |
FallbackExceptionHandler |
|
100 % | 51 |
CRAP Score | Lines | ||
---|---|---|---|
Document::getIncluded() | 10 | 44 | |
Resource::toArray() | 10 | 43 | |
Document::toArray() | 9 | 34 | |
LinksTrait::addPaginationLink() | 8 | 30 | |
LinksTrait::addPaginationLinks() | 6 | 20 | |
Collection::fields() | 6 | 8 | |
Parameters::getLimit() | 6 | 10 | |
Parameters::getSort() | 5 | 32 | |
Resource::buildRelationships() | 5 | 25 | |
Relationship::toArray() | 5 | 18 | |