Percentage | Lines | ||
---|---|---|---|
UriParameterInvalidException |
|
100 % | 5 |
RouteCollection |
|
100 % | 46 |
Route |
|
100 % | 40 |
RouteNotSetException |
|
100 % | 5 |
UriParametersMissingException |
|
100 % | 12 |
Router |
|
100 % | 185 |
NotFoundHandler |
|
100 % | 15 |
CRAP Score | Lines | ||
---|---|---|---|
Router::uri() | 6 | 36 | |
Router::process() | 4 | 21 | |
RouteCollection::get() | 2 | 7 | |
RouteCollection::getIterator() | 2 | 4 | |
Router::makeDispatcher() | 2 | 5 | |
UriParameterInvalidException::from() | 1 | 3 | |
RouteCollection::set() | 1 | 3 | |
RouteCollection::has() | 1 | 3 | |
RouteCollection::count() | 1 | 3 | |
Route::__construct() | 1 | 5 | |