Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
D Phrest\Application::run() 0 95 9 90 0 0 0
C Swagger::extractParametersFromRawParameters() 0 26 8 72 0 0 0
C RequestSwaggerValidator::validate() 0 42 10 110 0 0 0
C Phrest\Swagger::extractParameters() 0 29 11 132 0 0 0
B Middleware\JsonRequestBody::process() 0 17 5 30 0 0 0
B Phrest\Middleware\Error::process() 0 23 4 20 0 0 0
B AbstractSwaggerValidatorAction::onRESTRequest() 0 13 4 20 0 0 0
B RequestSwaggerValidator::validateValueBySchema() 0 19 3 12 0 0 0
B Middleware\HttpException::process() 0 25 3 12 0 0 0
A RESTActionTrait::getAllowedMethods() 0 6 4 4 0 0 0
A Phrest\Application::pipeMiddleware() 0 13 1 2 0 0 0
A API\AbstractAction::onRESTRequest() 0 2 1 2 0 0 0
A API\Action\ErrorCodes::process() 0 6 2 6 0 0 0
A RESTActionTrait::throwMethodNotAllowed() 0 7 1 1 0 0 0
A Phrest\Application::createCache() 0 7 2 6 0 0 0