| Percentage | Lines | ||
|---|---|---|---|
| SlimRouterFactory |
|
100 % | 7 |
| ConfigProvider |
|
100 % | 13 |
| SlimRouter |
|
100 % | 138 |
| CRAP Score | Lines | |
|---|---|---|
| SlimRouter::injectRoute() | 6 | 24 |
| SlimRouter::__construct() | 2 | 9 |
| SlimRouter::match() | 2 | 25 |
| SlimRouter::generateUri() | 2 | 13 |
| SlimRouter::injectRoutes() | 2 | 7 |
| ConfigProvider::__invoke() | 1 | 10 |
| SlimRouterFactory::__invoke() | 1 | 4 |
| SlimRouter::createRouter() | 1 | 4 |
| SlimRouter::addRoute() | 1 | 4 |
| SlimRouter::dummyCallable() | 1 | 3 |