Classes

Line coverage against cyclomatic complexity. Bubble size is the number of executable lines; hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 10 20 30 Line Coverage (%) Cyclomatic Complexity Stewart\Runtime\Http\Admin\AdminRequestHandler — Coverage: 85.4% | Lines: 41 | Complexity: 26 Stewart\Runtime\Http\AmpHttpListener — Coverage: 100.0% | Lines: 14 | Complexity: 3 Stewart\Runtime\Http\Admin\AdminRoute — Coverage: 100.0% | Lines: 12 | Complexity: 7 Stewart\Runtime\Http\HttpListenerFactory — Coverage: 100.0% | Lines: 10 | Complexity: 4 Stewart\Runtime\Http\ProbeRequestHandler — Coverage: 100.0% | Lines: 10 | Complexity: 5 Stewart\Runtime\Http\Admin\AdminAction — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Runtime\Http\Admin\AdminApiCodec — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Runtime\Http\HttpListenerRole — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Runtime\Http\Admin\Response\AdminAppView — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Runtime\Http\Admin\Response\AdminAppList — Coverage: 0.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Methods

Line coverage against cyclomatic complexity. Bubble size is the number of executable lines; hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 2 4 6 8 10 Line Coverage (%) Cyclomatic Complexity Stewart\Runtime\Http\Admin\AdminRequestHandler::handleRequest — Coverage: 85.0% | Lines: 20 | Complexity: 7 Stewart\Runtime\Http\AmpHttpListener::start — Coverage: 100.0% | Lines: 11 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminRoute::fromPath — Coverage: 100.0% | Lines: 10 | Complexity: 5 Stewart\Runtime\Http\HttpListenerFactory::createHttpListeners — Coverage: 100.0% | Lines: 9 | Complexity: 3 Stewart\Runtime\Http\ProbeRequestHandler::handleRequest — Coverage: 100.0% | Lines: 9 | Complexity: 4 Stewart\Runtime\Http\Admin\AdminRequestHandler::answerRoute — Coverage: 100.0% | Lines: 8 | Complexity: 8 Stewart\Runtime\Http\Admin\AdminRequestHandler::isAuthorized — Coverage: 100.0% | Lines: 4 | Complexity: 3 Stewart\Runtime\Http\Admin\AdminRequestHandler::respondWithFailure — Coverage: 25.0% | Lines: 4 | Complexity: 2 Stewart\Runtime\Http\Admin\AdminAction::listAllowedMethods — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Runtime\Http\Admin\AdminRequestHandler::selectFailureStatus — Coverage: 100.0% | Lines: 3 | Complexity: 4 Stewart\Runtime\Http\HttpListenerRole::listAllowedMethods — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Runtime\Http\AmpHttpListener::stop — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminApiCodec::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminApiCodec::createAdminApiWireMapper — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminApiCodec::encodeResponse — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminRequestHandler::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminRequestHandler::respond — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminRoute::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\AdminRoute::allowsMethod — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\Response\AdminAppList::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\Response\AdminAppView::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\Admin\Response\AdminAppView::fromAppStatus — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\AmpHttpListener::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\HttpListenerFactory::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Runtime\Http\ProbeRequestHandler::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Method CRAP Coverage
Stewart\Runtime\Http\HttpListenerRole::listAllowedMethods120.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::answerRoute8100.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::handleRequest7.1785.0%
Stewart\Runtime\Http\Admin\AdminRoute::fromPath5100.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::selectFailureStatus4100.0%
Stewart\Runtime\Http\ProbeRequestHandler::handleRequest4100.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::respondWithFailure3.6925.0%
Stewart\Runtime\Http\Admin\AdminAction::listAllowedMethods3100.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::isAuthorized3100.0%
Stewart\Runtime\Http\HttpListenerFactory::createHttpListeners3100.0%
Stewart\Runtime\Http\Admin\Response\AdminAppList::__construct20.0%
Stewart\Runtime\Http\Admin\AdminApiCodec::__construct1100.0%
Stewart\Runtime\Http\Admin\AdminApiCodec::createAdminApiWireMapper1100.0%
Stewart\Runtime\Http\Admin\AdminApiCodec::encodeResponse1100.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::__construct1100.0%
Stewart\Runtime\Http\Admin\AdminRequestHandler::respond1100.0%
Stewart\Runtime\Http\Admin\AdminRoute::__construct1100.0%
Stewart\Runtime\Http\Admin\AdminRoute::allowsMethod1100.0%
Stewart\Runtime\Http\Admin\Response\AdminAppView::__construct1100.0%
Stewart\Runtime\Http\Admin\Response\AdminAppView::fromAppStatus1100.0%
Stewart\Runtime\Http\AmpHttpListener::__construct1100.0%
Stewart\Runtime\Http\AmpHttpListener::start1100.0%
Stewart\Runtime\Http\AmpHttpListener::stop1100.0%
Stewart\Runtime\Http\HttpListenerFactory::__construct1100.0%
Stewart\Runtime\Http\ProbeRequestHandler::__construct1100.0%