Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | MockHttpRequest::initializePhpFileVar() | 0 | 38 | 9 | 9 | 1 | 0 | 0 |
B | RestServer\HttpRequestHandler::process() | 0 | 41 | 8 | 8.01 | 0 | 0 | 0 |
B | ByJG\RestServer\ResponseBag::add() | 0 | 10 | 9 | 9 | 1 | 0 | 0 |
B | OpenApiRouteList::generateRoutes() | 0 | 19 | 9 | 9.56 | 1 | 0 | 0 |
B | Route\OpenApiRouteList::sortPaths() | 0 | 11 | 7 | 7 | 0 | 0 | 0 |
B | OpenApiRouteList::getMethodOutputProcessor() | 0 | 14 | 7 | 7 | 0 | 0 | 0 |
A | MockHttpRequest::initializePhpVariables() | 0 | 38 | 5 | 5 | 2 | 0 | 0 |
A | RestServer\HttpRequest::getRequestServer() | 0 | 8 | 6 | 42 | 2 | 0 | 0 |
A | Route\OpenApiRouteList::__construct() | 0 | 15 | 6 | 7.1 | 0 | 0 | 0 |
A | MiddlewareManagement::processMiddleware() | 0 | 13 | 6 | 6.13 | 1 | 0 | 0 |
A | RestServer\ResponseBag::process() | 0 | 11 | 6 | 6 | 5 | 1 | 0 |
A | ServerStaticMiddleware::beforeProcess() | 0 | 19 | 5 | 5.79 | 2 | 0 | 0 |
A | Middleware\CorsMiddleware::preFlight() | 0 | 16 | 5 | 5 | 0 | 0 | 0 |
A | RestServer\Writer\StdoutWriter::header() | 0 | 10 | 5 | 5 | 1 | 0 | 0 |
A | HttpRequestHandler::executeRequest() | 0 | 17 | 4 | 6.33 | 0 | 0 | 0 |