Created at 2024-09-03 19:22:11 , with PHPMetrics v2.8.2 (Jean-François Lépine).
Average weighted method count by class (CC)
14.35
Average cyclomatic complexity by class
7.76
Average relative System complexity
167.86
Average bugs by class(Halstead)
0.18
average defects by class (Kan)
0.62
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
Snicco\Component\HttpRouting\Routing\Route\Route 45 24 8 123 2 121 0.75 2.46
Snicco\Component\HttpRouting\Routing\Route\SerializedRouteCollection 16 8 3 64.95 0.95 64 0.11 0.73
Snicco\Component\HttpRouting\Routing\Route\RouteCollection 7 4 3 5.47 1.47 4 0.03 0.52
Snicco\Component\HttpRouting\Routing\Router 21 14 5 289.43 0.43 289 0.2 1.03
Snicco\Component\HttpRouting\Routing\UrlMatcher\RoutingResult 8 3 3 9.63 9.63 0 0.04 0.29
Snicco\Component\HttpRouting\Routing\UrlMatcher\FastRouteSyntaxConverter 16 11 5 82.17 1.17 81 0.31 1.03
Snicco\Component\HttpRouting\Routing\UrlMatcher\FastRouteDispatcher 33 29 19 289.8 0.8 289 0.45 2.77
Snicco\Component\HttpRouting\Routing\UrlMatcher\AdminRouteMatcher 5 3 3 64.59 0.59 64 0.03 0.29
Snicco\Component\HttpRouting\Routing\Admin\CachedAdminMenu 6 4 4 2.67 1.67 1 0.04 0.52
Snicco\Component\HttpRouting\Routing\Admin\AdminMenuItem 18 13 8 37.57 1.57 36 0.25 0.78
Snicco\Component\HttpRouting\Routing\Admin\AdminAreaPrefix 3 1 1 10.15 1.15 9 0.02 0.15
Snicco\Component\HttpRouting\Routing\Admin\WPAdminArea 12 6 3 49.96 0.96 49 0.16 0.29
Snicco\Component\HttpRouting\Routing\Exception\BadRouteConfiguration 6 1 1 6.39 2.39 4 0.04 0.15
Snicco\Component\HttpRouting\Routing\Exception\BadRouteParameter 2 1 1 5 5 0 0.02 0.15
Snicco\Component\HttpRouting\Routing\Exception\MethodNotAllowed 1 1 1 4 4 0 0.01 0.15
Snicco\Component\HttpRouting\Routing\Exception\InvalidRouteClosureReturned 4 1 1 5.25 5.25 0 0.02 0.15
Snicco\Component\HttpRouting\Routing\Exception\RouteNotFound 2 1 1 3.5 3.5 0 0.01 0.15
Snicco\Component\HttpRouting\Routing\RouteLoader\PHPFileRouteLoader 35 27 8 361.33 0.33 361 0.47 2.66
Snicco\Component\HttpRouting\Routing\RouteLoader\DefaultRouteLoadingOptions 7 5 3 16.73 0.73 16 0.09 0.43
Snicco\Component\HttpRouting\Routing\Cache\NullCache 1 1 1 2 2 0 0 0.15
Snicco\Component\HttpRouting\Routing\Cache\FileRouteCache 6 3 2 10.38 1.38 9 0.07 0.29
Snicco\Component\HttpRouting\Routing\Condition\IsAdminDashboardRequest 1 1 1 2 1 1 0 0.15
Snicco\Component\HttpRouting\Routing\Condition\RouteCondition 2 1 1 2 2 0 0 0.15
Snicco\Component\HttpRouting\Routing\Condition\NegatedRouteCondition 2 1 1 5 1 4 0.01 0.15
Snicco\Component\HttpRouting\Routing\Condition\NewableRouteConditionFactory 2 2 2 3 3 0 0.02 0.22
Snicco\Component\HttpRouting\Routing\Condition\ConditionBlueprint 3 3 3 2 2 0 0.02 0.29
Snicco\Component\HttpRouting\Routing\UrlGenerator\LazyGenerator 5 2 2 17.24 1.24 16 0.05 0.22
Snicco\Component\HttpRouting\Routing\UrlGenerator\UrlGenerationContext 11 10 10 4.25 3.25 1 0.17 0.22
Snicco\Component\HttpRouting\Routing\UrlGenerator\Generator 47 34 9 961.8 0.8 961 0.9 1.64
Snicco\Component\HttpRouting\Routing\UrlGenerator\RFC3986Encoder 6 3 2 5 5 0 0.17 0.22
Snicco\Component\HttpRouting\Routing\UrlPath 16 6 3 18.33 2.33 16 0.12 0.29
Snicco\Component\HttpRouting\Routing\RoutingConfigurator\Configurator 77 36 9 1936.89 0.89 1936 1.35 2.41
Snicco\Component\HttpRouting\Routing\RoutingConfigurator\RouteGroup 10 6 6 49.63 0.63 49 0.1 0.15
Snicco\Component\HttpRouting\Controller\DelegateResponseController 1 1 1 4.33 0.33 4 0 0.15
Snicco\Component\HttpRouting\Controller\Controller 10 5 2 100.59 0.59 100 0.1 0.45
Snicco\Component\HttpRouting\Controller\RedirectController 3 1 1 16.8 0.8 16 0.04 0.15
Snicco\Component\HttpRouting\Controller\ViewController 2 2 2 16.4 0.4 16 0.03 0.38
Snicco\Component\HttpRouting\Controller\ControllerMiddleware 5 3 3 3.4 2.4 1 0.02 0.29
Snicco\Component\HttpRouting\Controller\ControllerAction 9 6 3 49.69 0.69 49 0.07 0.43
Snicco\Component\HttpRouting\Exception\MiddlewareRecursion 3 1 1 3 2 1 0.04 0.15
Snicco\Component\HttpRouting\Exception\InvalidMiddleware 1 1 1 2 2 0 0 0.15
Snicco\Component\HttpRouting\LazyHttpErrorHandler 4 3 2 16.5 0.5 16 0.02 0.29
Snicco\Component\HttpRouting\Http\Cookie 15 8 4 4.94 3.94 1 0.18 0.43
Snicco\Component\HttpRouting\Http\ResponsePreparation 26 19 11 529.66 0.66 529 0.36 1.06
Snicco\Component\HttpRouting\Http\Response\RedirectResponse 2 1 1 2.67 1.67 1 0.01 0.15
Snicco\Component\HttpRouting\Http\Response\ViewResponse 3 1 1 5.6 1.6 4 0.03 0.15
Snicco\Component\HttpRouting\Http\Response\DelegatedResponse 1 1 1 2 2 0 0.01 0.15
Snicco\Component\HttpRouting\Http\Psr7\Request 122 38 5 3365.74 1.74 3364 1.35 3.35
Snicco\Component\HttpRouting\Http\Psr7\Response 56 17 3 402.13 2.13 400 0.71 1.21
Snicco\Component\HttpRouting\Http\Psr7\ResponseFactory 20 9 8 197.11 1.11 196 0.22 0.57
Snicco\Component\HttpRouting\Http\Cookies 10 8 7 2.83 1.83 1 0.14 0.8
Snicco\Component\HttpRouting\Http\ResponseUtils 13 3 2 122.01 1.01 121 0.19 0.15
Snicco\Component\HttpRouting\Middleware\MiddlewareFactory 6 6 6 4.83 0.83 4 0.04 0.36
Snicco\Component\HttpRouting\Middleware\MiddlewareResolver 61 46 10 676.68 0.68 676 0.84 3.71
Snicco\Component\HttpRouting\Middleware\RoutingMiddleware 2 2 2 9.88 0.88 9 0.02 0.22
Snicco\Component\HttpRouting\Middleware\Middleware 11 5 2 100.52 0.52 100 0.09 0.29
Snicco\Component\HttpRouting\Middleware\MiddlewarePipeline 21 13 5 122.33 1.33 121 0.21 0.94
Snicco\Component\HttpRouting\Middleware\RouteRunner 5 3 2 196.47 0.47 196 0.09 0.29
Snicco\Component\HttpRouting\Middleware\NextMiddleware 5 2 2 5.73 1.73 4 0.02 0.15
Snicco\Component\HttpRouting\Middleware\MiddlewareBlueprint 3 1 1 2.67 1.67 1 0.02 0.15
Snicco\Component\HttpRouting\Reflector 12 10 6 17.53 1.53 16 0.1 0.57
Snicco\Component\HttpRouting\Testing\AssertableCookie 9 9 9 1.5 0.5 1 0.08 0.73
Snicco\Component\HttpRouting\Testing\MiddlewareTestResult 4 2 2 1.75 0.75 1 0.02 0.15
Snicco\Component\HttpRouting\Testing\CreatesPsrRequests 11 4 4 144.59 0.59 144 0.12 0.36
Snicco\Component\HttpRouting\Testing\AssertableResponse 37 8 3 325.72 1.72 324 0.58 0.5
Snicco\Component\HttpRouting\Testing\MiddlewareTestCase 18 7 5 169.89 0.89 169 0.13 0.5