InMotionProtocol

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total902 of 5,38983%277 of 75263%255461778391474
createCommand(CommandType, Object)1778432%211440%1923203301
getBMSData()9428575%324055%253715501
parseRealTimeV14(byte[], byte[])5354691%294761%253938801
createV1Command(CommandType, Object)450%130%10107711
buildV1LightFrame(boolean)440%20%221111
buildV1LockFrame(boolean)440%20%222211
buildV1HornFrame()400%n/a111111
isDeviceReady(EUCData)360%110%775511
parseMainInfo(byte[])2920487%254162%223513601
buildV1FastInfoFrame()250%20%221111
matchesQueryResponse(ProtocolQuerySpec, byte[])234465%14422%10113701
unescapeNBytes(List, int, int)224868%5550%4631401
setDialect(int)220%20%225511
parseLegacyRealtime(byte[])1925192%101864%101505401
parseRealTimeV12(byte[], byte[])1838495%101661%101407001
getServiceUUID()180%20%224411
getDataCharacteristicUUID()180%20%224411
getCandidateDataCharacteristicUUIDs()160%n/a114411
decodeLegacyFirmware(byte[])155277%4450%4541501
parseTotalStats(byte[])129889%121250%121301001
extractV2Frames(byte[])1124995%63083%61923901
matchesCustomQueryResponse(ProtocolQuerySpec, int, byte[])1110590%111760%111501401
updateBmsSnapshot(Double, Double, List, List, List, Map)914994%72779%71801301
buildV1Frame(int, byte[])913993%2675%2502101
parseV2Frame(byte[])911992%41881%41202901
parseLegacyFrame(byte[])75388%4763%4701101
decodeTotalMeters(byte[])73282%3562%350401
findChecksumIndex(List, int, int)64287%4866%4701201
decodeLegacySerial(byte[])63183%3350%340301
getWriteCharacteristicUUID()61266%1150%122401
getCombinedCellVoltages(InMotionProtocol.InMotionBmsSnapshot)55191%41071%480701
mapLegacyModel(int)5550%3125%343501
parseBatteryInfo(byte[])8395%41071%4801601
decode(byte[])7895%21083%2701401
parseV14PackCells(byte[])7194%2675%2501201
getCommandSupport(CommandType)0%n/a111111
matchesDeviceName(String)0%n/a111111
getPollingPlan()15998%1150%1216401
parseLegacyInfo(byte[])2890%2250%230501
getSupportedCommandTypes()0%n/a111111
getRawFrameFlow()0%n/a111111
isLikelyLegacyChunk(byte[])8597%42284%4140801
isLikelyV2Chunk(byte[])5596%21487%290601
findTail(List)4095%1787%150401
parseV14PackCellsResponse(int, byte[])3093%1150%120401
allowsActivePolling()787%1150%120101
extractLegacyFrames(byte[])151100%20100%01102101
InMotionProtocol(Logger)139100%n/a0102801
buildMessage(int, int, byte[])84100%8100%0501001
static {...}60100%n/a010801
isValidChecksumEscaped(List, int, int)56100%1787%1501001
unescapeRange(List, int, int)48100%1583%1401001
findHeader(List)42100%8100%050401
updateBmsSnapshot$default(InMotionProtocol, Double, Double, List, List, List, Map, int, Object)39100%n/a010701
enqueueP6StatsQueryIfDue(boolean)36100%2675%250601
buildV1PasswordFrame(String)27100%2100%020301
v1WriteEscaped(ByteArrayOutputStream, byte)26100%2466%240601
deriveV2RideTimeSeconds(long)25100%2100%020201
decodeLegacySerial$lambda$8(byte)23100%n/a010101
buildV14PackCellsQuery(int)18100%n/a010101
isPrefixedTotalStatsEncoding(byte[])15100%1375%130101
parseRealTime(byte[], byte[])13100%2100%020301
InMotionProtocol(Logger, int, DefaultConstructorMarker)12100%n/a010101
enqueueP6StatsQueryIfDue$default(InMotionProtocol, boolean, int, Object)9100%n/a010101
buildV1PinFrame$default(InMotionProtocol, String, int, Object)9100%n/a010101
decodeTemperature(byte)8100%n/a010101
isV12Model()5100%n/a010101
decodeP6SignedOffset80Temperature(int)5100%n/a010101
buildV1FactoryPasswordFrame()100%n/a010101
buildV1PinFrame(String)100%n/a010101
getManufacturer()100%n/a010101
getDataFlow()100%n/a010101
getWriteFlow()100%n/a010101
close()100%n/a010101