KingsongProtocol

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,604 of 3,23150%221 of 35137%1782362154712545
createCommand(CommandType, Object)4400%800%5050585811
matchesQueryResponse(ProtocolQuerySpec, byte[])1270%300%1717131311
getBMSData()1220%180%1010161611
getPollingPlan()1090%n/a11333311
buildWheelParamCommand(int, int)1080%n/a11101011
buildAlarmSpeedCommand(int, int, int, int)1070%n/a11111111
buildLegacyCommand(int, int, int, int)1070%n/a11111111
buildStandbyCommand(int)1030%n/a119911
parseTypeA4B5(byte[], int)690%80%559911
parseTypeB3(byte[], int)570%40%337711
isDeviceReady(EUCData)390%120%774411
parseTypeA9(byte[], int)3433690%222654%222536201
processFrame(byte[])279978%91359%81251601
parseFrame(byte[])2412083%111862%101952701
buildLegacyCommand$default(KingsongProtocol, int, int, int, int, int, Object)220%n/a114411
buildBmsQuery(int)180%n/a115511
estimateBatteryPercent(double)120%n/a111111
parseTypeBB(byte[], int)1011191%4660%4631701
unpacker$lambda$2$findHeaderIndex$default(KingsongProtocol, int, int, Object)90%n/a111111
parseTypeB9(byte[], int)811393%9743%91031701
getServiceUUID()60%n/a111111
getDataCharacteristicUUID()60%n/a111111
byteParser$lambda$3(KingsongProtocol)50%n/a112211
decode(byte[])43188%2250%230401
getCommandSupport(CommandType)40%n/a111111
matchesDeviceName(String)40%n/a111111
parseTypeBMS(byte[], int, int)19698%61672%61303301
getScope$euc_ble_core()0%n/a111111
getSupportedCommandTypes()0%n/a111111
getRawFrameFlow()0%n/a111111
getCandidateDataCharacteristicUUIDs()0%n/a111111
getWriteCharacteristicUUID()0%n/a111111
getCombinedCellVoltages()3794%1583%140501
parseTypeF5(byte[], int)4097%2250%230601
parseTypeF6(byte[], int)2195%1150%120301
ensureRange(byte[], int, int)1191%2250%230101
KingsongProtocol(CoroutineScope)208100%n/a0104501
unpacker$lambda$2(KingsongProtocol, byte)169100%18100%01002301
unpacker$lambda$2$findHeaderIndex(KingsongProtocol, int)72100%12100%0701001
deriveRideTimeSeconds(long)25100%2100%020201
close()18100%n/a010401
KingsongProtocol(CoroutineScope, int, DefaultConstructorMarker)11100%n/a010101
getManufacturer()100%n/a010101
getDataFlow()100%n/a010101
getWriteFlow()100%n/a010101