Code

Rating Name Duplication Size   Complexity CRAP Changes Bugs Features
A JsonStrategy::getThrowableHandler() 0 35 3 3 0 0 0
B League\Route\Router::prepRoutes() 0 34 9 9 0 0 0
B Dispatcher::setFoundMiddleware() 0 30 7 7 0 0 0
C League\Route\Route::getCallable() 0 26 12 12.07 0 0 0
B League\Route\RouteGroup::map() 0 25 7 7 0 0 0
A Route\Dispatcher::dispatchRequest() 0 22 4 4 0 0 0
A League\Route\Router::dispatch() 0 22 4 4 0 0 0
A JsonStrategy.php$1 ➔ process() 0 22 3 3 0 0 0
A ApplicationStrategy::getThrowableHandler() 0 21 2 2 0 0 0
A JsonStrategy::buildJsonResponseMiddleware() 0 21 1 1 0 0 0
A ApplicationStrategy::throwThrowableMiddleware() 0 19 1 1 0 0 0
A League\Route\Router::processGroups() 0 17 4 4 0 0 0
A Http\Exception::buildJsonResponse() 0 17 3 3 0 0 0
B MiddlewareAwareTrait::resolveMiddleware() 0 16 8 9 0 0 0
A JsonStrategy::invokeRouteCallable() 0 15 2 2 0 0 0