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 50 100 150 Line Coverage (%) Cyclomatic Complexity Stewart\Client\HaClient — Coverage: 87.2% | Lines: 179 | Complexity: 104 Stewart\Client\Connection\HaConnection — Coverage: 88.4% | Lines: 172 | Complexity: 69 Stewart\Client\Component\ExposedEntityDefinition — Coverage: 94.6% | Lines: 56 | Complexity: 24 Stewart\Client\State\EntityStateDecoder — Coverage: 100.0% | Lines: 53 | Complexity: 25 Stewart\Client\Registry\RegistryDecoder — Coverage: 100.0% | Lines: 48 | Complexity: 11 Stewart\Client\Event\EventDecoder — Coverage: 95.0% | Lines: 40 | Complexity: 17 Stewart\Client\Registry\EntityRegistryEntry — Coverage: 100.0% | Lines: 39 | Complexity: 9 Stewart\Client\Connection\EventDelivery — Coverage: 94.4% | Lines: 36 | Complexity: 19 Stewart\Client\Component\ComponentCommand — Coverage: 100.0% | Lines: 31 | Complexity: 41 Stewart\Client\Exception\HaClientError — Coverage: 23.1% | Lines: 26 | Complexity: 26 Stewart\Client\Connection\HomeAssistantUrl — Coverage: 100.0% | Lines: 25 | Complexity: 16 Stewart\Client\Connection\Command\UpdateEntityRegistryEntry — Coverage: 90.5% | Lines: 21 | Complexity: 14 Stewart\Client\HaConfig — Coverage: 100.0% | Lines: 18 | Complexity: 15 Stewart\Client\Connection\MessageCorrelator — Coverage: 60.0% | Lines: 15 | Complexity: 7 Stewart\Client\Component\ComponentEventDecoder — Coverage: 100.0% | Lines: 14 | Complexity: 15 Stewart\Client\Connection\Command\GetHistoryDuringPeriod — Coverage: 92.3% | Lines: 13 | Complexity: 4 Stewart\Client\Component\ReconcileResultReader — Coverage: 100.0% | Lines: 11 | Complexity: 6 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\Registry\RegistryRow — Coverage: 63.6% | Lines: 11 | Complexity: 11 Stewart\Client\Connection\Command\Component\SubscribeComponentSession — Coverage: 90.0% | Lines: 10 | Complexity: 4 Stewart\Client\Component\ExposedEntitySnapshotReader — Coverage: 100.0% | Lines: 9 | Complexity: 7 Stewart\Client\Connection\Command\Component\UpsertExposedEntity — Coverage: 88.9% | Lines: 9 | Complexity: 4 Stewart\Client\Component\ExposedStateFields — Coverage: 0.0% | Lines: 8 | Complexity: 4 Stewart\Client\Component\ComponentVersion — Coverage: 100.0% | Lines: 7 | Complexity: 5 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\Component\ComponentInstance — Coverage: 80.0% | Lines: 5 | Complexity: 4 Stewart\Client\Exception\HaClientException — Coverage: 0.0% | Lines: 5 | 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\Component\ComponentCommandAnswer — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Client\Component\ExposedEntityAddress — Coverage: 0.0% | Lines: 3 | Complexity: 3 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\Registry\Collection\EntityRegistryCollection — Coverage: 0.0% | Lines: 3 | Complexity: 3 Stewart\Client\Component\ComponentErrorCode — Coverage: 100.0% | Lines: 2 | Complexity: 3 Stewart\Client\HaClientFactory — Coverage: 0.0% | Lines: 2 | Complexity: 2 Stewart\Client\Component\ComponentSessionRequest — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityReconcile — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\Command\Authenticate — Coverage: 100.0% | Lines: 1 | Complexity: 2 Stewart\Client\Connection\ConnectionConfig — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaSiteSettings — Coverage: 0.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Class CRAP Coverage
Stewart\Client\Exception\HaClientError333.6923.1%
Stewart\Client\HaClient126.9587.2%
Stewart\Client\Connection\HaConnection76.4988.4%
Stewart\Client\Component\ComponentCommand41100.0%
Stewart\Client\Exception\HaClientException300.0%
Stewart\Client\State\EntityStateDecoder25100.0%
Stewart\Client\Component\ExposedEntityDefinition24.0994.6%
Stewart\Client\Component\ExposedStateFields200.0%
Stewart\Client\Connection\EventDelivery19.0694.4%
Stewart\Client\Event\EventDecoder1795.0%
Stewart\Client\Registry\RegistryRow16.8263.6%
Stewart\Client\Connection\HomeAssistantUrl16100.0%
Stewart\Client\Component\ComponentEventDecoder15100.0%
Stewart\Client\HaConfig15100.0%
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry14.1790.5%
Stewart\Client\Component\ExposedEntityAddress120.0%
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\Registry\Collection\EntityRegistryCollection120.0%
Stewart\Client\Registry\RegistryDecoder11100.0%
Stewart\Client\Connection\MessageCorrelator10.1460.0%
Stewart\Client\Registry\EntityRegistryEntry9100.0%
Stewart\Client\Connection\Command\CallService8.0590.9%
Stewart\Client\Component\ExposedEntitySnapshotReader7100.0%
Stewart\Client\Component\ReconcileResultReader6100.0%
Stewart\Client\Connection\Command\GetEntityRegistryEntry6.0050.0%
Stewart\Client\HaClientFactory60.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\Component\ComponentVersion5100.0%
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\Component\ComponentInstance4.1380.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\Component\ComponentCommandAnswer3100.0%
Stewart\Client\Component\ComponentErrorCode3100.0%
Stewart\Client\Component\ComponentSessionRequest20.0%
Stewart\Client\Component\ExposedEntityReconcile20.0%
Stewart\Client\Connection\Command\Authenticate2100.0%
Stewart\Client\Connection\ConnectionConfig20.0%
Stewart\Client\HaSiteSettings20.0%
Stewart\Client\Component\Collection\ExposedEntityAddressCollection0100.0%
Stewart\Client\Component\ComponentCommandAction0100.0%
Stewart\Client\Component\ComponentProtocol0100.0%
Stewart\Client\Component\SessionEnded0100.0%
Stewart\Client\Component\SessionReplaced0100.0%
Stewart\Client\Connection\EnqueueOutcome0100.0%
Stewart\Client\HaCoreState0100.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 20 25 Line Coverage (%) Cyclomatic Complexity Stewart\Client\Connection\HaConnection::connect — Coverage: 100.0% | Lines: 26 | Complexity: 5 Stewart\Client\Component\ExposedEntityDefinition::listPlatformFields — Coverage: 100.0% | Lines: 20 | Complexity: 9 Stewart\Client\Exception\HaClientError::messageTemplate — Coverage: 0.0% | Lines: 20 | Complexity: 20 Stewart\Client\Connection\HaConnection::authenticate — Coverage: 78.9% | Lines: 19 | Complexity: 7 Stewart\Client\Connection\HaConnection::sendAndAwaitResponse — Coverage: 94.4% | Lines: 18 | Complexity: 4 Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::toMessage — Coverage: 100.0% | Lines: 17 | Complexity: 10 Stewart\Client\Event\EventDecoder::decodeStateChange — Coverage: 88.2% | Lines: 17 | Complexity: 6 Stewart\Client\Component\ExposedEntityDefinition::fromConfig — Coverage: 92.9% | Lines: 14 | Complexity: 5 Stewart\Client\State\EntityStateDecoder::decodeEntityStateOrSkip — Coverage: 100.0% | Lines: 14 | Complexity: 5 Stewart\Client\Component\ComponentCommand::readExposedCommand — Coverage: 100.0% | Lines: 13 | Complexity: 22 Stewart\Client\Event\EventDecoder::decodeEvent — Coverage: 100.0% | Lines: 13 | Complexity: 6 Stewart\Client\Registry\RegistryDecoder::decodeDeviceOrSkip — Coverage: 100.0% | Lines: 13 | Complexity: 2 Stewart\Client\State\EntityStateDecoder::decodeCompressedHistoryRowOrSkip — Coverage: 100.0% | Lines: 13 | Complexity: 3 Stewart\Client\Connection\HaConnection::defaultConnector — Coverage: 100.0% | Lines: 12 | Complexity: 2 Stewart\Client\Connection\HaConnection::handleConnectionLost — Coverage: 83.3% | Lines: 12 | Complexity: 4 Stewart\Client\Connection\HomeAssistantUrl::tryParse — Coverage: 100.0% | Lines: 12 | Complexity: 5 Stewart\Client\HaClient::toServiceCallException — Coverage: 100.0% | Lines: 12 | Complexity: 4 Stewart\Client\Registry\EntityRegistryEntry::fromArray — Coverage: 100.0% | Lines: 12 | Complexity: 1 Stewart\Client\Registry\EntityRegistryEntry::toArray — Coverage: 100.0% | Lines: 12 | Complexity: 3 Stewart\Client\Registry\EntityRegistryEntry::toRegisteredEntity — Coverage: 100.0% | Lines: 12 | Complexity: 2 Stewart\Client\Component\ExposedEntityDefinition::listActionFields — Coverage: 100.0% | Lines: 11 | Complexity: 2 Stewart\Client\Component\ReconcileResultReader::readRemovedEntityIds — Coverage: 100.0% | Lines: 11 | Complexity: 6 Stewart\Client\HaClient::callService — Coverage: 100.0% | Lines: 11 | Complexity: 4 Stewart\Client\HaClient::subscribeAllEvents — Coverage: 100.0% | Lines: 11 | Complexity: 4 Stewart\Client\Registry\RegistryDecoder::decodeAreaOrSkip — Coverage: 100.0% | Lines: 11 | Complexity: 2 Stewart\Client\Registry\RegistryDecoder::decodeFloorOrSkip — Coverage: 100.0% | Lines: 11 | Complexity: 3 Stewart\Client\Connection\Command\GetHistoryDuringPeriod::toMessage — Coverage: 100.0% | Lines: 10 | Complexity: 1 Stewart\Client\Connection\EventDelivery::deliverQueuedEvents — Coverage: 90.0% | Lines: 10 | Complexity: 5 Stewart\Client\HaClient::fetchHistory — Coverage: 100.0% | Lines: 10 | Complexity: 6 Stewart\Client\Registry\RegistryDecoder::decodeLabelOrSkip — Coverage: 100.0% | Lines: 10 | Complexity: 2 Stewart\Client\Component\ComponentEventDecoder::decodeCommand — Coverage: 100.0% | Lines: 9 | Complexity: 10 Stewart\Client\Component\ExposedEntitySnapshotReader::readUpsertResult — Coverage: 100.0% | Lines: 9 | Complexity: 7 Stewart\Client\Connection\HaConnection::receiveLoop — Coverage: 100.0% | Lines: 9 | Complexity: 5 Stewart\Client\Event\EventDecoder::decodeTriggerEvent — Coverage: 100.0% | Lines: 9 | Complexity: 4 Stewart\Client\HaClient::subscribeTrigger — Coverage: 100.0% | Lines: 9 | Complexity: 2 Stewart\Client\HaClient::subscribeComponentSession — Coverage: 100.0% | Lines: 9 | Complexity: 2 Stewart\Client\State\EntityStateDecoder::warnOncePerField — Coverage: 100.0% | Lines: 9 | Complexity: 3 Stewart\Client\Component\ExposedStateFields::formatStateChange — Coverage: 0.0% | Lines: 8 | Complexity: 4 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\HaConnection::subscribeEvents — Coverage: 100.0% | Lines: 8 | Complexity: 2 Stewart\Client\Connection\HaConnection::assertSuccess — Coverage: 87.5% | Lines: 8 | Complexity: 6 Stewart\Client\HaClient::toHistoryException — Coverage: 100.0% | Lines: 8 | Complexity: 6 Stewart\Client\HaClient::toRegistryEditException — Coverage: 100.0% | Lines: 8 | Complexity: 6 Stewart\Client\HaConfig::parseLocation — Coverage: 100.0% | Lines: 8 | Complexity: 8 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\EventDelivery::flush — Coverage: 100.0% | Lines: 7 | Complexity: 5 Stewart\Client\Connection\HaConnection::close — Coverage: 100.0% | Lines: 7 | Complexity: 1 Stewart\Client\Connection\HaConnection::dispatchMessage — Coverage: 71.4% | Lines: 7 | Complexity: 5 Stewart\Client\HaClient::getEntityRegistry — Coverage: 100.0% | Lines: 7 | Complexity: 4 Stewart\Client\HaClient::getRegistry — Coverage: 100.0% | Lines: 7 | Complexity: 1 Stewart\Client\Component\ExposedEntityDefinition::listCommonFields — Coverage: 100.0% | Lines: 6 | Complexity: 2 Stewart\Client\Connection\Command\Component\UpsertExposedEntity::toMessage — Coverage: 100.0% | Lines: 6 | Complexity: 1 Stewart\Client\Connection\EventDelivery::enqueue — Coverage: 100.0% | Lines: 6 | Complexity: 3 Stewart\Client\Connection\HaConnection::send — Coverage: 100.0% | Lines: 6 | Complexity: 2 Stewart\Client\Connection\HaConnection::openSocket — Coverage: 66.7% | Lines: 6 | Complexity: 3 Stewart\Client\Connection\HaConnection::dispatchEvent — Coverage: 100.0% | Lines: 6 | Complexity: 4 Stewart\Client\Connection\HaConnection::decodeMessage — Coverage: 50.0% | Lines: 6 | Complexity: 3 Stewart\Client\HaClient::getStates — Coverage: 0.0% | Lines: 6 | Complexity: 4 Stewart\Client\HaClient::getSiteSettings — Coverage: 100.0% | Lines: 6 | Complexity: 3 Stewart\Client\HaClient::answerComponentCommand — Coverage: 0.0% | Lines: 6 | Complexity: 3 Stewart\Client\HaClient::decodeRows — Coverage: 100.0% | Lines: 6 | Complexity: 4 Stewart\Client\HaClient::toEventFireException — Coverage: 100.0% | Lines: 6 | Complexity: 4 Stewart\Client\HaConfig::fromGetConfigResult — Coverage: 100.0% | Lines: 6 | Complexity: 4 Stewart\Client\State\EntityStateDecoder::parseInstantOrWarn — Coverage: 100.0% | Lines: 6 | Complexity: 5 Stewart\Client\State\EntityStateDecoder::parseEpochSecondsOrWarn — Coverage: 100.0% | Lines: 6 | Complexity: 4 Stewart\Client\Component\ComponentEventDecoder::decodeSessionEvent — Coverage: 100.0% | Lines: 5 | Complexity: 5 Stewart\Client\Component\ComponentVersion::fromVersionResult — Coverage: 100.0% | Lines: 5 | Complexity: 3 Stewart\Client\Connection\EventDelivery::close — Coverage: 80.0% | Lines: 5 | Complexity: 2 Stewart\Client\Connection\EventDelivery::enqueueDelivery — Coverage: 100.0% | Lines: 5 | Complexity: 2 Stewart\Client\Connection\HomeAssistantUrl::appendWebsocketPath — Coverage: 100.0% | Lines: 5 | Complexity: 5 Stewart\Client\Connection\MessageCorrelator::resolve — Coverage: 0.0% | Lines: 5 | Complexity: 2 Stewart\Client\Connection\MessageCorrelator::failAll — Coverage: 100.0% | Lines: 5 | Complexity: 2 Stewart\Client\HaClient::fireEvent — Coverage: 100.0% | Lines: 5 | Complexity: 3 Stewart\Client\HaClient::findComponentVersion — Coverage: 80.0% | Lines: 5 | Complexity: 4 Stewart\Client\HaClient::subscribe — Coverage: 100.0% | Lines: 5 | Complexity: 3 Stewart\Client\HaClient::sendUnlessUnknown — Coverage: 100.0% | Lines: 5 | Complexity: 4 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\HaConnection::decodeMessageOrLog — Coverage: 25.0% | Lines: 4 | Complexity: 2 Stewart\Client\Connection\HaConnection::convertCloseToLoss — Coverage: 100.0% | Lines: 4 | Complexity: 5 Stewart\Client\Connection\HomeAssistantUrl::parse — Coverage: 100.0% | Lines: 4 | Complexity: 1 Stewart\Client\HaClient::updateEntityRegistryEntry — Coverage: 100.0% | Lines: 4 | Complexity: 2 Stewart\Client\Registry\RegistryRow::readStrings — Coverage: 100.0% | Lines: 4 | Complexity: 3 Stewart\Client\Registry\RegistryRow::readAliasPhrases — Coverage: 0.0% | Lines: 4 | Complexity: 4 Stewart\Client\State\EntityStateDecoder::parseEntityIdOrWarn — Coverage: 100.0% | Lines: 4 | Complexity: 4 Stewart\Client\Component\ComponentCommand::readTimeCommand — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Client\Component\ComponentCommand::readDateCommand — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Client\Component\ComponentCommand::readDateTimeCommand — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Client\Component\ComponentInstance::parse — Coverage: 100.0% | Lines: 3 | Complexity: 2 Stewart\Client\Connection\HaConnection::__construct — Coverage: 100.0% | Lines: 3 | Complexity: 1 Stewart\Client\Connection\HaConnection::encodeMessage — Coverage: 33.3% | Lines: 3 | Complexity: 2 Stewart\Client\Connection\MessageCorrelator::expect — Coverage: 100.0% | Lines: 3 | Complexity: 1 Stewart\Client\Exception\HaClientError::isFatal — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Client\Exception\HaClientError::isCommandRefusal — Coverage: 100.0% | Lines: 3 | Complexity: 3 Stewart\Client\HaClient::getEntityRegistryEntry — Coverage: 100.0% | Lines: 3 | Complexity: 2 Stewart\Client\HaClient::upsertExposedAction — Coverage: 0.0% | Lines: 3 | Complexity: 2 Stewart\Client\HaClient::readEntityRegistryEntry — Coverage: 66.7% | Lines: 3 | Complexity: 3 Stewart\Client\HaConfig::parseTimeZone — Coverage: 100.0% | Lines: 3 | Complexity: 2 Stewart\Client\Component\ComponentCommand::readNumberCommand — Coverage: 100.0% | Lines: 2 | Complexity: 3 Stewart\Client\Component\ComponentCommand::readSelectCommand — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Client\Component\ComponentCommand::readTextCommand — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Client\Component\ComponentCommand::readStringValue — Coverage: 100.0% | Lines: 2 | Complexity: 2 Stewart\Client\Component\ComponentErrorCode::tryFromException — Coverage: 100.0% | Lines: 2 | Complexity: 3 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\EventDelivery::__construct — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Client\Connection\HaConnection::unsubscribeEvents — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Client\Connection\HaConnection::receiveMessage — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Client\HaClient::fromConnectionConfig — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Client\HaClient::getCurrentUserId — Coverage: 100.0% | Lines: 2 | Complexity: 3 Stewart\Client\HaClient::removeExposedEntity — Coverage: 0.0% | Lines: 2 | Complexity: 2 Stewart\Client\Registry\RegistryDecoder::skipRow — Coverage: 100.0% | Lines: 2 | Complexity: 1 Stewart\Client\Registry\RegistryRow::readString — Coverage: 100.0% | Lines: 2 | Complexity: 3 Stewart\Client\Component\ComponentCommand::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentCommandAnswer::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentCommandAnswer::accept — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentCommandAnswer::reject — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentInstance::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentInstance::__toString — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentSessionRequest::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentVersion::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ComponentVersion::isCompatible — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityAddress::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityAddress::toMessageFields — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityAddress::describe — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityDefinition::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityDefinition::withConfigOf — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityDefinition::isAction — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityDefinition::toMessageFields — Coverage: 100.0% | Lines: 1 | Complexity: 2 Stewart\Client\Component\ExposedEntityDefinition::dropNullFields — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Component\ExposedEntityReconcile::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 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 Stewart\Client\Connection\ConnectionConfig::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\EventDelivery::createDroppedException — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HaConnection::flushEvents — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HaConnection::sendIgnoringResult — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HaConnection::onDisconnect — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HaConnection::isConnected — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HomeAssistantUrl::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HomeAssistantUrl::reveal — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HomeAssistantUrl::__toString — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\HomeAssistantUrl::prefixScheme — Coverage: 100.0% | Lines: 1 | Complexity: 2 Stewart\Client\Connection\MessageCorrelator::nextId — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Connection\MessageCorrelator::forget — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Event\EventDecoder::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Exception\HaClientException::connectionDropped — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Exception\HaClientException::protocolViolation — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Exception\HaClientException::commandUnencodable — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Exception\HaClientException::findDetail — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Exception\HaClientException::findErrorCode — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::connect — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::close — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::isConnected — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::onDisconnect — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getHaVersion — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::flushEvents — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getAreaRegistry — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getFloorRegistry — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getLabelRegistry — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getDeviceRegistry — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getConfig — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getTimeZone — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::getServices — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::upsertExposedEntity — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::updateExposedEntityState — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::reconcileExposedEntities — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClient::unsubscribeEvents — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClientFactory::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaClientFactory::createClient — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaConfig::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\HaSiteSettings::__construct — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\Collection\EntityRegistryCollection::keyedByEntityId — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\Collection\EntityRegistryCollection::find — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\Collection\EntityRegistryCollection::toRegisteredEntities — Coverage: 0.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\EntityRegistryEntry::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\EntityRegistryEntry::isDisabled — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\EntityRegistryEntry::isHidden — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\RegistryDecoder::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\Registry\RegistryRow::readLabelIds — Coverage: 100.0% | Lines: 1 | Complexity: 1 Stewart\Client\State\EntityStateDecoder::__construct — Coverage: 100.0% | Lines: 1 | Complexity: 1

