Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | League\Route\Route::getCallable() | 0 | 12 | 11 | 11 | 1 | 0 | 0 |
B | League\Route\Route::getPath() | 0 | 28 | 11 | 11.05 | 1 | 0 | 0 |
B | Dispatcher::setFoundMiddleware() | 0 | 16 | 8 | 8 | 2 | 0 | 0 |
B | MiddlewareAwareTrait::resolveMiddleware() | 0 | 7 | 8 | 8 | 0 | 0 | 0 |
B | League\Route\Router::prepareRoutes() | 0 | 25 | 8 | 8 | 0 | 0 | 0 |
B | League\Route\RouteGroup::map() | 0 | 12 | 7 | 7 | 3 | 0 | 0 |
A | Route\Cache\Router::buildRouter() | 0 | 13 | 6 | 6.11 | 0 | 0 | 0 |
A | RouteConditionHandlerTrait::isExtraConditionMatch() | 0 | 8 | 6 | 6 | 0 | 0 | 0 |
A | Route\Router::buildOptionsRoutes() | 0 | 13 | 6 | 6 | 0 | 0 | 0 |
A | Route\Dispatcher::dispatchRequest() | 0 | 20 | 5 | 5 | 1 | 0 | 0 |
A | JsonStrategy.php$0 ➔ getThrowableHandler() | 0 | 31 | 3 | 3 | 0 | 0 | 0 |
A | JsonStrategy.php$0 ➔ process() | 0 | 20 | 3 | 3 | 0 | 0 | 0 |
A | JsonStrategy.php$1 ➔ buildJsonResponseMiddleware() | 0 | 18 | 1 | 1 | 0 | 0 | 0 |
A | ApplicationStrategy.php$1 ➔ throwThrowableMiddleware() | 0 | 16 | 1 | 1 | 0 | 0 | 0 |
A | ApplicationStrategy.php$0 ➔ getThrowableHandler() | 0 | 12 | 2 | 2 | 0 | 0 | 0 |