Created at 2017-09-01 23:10:32 , with PHPMetrics v2.2.0 (Jean-François Lépine).
Average cyclomatic complexity by class
1.73
Average relative System complexity
16.38
Average bugs by class
(Halstead)
0.02
average defects by class
(Kan)
0.24
Class | Class cycl. | Max method cycl. | Relative system complexity | Relative data complexity | Relative structural complexity | Bugs | Defects |
---|---|---|---|---|---|---|---|
IceHawk\IceHawk\Config\ConfigGuard | 2 | 2 | 9.33 | 0.33 | 9 | 0.02 | 0.22 |
IceHawk\IceHawk\Config\ConfigWrapper | 9 | 2 | 64.9 | 0.9 | 64 | 0.06 | 0.71 |
IceHawk\IceHawk\Constants\HandlerMethodInterfaceMap | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Constants\HttpCode | 1 | 0 | 0 | 0 | 0 | 0.15 | 0.15 |
IceHawk\IceHawk\Constants\HttpMethod | 1 | 0 | 0 | 0 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Defaults\Cookies | 1 | 1 | 3.75 | 3.75 | 0 | 0.02 | 0.15 |
IceHawk\IceHawk\Defaults\FinalReadResponder | 1 | 1 | 2 | 2 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Defaults\FinalWriteResponder | 1 | 1 | 2 | 2 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Defaults\IceHawkConfig | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Defaults\IceHawkDelegate | 1 | 1 | 0.67 | 0.67 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Defaults\RequestInfo | 2 | 2 | 24.54 | 23.54 | 1 | 0.42 | 0.22 |
IceHawk\IceHawk\Events\HandlingReadRequestEvent | 1 | 1 | 9.81 | 0.81 | 9 | 0.01 | 0.15 |
IceHawk\IceHawk\Events\HandlingWriteRequestEvent | 1 | 1 | 9.81 | 0.81 | 9 | 0.01 | 0.15 |
IceHawk\IceHawk\Events\IceHawkWasInitializedEvent | 1 | 1 | 2.67 | 2.67 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Events\InitializingIceHawkEvent | 1 | 1 | 2.67 | 2.67 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Events\ReadRequestWasHandledEvent | 1 | 1 | 9.81 | 0.81 | 9 | 0.01 | 0.15 |
IceHawk\IceHawk\Events\WriteRequestWasHandledEvent | 1 | 1 | 9.81 | 0.81 | 9 | 0.01 | 0.15 |
IceHawk\IceHawk\Exceptions\IceHawkException | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Exceptions\InvalidEventSubscriberCollection | 1 | 1 | 2.5 | 2.5 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Exceptions\UnresolvedRequest | 1 | 1 | 2.5 | 2.5 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\IceHawk | 4 | 2 | 324.07 | 0.07 | 324 | 0.11 | 0.68 |
IceHawk\IceHawk\Mappers\UploadedFilesMapper | 6 | 5 | 2.17 | 1.17 | 1 | 0.07 | 1.14 |
IceHawk\IceHawk\PubSub\AbstractEventSubscriber | 2 | 2 | 9.42 | 0.42 | 9 | 0.03 | 0.22 |
IceHawk\IceHawk\PubSub\EventPublisher | 4 | 3 | 4.22 | 0.22 | 4 | 0.01 | 0.52 |
IceHawk\IceHawk\PubSub\Exceptions\EventSubscriberMethodNotCallable | 1 | 1 | 2.5 | 2.5 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\PubSub\Exceptions\PubSubException | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 |
IceHawk\IceHawk\RequestHandlers\AbstractRequestHandler | 1 | 1 | 1.67 | 0.67 | 1 | 0.01 | 0.15 |
IceHawk\IceHawk\RequestHandlers\OptionsRequestHandler | 5 | 3 | 100.42 | 0.42 | 100 | 0.09 | 0.91 |
IceHawk\IceHawk\RequestHandlers\ReadRequestHandler | 1 | 1 | 196.15 | 0.15 | 196 | 0.08 | 0.15 |
IceHawk\IceHawk\RequestHandlers\WriteRequestHandler | 1 | 1 | 256.19 | 0.19 | 256 | 0.09 | 0.15 |
IceHawk\IceHawk\Requests\ReadRequest | 1 | 1 | 3.75 | 3.75 | 0 | 0.02 | 0.15 |
IceHawk\IceHawk\Requests\ReadRequestInput | 1 | 1 | 3 | 3 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Requests\UploadedFile | 3 | 2 | 7.27 | 6.27 | 1 | 0.13 | 0.51 |
IceHawk\IceHawk\Requests\WriteRequest | 1 | 1 | 3.75 | 3.75 | 0 | 0.02 | 0.15 |
IceHawk\IceHawk\Requests\WriteRequestInput | 3 | 2 | 6.63 | 2.63 | 4 | 0.09 | 0.29 |
IceHawk\IceHawk\Responses\MethodNotImplemented | 1 | 1 | 0.5 | 0.5 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Responses\Options | 1 | 1 | 0.5 | 0.5 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Routing\AbstractRouter | 2 | 2 | 1.83 | 0.83 | 1 | 0.01 | 0.22 |
IceHawk\IceHawk\Routing\Exceptions\RoutesAreNotTraversable | 1 | 0 | 0 | 0 | 0 | 0 | 0.15 |
IceHawk\IceHawk\Routing\OptionsRouter | 3 | 3 | 4.67 | 0.67 | 4 | 0.01 | 0.45 |
IceHawk\IceHawk\Routing\Patterns\Literal | 1 | 1 | 2.67 | 2.67 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Routing\Patterns\NamedRegExp | 4 | 4 | 3 | 3 | 0 | 0.05 | 0.52 |
IceHawk\IceHawk\Routing\Patterns\RegExp | 3 | 3 | 4 | 4 | 0 | 0.04 | 0.45 |
IceHawk\IceHawk\Routing\ReadRoute | 1 | 1 | 5.25 | 1.25 | 4 | 0.01 | 0.15 |
IceHawk\IceHawk\Routing\ReadRouteGroup | 7 | 6 | 25.97 | 0.97 | 25 | 0.05 | 0.98 |
IceHawk\IceHawk\Routing\ReadRouter | 5 | 5 | 36.29 | 0.29 | 36 | 0.02 | 0.52 |
IceHawk\IceHawk\Routing\RequestBypass | 2 | 2 | 5.93 | 1.93 | 4 | 0.03 | 0.22 |
IceHawk\IceHawk\Routing\RequestBypasser | 6 | 4 | 169.74 | 0.74 | 169 | 0.21 | 0.66 |
IceHawk\IceHawk\Routing\RouteRequest | 1 | 1 | 2.67 | 2.67 | 0 | 0.01 | 0.15 |
IceHawk\IceHawk\Routing\WriteRoute | 1 | 1 | 5.25 | 1.25 | 4 | 0.01 | 0.15 |
IceHawk\IceHawk\Routing\WriteRouteGroup | 7 | 6 | 26.13 | 1.13 | 25 | 0.05 | 0.98 |
IceHawk\IceHawk\Routing\WriteRouter | 5 | 5 | 36.29 | 0.29 | 36 | 0.02 | 0.52 |