Percentage | Lines | ||
---|---|---|---|
ProblemDetails |
|
62 % | 84 |
Validator |
|
100 % | 94 |
CRAP Score | Lines | ||
---|---|---|---|
ProblemDetails::getTitle() | 2 | 4 | |
ProblemDetails::getStatus() | 2 | 4 | |
ProblemDetails::getDetail() | 2 | 4 | |
ProblemDetails::jsonSerialize() | 2 | 4 | |
ProblemDetails::__construct() | 1 | 7 | |
ProblemDetails::getExtensions() | 1 | 4 | |
ProblemDetails::toArray() | 1 | 8 | |
Validator::__construct() | 1 | 4 | |
Validator::passes() | 1 | 4 | |
Validator::fails() | 1 | 4 | |