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 5 10 15 20 Line Coverage (%) Cyclomatic Complexity Stewart\Client\Connection\Command\UpdateEntityRegistryEntry — Coverage: 90.5% | Lines: 21 | Complexity: 14 Stewart\Client\Connection\Command\GetHistoryDuringPeriod — Coverage: 92.3% | Lines: 13 | Complexity: 4 Stewart\Client\Connection\Command\CallService — Coverage: 90.9% | Lines: 11 | Complexity: 8 Stewart\Client\Connection\Command\Component\ReconcileExposedEntities — Coverage: 90.9% | Lines: 11 | Complexity: 4 Stewart\Client\Connection\Command\SubscribeTrigger — Coverage: 90.9% | Lines: 11 | Complexity: 5 Stewart\Client\Connection\Command\Component\SubscribeComponentSession — Coverage: 90.0% | Lines: 10 | Complexity: 4 Stewart\Client\Connection\Command\Component\UpsertExposedEntity — Coverage: 88.9% | Lines: 9 | Complexity: 4 Stewart\Client\Connection\Command\Component\AnswerComponentCommand — Coverage: 85.7% | Lines: 7 | Complexity: 5 Stewart\Client\Connection\Command\FireEvent — Coverage: 85.7% | Lines: 7 | Complexity: 5 Stewart\Client\Connection\Command\SubscribeEvents — Coverage: 85.7% | Lines: 7 | Complexity: 5 Stewart\Client\Connection\Command\Component\RemoveExposedEntity — Coverage: 75.0% | Lines: 4 | Complexity: 4 Stewart\Client\Connection\Command\Component\UpdateExposedEntityState — Coverage: 75.0% | Lines: 4 | Complexity: 4 Stewart\Client\Connection\Command\GetEntityRegistryEntry — Coverage: 50.0% | Lines: 4 | Complexity: 4 Stewart\Client\Connection\Command\UnsubscribeEvents — Coverage: 75.0% | Lines: 4 | Complexity: 4 Stewart\Client\Connection\Command\Component\GetComponentVersion — Coverage: 66.7% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetAreaRegistry — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetConfig — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetCurrentUser — Coverage: 66.7% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetDeviceRegistry — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetEntityRegistry — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetFloorRegistry — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetLabelRegistry — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetServices — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\GetStates — Coverage: 33.3% | Lines: 3 | Complexity: 3 Stewart\Client\Connection\Command\Authenticate — Coverage: 100.0% | Lines: 1 | Complexity: 2

Sorted by descending CRAP index.

