Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | TestResponseMixin::assertJsonApiValidation() | 0 | 16 | 4 | 4 | 0 | 0 | 0 |
A | JsonApiErrorServiceProvider::boot() | 0 | 10 | 4 | 4.01 | 4 | 0 | 0 |
A | TestResponseMixin::assertJsonApiErrorStructure() | 0 | 7 | 1 | 1 | 1 | 0 | 0 |
A | JsonApiError\JsonApiError::handle() | 0 | 6 | 4 | 4 | 2 | 0 | 0 |
A | JsonApiError\JsonApiError::raw() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Exceptions\JsonApiException::__construct() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | JsonApiError\JsonApiError::__construct() | 0 | 4 | 1 | 1 | 1 | 0 | 0 |
A | Data\JsonApiErrorData::toArray() | 0 | 8 | 4 | 4 | 1 | 0 | 0 |
A | JsonApiError\JsonApiError::mapToStatus() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | TestResponseMixin::assertJsonApiError() | 0 | 6 | 1 | 1 | 1 | 0 | 0 |
A | JsonApiError\JsonApiError::handleRequestIf() | 0 | 1 | 1 | 2 | 1 | 0 | 0 |
A | JsonApiError\JsonApiError::fromStatus() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Middleware\EnforceJsonRequest::handle() | 0 | 2 | 1 | 2 | 1 | 0 | 0 |
A | JsonApiError::fromJsonApiErrorsAware() | 0 | 1 | 1 | 2 | 1 | 0 | 0 |
A | JsonApiErrorData::unprocessable() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |