Percentage | Lines | ||
---|---|---|---|
Path |
|
100 % | 12 |
Route |
|
100 % | 39 |
Router |
|
100 % | 53 |
MethodAndPathMatcher |
|
100 % | 31 |
CRAP Score | Lines | ||
---|---|---|---|
Router::match() | 3 | 16 | |
MethodAndPathMatcher::match() | 3 | 16 | |
MethodAndPathMatcher::__construct() | 1 | 5 | |
Path::get() | 1 | 4 | |
Path::post() | 1 | 4 | |
Route::__construct() | 1 | 6 | |
Route::getName() | 1 | 4 | |
Route::name() | 1 | 5 | |
Route::match() | 1 | 4 | |
Route::getHandler() | 1 | 4 | |