Class CRAP Coverage
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry14.1790.5%
Stewart\Client\Connection\Command\GetAreaRegistry120.0%
Stewart\Client\Connection\Command\GetConfig120.0%
Stewart\Client\Connection\Command\GetDeviceRegistry120.0%
Stewart\Client\Connection\Command\GetEntityRegistry120.0%
Stewart\Client\Connection\Command\GetFloorRegistry120.0%
Stewart\Client\Connection\Command\GetLabelRegistry120.0%
Stewart\Client\Connection\Command\GetServices120.0%
Stewart\Client\Connection\Command\CallService8.0590.9%
Stewart\Client\Connection\Command\GetEntityRegistryEntry6.0050.0%
Stewart\Client\Connection\Command\GetStates5.6733.3%
Stewart\Client\Connection\Command\Component\AnswerComponentCommand5.0785.7%
Stewart\Client\Connection\Command\FireEvent5.0785.7%
Stewart\Client\Connection\Command\SubscribeEvents5.0785.7%
Stewart\Client\Connection\Command\SubscribeTrigger5.0290.9%
Stewart\Client\Connection\Command\Component\RemoveExposedEntity4.2575.0%
Stewart\Client\Connection\Command\Component\UpdateExposedEntityState4.2575.0%
Stewart\Client\Connection\Command\UnsubscribeEvents4.2575.0%
Stewart\Client\Connection\Command\Component\SubscribeComponentSession4.0290.0%
Stewart\Client\Connection\Command\Component\UpsertExposedEntity4.0288.9%
Stewart\Client\Connection\Command\Component\ReconcileExposedEntities4.0190.9%
Stewart\Client\Connection\Command\GetHistoryDuringPeriod4.0192.3%
Stewart\Client\Connection\Command\Component\GetComponentVersion3.3366.7%
Stewart\Client\Connection\Command\GetCurrentUser3.3366.7%
Stewart\Client\Connection\Command\Authenticate2100.0%

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 5 10 15 Line Coverage (%) Cyclomatic Complexity Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::toMessage — Coverage: 100.0% | Lines: 17 | Complexity: 10 Stewart\Client\Connection\Command\GetHistoryDuringPeriod::toMessage — Coverage: 100.0% | Lines: 10 | Complexity: 1 Stewart\Client\Connection\Command\CallService::toMessage — Coverage: 100.0% | Lines: 8 | Complexity: 5 Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::toMessage — Coverage: 100.0% | Lines: 8 | Complexity: 1 Stewart\Client\Connection\Command\Component\SubscribeComponentSession::toMessage — Coverage: 100.0% | Lines: 7 | Complexity: 1 Stewart\Client\Connection\Command\SubscribeTrigger::toMessage — Coverage: 100.0% | Lines: 7 | Complexity: 2 Stewart\Client\Connection\Command\Component\UpsertExposedEntity::toMessage — Coverage: 100.0% | Lines: 6 | Complexity: 1 Stewart\Client\Connection\Command\Component\AnswerComponentCommand::toMessage — Coverage: 100.0% | Lines: 4 | Complexity: 2 Stewart\Client\Connection\Command\FireEvent::toMessage — Coverage: 100.0% | Lines: 4 | Complexity: 2 Stewart\Client\Connection\Command\SubscribeEvents::toMessage — Coverage: 100.0% | Lines: 4 | Complexity: 2 Stewart\Client\Connection\Command\SubscribeTrigger::describe — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::__construct — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Client\Connection\Command\Authenticate::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\CallService::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\CallService::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\CallService::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\AnswerComponentCommand::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\AnswerComponentCommand::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\AnswerComponentCommand::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\GetComponentVersion::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\GetComponentVersion::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\GetComponentVersion::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\RemoveExposedEntity::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\RemoveExposedEntity::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\RemoveExposedEntity::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\RemoveExposedEntity::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\SubscribeComponentSession::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\SubscribeComponentSession::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\SubscribeComponentSession::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpsertExposedEntity::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpsertExposedEntity::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Component\UpsertExposedEntity::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\FireEvent::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\FireEvent::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\FireEvent::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetAreaRegistry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetAreaRegistry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetAreaRegistry::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetConfig::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetConfig::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetConfig::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetCurrentUser::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetCurrentUser::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetCurrentUser::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetDeviceRegistry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetDeviceRegistry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetDeviceRegistry::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistry::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistryEntry::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistryEntry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistryEntry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetEntityRegistryEntry::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetFloorRegistry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetFloorRegistry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetFloorRegistry::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetHistoryDuringPeriod::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetHistoryDuringPeriod::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetHistoryDuringPeriod::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetLabelRegistry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetLabelRegistry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetLabelRegistry::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetServices::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetServices::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetServices::toMessage — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetStates::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetStates::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\GetStates::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\SubscribeEvents::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\SubscribeEvents::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\SubscribeEvents::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\SubscribeTrigger::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\SubscribeTrigger::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\UnsubscribeEvents::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\UnsubscribeEvents::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\UnsubscribeEvents::describe — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\UnsubscribeEvents::toMessage — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::type — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Method CRAP Coverage
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::toMessage10100.0%
Stewart\Client\Connection\Command\CallService::toMessage5100.0%
Stewart\Client\Connection\Command\CallService::type20.0%
Stewart\Client\Connection\Command\Component\AnswerComponentCommand::type20.0%
Stewart\Client\Connection\Command\Component\AnswerComponentCommand::toMessage2100.0%
Stewart\Client\Connection\Command\Component\GetComponentVersion::type20.0%
Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::type20.0%
Stewart\Client\Connection\Command\Component\RemoveExposedEntity::type20.0%
Stewart\Client\Connection\Command\Component\SubscribeComponentSession::type20.0%
Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::type20.0%
Stewart\Client\Connection\Command\Component\UpsertExposedEntity::type20.0%
Stewart\Client\Connection\Command\FireEvent::type20.0%
Stewart\Client\Connection\Command\FireEvent::toMessage2100.0%
Stewart\Client\Connection\Command\GetAreaRegistry::type20.0%
Stewart\Client\Connection\Command\GetAreaRegistry::describe20.0%
Stewart\Client\Connection\Command\GetAreaRegistry::toMessage20.0%
Stewart\Client\Connection\Command\GetConfig::type20.0%
Stewart\Client\Connection\Command\GetConfig::describe20.0%
Stewart\Client\Connection\Command\GetConfig::toMessage20.0%
Stewart\Client\Connection\Command\GetCurrentUser::type20.0%
Stewart\Client\Connection\Command\GetDeviceRegistry::type20.0%
Stewart\Client\Connection\Command\GetDeviceRegistry::describe20.0%
Stewart\Client\Connection\Command\GetDeviceRegistry::toMessage20.0%
Stewart\Client\Connection\Command\GetEntityRegistry::type20.0%
Stewart\Client\Connection\Command\GetEntityRegistry::describe20.0%
Stewart\Client\Connection\Command\GetEntityRegistry::toMessage20.0%
Stewart\Client\Connection\Command\GetEntityRegistryEntry::type20.0%
Stewart\Client\Connection\Command\GetEntityRegistryEntry::describe20.0%
Stewart\Client\Connection\Command\GetFloorRegistry::type20.0%
Stewart\Client\Connection\Command\GetFloorRegistry::describe20.0%
Stewart\Client\Connection\Command\GetFloorRegistry::toMessage20.0%
Stewart\Client\Connection\Command\GetHistoryDuringPeriod::type20.0%
Stewart\Client\Connection\Command\GetLabelRegistry::type20.0%
Stewart\Client\Connection\Command\GetLabelRegistry::describe20.0%
Stewart\Client\Connection\Command\GetLabelRegistry::toMessage20.0%
Stewart\Client\Connection\Command\GetServices::type20.0%
Stewart\Client\Connection\Command\GetServices::describe20.0%
Stewart\Client\Connection\Command\GetServices::toMessage20.0%
Stewart\Client\Connection\Command\GetStates::type20.0%
Stewart\Client\Connection\Command\GetStates::describe20.0%
Stewart\Client\Connection\Command\SubscribeEvents::type20.0%
Stewart\Client\Connection\Command\SubscribeEvents::toMessage2100.0%
Stewart\Client\Connection\Command\SubscribeTrigger::type20.0%
Stewart\Client\Connection\Command\SubscribeTrigger::toMessage2100.0%
Stewart\Client\Connection\Command\UnsubscribeEvents::type20.0%
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::__construct2100.0%
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::type20.0%
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::describe20.0%
Stewart\Client\Connection\Command\Authenticate::__construct1100.0%
Stewart\Client\Connection\Command\Authenticate::toMessage1100.0%
Stewart\Client\Connection\Command\CallService::__construct1100.0%
Stewart\Client\Connection\Command\CallService::describe1100.0%
Stewart\Client\Connection\Command\Component\AnswerComponentCommand::__construct1100.0%
Stewart\Client\Connection\Command\Component\AnswerComponentCommand::describe1100.0%
Stewart\Client\Connection\Command\Component\GetComponentVersion::describe1100.0%
Stewart\Client\Connection\Command\Component\GetComponentVersion::toMessage1100.0%
Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::__construct1100.0%
Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::describe1100.0%
Stewart\Client\Connection\Command\Component\ReconcileExposedEntities::toMessage1100.0%
Stewart\Client\Connection\Command\Component\RemoveExposedEntity::__construct1100.0%
Stewart\Client\Connection\Command\Component\RemoveExposedEntity::describe1100.0%
Stewart\Client\Connection\Command\Component\RemoveExposedEntity::toMessage1100.0%
Stewart\Client\Connection\Command\Component\SubscribeComponentSession::__construct1100.0%
Stewart\Client\Connection\Command\Component\SubscribeComponentSession::describe1100.0%
Stewart\Client\Connection\Command\Component\SubscribeComponentSession::toMessage1100.0%
Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::__construct1100.0%
Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::describe1100.0%
Stewart\Client\Connection\Command\Component\UpdateExposedEntityState::toMessage1100.0%
Stewart\Client\Connection\Command\Component\UpsertExposedEntity::__construct1100.0%
Stewart\Client\Connection\Command\Component\UpsertExposedEntity::describe1100.0%
Stewart\Client\Connection\Command\Component\UpsertExposedEntity::toMessage1100.0%
Stewart\Client\Connection\Command\FireEvent::__construct1100.0%
Stewart\Client\Connection\Command\FireEvent::describe1100.0%
Stewart\Client\Connection\Command\GetCurrentUser::describe1100.0%
Stewart\Client\Connection\Command\GetCurrentUser::toMessage1100.0%
Stewart\Client\Connection\Command\GetEntityRegistryEntry::__construct1100.0%
Stewart\Client\Connection\Command\GetEntityRegistryEntry::toMessage1100.0%
Stewart\Client\Connection\Command\GetHistoryDuringPeriod::__construct1100.0%
Stewart\Client\Connection\Command\GetHistoryDuringPeriod::describe1100.0%
Stewart\Client\Connection\Command\GetHistoryDuringPeriod::toMessage1100.0%
Stewart\Client\Connection\Command\GetStates::toMessage1100.0%
Stewart\Client\Connection\Command\SubscribeEvents::__construct1100.0%
Stewart\Client\Connection\Command\SubscribeEvents::describe1100.0%
Stewart\Client\Connection\Command\SubscribeTrigger::__construct1100.0%
Stewart\Client\Connection\Command\SubscribeTrigger::describe1100.0%
Stewart\Client\Connection\Command\UnsubscribeEvents::__construct1100.0%
Stewart\Client\Connection\Command\UnsubscribeEvents::describe1100.0%
Stewart\Client\Connection\Command\UnsubscribeEvents::toMessage1100.0%