Sorted by descending CRAP index.

Method CRAP Coverage
Stewart\Client\Exception\HaClientError::messageTemplate4200.0%
Stewart\Client\Component\ComponentCommand::readExposedCommand22100.0%
Stewart\Client\Component\ExposedStateFields::formatStateChange200.0%
Stewart\Client\HaClient::getStates200.0%
Stewart\Client\Registry\RegistryRow::readAliasPhrases200.0%
Stewart\Client\HaClient::answerComponentCommand120.0%
Stewart\Client\Component\ComponentEventDecoder::decodeCommand10100.0%
Stewart\Client\Connection\Command\UpdateEntityRegistryEntry::toMessage10100.0%
Stewart\Client\Component\ExposedEntityDefinition::listPlatformFields9100.0%
Stewart\Client\HaConfig::parseLocation8100.0%
Stewart\Client\Connection\HaConnection::authenticate7.4678.9%
Stewart\Client\Component\ExposedEntitySnapshotReader::readUpsertResult7100.0%
Stewart\Client\Connection\HaConnection::assertSuccess6.0787.5%
Stewart\Client\Event\EventDecoder::decodeStateChange6.0688.2%
Stewart\Client\Component\ReconcileResultReader::readRemovedEntityIds6100.0%
Stewart\Client\Connection\MessageCorrelator::resolve60.0%
Stewart\Client\Event\EventDecoder::decodeEvent6100.0%
Stewart\Client\HaClient::fetchHistory6100.0%
Stewart\Client\HaClient::upsertExposedAction60.0%
Stewart\Client\HaClient::removeExposedEntity60.0%
Stewart\Client\HaClient::toHistoryException6100.0%
Stewart\Client\HaClient::toRegistryEditException6100.0%
Stewart\Client\Connection\HaConnection::dispatchMessage5.5871.4%
Stewart\Client\Connection\EventDelivery::deliverQueuedEvents5.0390.0%
Stewart\Client\Component\ExposedEntityDefinition::fromConfig5.0192.9%
Stewart\Client\Component\ComponentEventDecoder::decodeSessionEvent5100.0%
Stewart\Client\Connection\Command\CallService::toMessage5100.0%
Stewart\Client\Connection\EventDelivery::flush5100.0%
Stewart\Client\Connection\HaConnection::connect5100.0%
Stewart\Client\Connection\HaConnection::receiveLoop5100.0%
Stewart\Client\Connection\HaConnection::convertCloseToLoss5100.0%
Stewart\Client\Connection\HomeAssistantUrl::tryParse5100.0%
Stewart\Client\Connection\HomeAssistantUrl::appendWebsocketPath5100.0%
Stewart\Client\State\EntityStateDecoder::decodeEntityStateOrSkip5100.0%
Stewart\Client\State\EntityStateDecoder::parseInstantOrWarn5100.0%
Stewart\Client\HaClient::findComponentVersion4.1380.0%
Stewart\Client\Connection\HaConnection::decodeMessage4.1250.0%
Stewart\Client\Connection\HaConnection::handleConnectionLost4.0783.3%
Stewart\Client\Connection\HaConnection::sendAndAwaitResponse4.0094.4%
Stewart\Client\Connection\HaConnection::dispatchEvent4100.0%
Stewart\Client\Event\EventDecoder::decodeTriggerEvent4100.0%
Stewart\Client\HaClient::getEntityRegistry4100.0%
Stewart\Client\HaClient::callService4100.0%
Stewart\Client\HaClient::subscribeAllEvents4100.0%
Stewart\Client\HaClient::decodeRows4100.0%
Stewart\Client\HaClient::sendUnlessUnknown4100.0%
Stewart\Client\HaClient::toServiceCallException4100.0%
Stewart\Client\HaClient::toEventFireException4100.0%
Stewart\Client\HaConfig::fromGetConfigResult4100.0%
Stewart\Client\State\EntityStateDecoder::parseEntityIdOrWarn4100.0%
Stewart\Client\State\EntityStateDecoder::parseEpochSecondsOrWarn4100.0%
Stewart\Client\Connection\HaConnection::decodeMessageOrLog3.6925.0%
Stewart\Client\Connection\HaConnection::openSocket3.3366.7%
Stewart\Client\HaClient::readEntityRegistryEntry3.3366.7%
Stewart\Client\Connection\HaConnection::encodeMessage3.1933.3%
Stewart\Client\Component\ComponentCommand::readNumberCommand3100.0%
Stewart\Client\Component\ComponentCommand::readTimeCommand3100.0%
Stewart\Client\Component\ComponentCommand::readDateCommand3100.0%
Stewart\Client\Component\ComponentCommand::readDateTimeCommand3100.0%
Stewart\Client\Component\ComponentErrorCode::tryFromException3100.0%
Stewart\Client\Component\ComponentVersion::fromVersionResult3100.0%
Stewart\Client\Connection\EventDelivery::enqueue3100.0%
Stewart\Client\Exception\HaClientError::isFatal3100.0%
Stewart\Client\Exception\HaClientError::isCommandRefusal3100.0%
Stewart\Client\HaClient::getCurrentUserId3100.0%
Stewart\Client\HaClient::getSiteSettings3100.0%
Stewart\Client\HaClient::fireEvent3100.0%
Stewart\Client\HaClient::subscribe3100.0%
Stewart\Client\Registry\EntityRegistryEntry::toArray3100.0%
Stewart\Client\Registry\RegistryDecoder::decodeFloorOrSkip3100.0%
Stewart\Client\Registry\RegistryRow::readString3100.0%
Stewart\Client\Registry\RegistryRow::readStrings3100.0%
Stewart\Client\State\EntityStateDecoder::decodeCompressedHistoryRowOrSkip3100.0%
Stewart\Client\State\EntityStateDecoder::warnOncePerField3100.0%
Stewart\Client\Connection\EventDelivery::close2.0380.0%
Stewart\Client\Component\ComponentCommand::readSelectCommand2100.0%
Stewart\Client\Component\ComponentCommand::readTextCommand2100.0%
Stewart\Client\Component\ComponentCommand::readStringValue2100.0%
Stewart\Client\Component\ComponentInstance::parse2100.0%
Stewart\Client\Component\ComponentInstance::__toString20.0%
Stewart\Client\Component\ComponentSessionRequest::__construct20.0%
Stewart\Client\Component\ExposedEntityAddress::__construct20.0%
Stewart\Client\Component\ExposedEntityAddress::toMessageFields20.0%
Stewart\Client\Component\ExposedEntityAddress::describe20.0%
Stewart\Client\Component\ExposedEntityDefinition::withConfigOf20.0%
Stewart\Client\Component\ExposedEntityDefinition::isAction20.0%
Stewart\Client\Component\ExposedEntityDefinition::toMessageFields2100.0%
Stewart\Client\Component\ExposedEntityDefinition::listCommonFields2100.0%
Stewart\Client\Component\ExposedEntityDefinition::listActionFields2100.0%
Stewart\Client\Component\ExposedEntityReconcile::__construct20.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\ConnectionConfig::__construct20.0%
Stewart\Client\Connection\EventDelivery::enqueueDelivery2100.0%
Stewart\Client\Connection\HaConnection::send2100.0%
Stewart\Client\Connection\HaConnection::subscribeEvents2100.0%
Stewart\Client\Connection\HaConnection::defaultConnector2100.0%
Stewart\Client\Connection\HomeAssistantUrl::prefixScheme2100.0%
Stewart\Client\Connection\MessageCorrelator::forget20.0%
Stewart\Client\Connection\MessageCorrelator::failAll2100.0%
Stewart\Client\Exception\HaClientException::connectionDropped20.0%
Stewart\Client\Exception\HaClientException::protocolViolation20.0%
Stewart\Client\Exception\HaClientException::commandUnencodable20.0%
Stewart\Client\Exception\HaClientException::findDetail20.0%
Stewart\Client\Exception\HaClientException::findErrorCode20.0%
Stewart\Client\HaClient::getEntityRegistryEntry2100.0%
Stewart\Client\HaClient::updateEntityRegistryEntry2100.0%
Stewart\Client\HaClient::getServices20.0%
Stewart\Client\HaClient::subscribeTrigger2100.0%
Stewart\Client\HaClient::subscribeComponentSession2100.0%
Stewart\Client\HaClient::upsertExposedEntity20.0%
Stewart\Client\HaClient::updateExposedEntityState20.0%
Stewart\Client\HaClient::reconcileExposedEntities20.0%
Stewart\Client\HaClientFactory::__construct20.0%
Stewart\Client\HaClientFactory::createClient20.0%
Stewart\Client\HaConfig::parseTimeZone2100.0%
Stewart\Client\HaSiteSettings::__construct20.0%
Stewart\Client\Registry\Collection\EntityRegistryCollection::keyedByEntityId20.0%
Stewart\Client\Registry\Collection\EntityRegistryCollection::find20.0%
Stewart\Client\Registry\Collection\EntityRegistryCollection::toRegisteredEntities20.0%
Stewart\Client\Registry\EntityRegistryEntry::toRegisteredEntity2100.0%
Stewart\Client\Registry\RegistryDecoder::decodeAreaOrSkip2100.0%
Stewart\Client\Registry\RegistryDecoder::decodeLabelOrSkip2100.0%
Stewart\Client\Registry\RegistryDecoder::decodeDeviceOrSkip2100.0%
Stewart\Client\Component\ComponentCommand::__construct1100.0%
Stewart\Client\Component\ComponentCommandAnswer::__construct1100.0%
Stewart\Client\Component\ComponentCommandAnswer::accept1100.0%
Stewart\Client\Component\ComponentCommandAnswer::reject1100.0%
Stewart\Client\Component\ComponentInstance::__construct1100.0%
Stewart\Client\Component\ComponentVersion::__construct1100.0%
Stewart\Client\Component\ComponentVersion::isCompatible1100.0%
Stewart\Client\Component\ExposedEntityDefinition::__construct1100.0%
Stewart\Client\Component\ExposedEntityDefinition::dropNullFields1100.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%
Stewart\Client\Connection\EventDelivery::__construct1100.0%
Stewart\Client\Connection\EventDelivery::createDroppedException1100.0%
Stewart\Client\Connection\HaConnection::__construct1100.0%
Stewart\Client\Connection\HaConnection::flushEvents1100.0%
Stewart\Client\Connection\HaConnection::unsubscribeEvents1100.0%
Stewart\Client\Connection\HaConnection::sendIgnoringResult1100.0%
Stewart\Client\Connection\HaConnection::onDisconnect1100.0%
Stewart\Client\Connection\HaConnection::isConnected1100.0%
Stewart\Client\Connection\HaConnection::close1100.0%
Stewart\Client\Connection\HaConnection::receiveMessage1100.0%
Stewart\Client\Connection\HomeAssistantUrl::__construct1100.0%
Stewart\Client\Connection\HomeAssistantUrl::parse1100.0%
Stewart\Client\Connection\HomeAssistantUrl::reveal1100.0%
Stewart\Client\Connection\HomeAssistantUrl::__toString1100.0%
Stewart\Client\Connection\MessageCorrelator::nextId1100.0%
Stewart\Client\Connection\MessageCorrelator::expect1100.0%
Stewart\Client\Event\EventDecoder::__construct1100.0%
Stewart\Client\HaClient::__construct1100.0%
Stewart\Client\HaClient::fromConnectionConfig1100.0%
Stewart\Client\HaClient::connect1100.0%
Stewart\Client\HaClient::close1100.0%
Stewart\Client\HaClient::isConnected1100.0%
Stewart\Client\HaClient::onDisconnect1100.0%
Stewart\Client\HaClient::getHaVersion1100.0%
Stewart\Client\HaClient::flushEvents1100.0%
Stewart\Client\HaClient::getAreaRegistry1100.0%
Stewart\Client\HaClient::getFloorRegistry1100.0%
Stewart\Client\HaClient::getLabelRegistry1100.0%
Stewart\Client\HaClient::getDeviceRegistry1100.0%
Stewart\Client\HaClient::getRegistry1100.0%
Stewart\Client\HaClient::getConfig1100.0%
Stewart\Client\HaClient::getTimeZone1100.0%
Stewart\Client\HaClient::unsubscribeEvents1100.0%
Stewart\Client\HaConfig::__construct1100.0%
Stewart\Client\Registry\EntityRegistryEntry::__construct1100.0%
Stewart\Client\Registry\EntityRegistryEntry::isDisabled1100.0%
Stewart\Client\Registry\EntityRegistryEntry::isHidden1100.0%
Stewart\Client\Registry\EntityRegistryEntry::fromArray1100.0%
Stewart\Client\Registry\RegistryDecoder::__construct1100.0%
Stewart\Client\Registry\RegistryDecoder::skipRow1100.0%
Stewart\Client\Registry\RegistryRow::readLabelIds1100.0%
Stewart\Client\State\EntityStateDecoder::__construct1100.0%