Percentage | Lines | ||
---|---|---|---|
Connect |
|
84 % | 116 |
WritableContent |
|
85 % | 115 |
PacketIdentifierFunctionality |
|
94 % | 93 |
Utilities |
|
97 % | 142 |
Publish |
|
98 % | 375 |
ProtocolBase |
|
100 % | 32 |
TopicFilter |
|
100 % | 84 |
TopicFilterFunctionality |
|
100 % | 62 |
Message |
|
100 % | 110 |
NonMatchingPacketIdentifiers |
|
100 % | 32 |
CRAP Score | Lines | ||
---|---|---|---|
ConnAck::throwConnectException() | 6 | 19 | |
Connect::expectAnswer() | 4 | 19 | |
Publish::createVariableHeaderFlags() | 4 | 25 | |
Publish::analyzeFirstByte() | 4 | 21 | |
Utilities::formatRemainingLengthOutput() | 4 | 19 | |
ClientId::performStrictValidationCheck() | 4 | 18 | |
Subscribe::loop() | 4 | 28 | |
GeneralTopicRules::generalRulesCheck() | 4 | 16 | |
Publish::expectAnswer() | 4 | 14 | |
BrokerPort::__construct() | 4 | 18 | |