MojibusterEncodingDetector

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total104 of 1,01989%25 of 16084%2810724196627
upgradeIsoToWindows(List)203261%3350%2461301
withMaxProbeBytes(int)170%20%223311
upgradeGbToGb18030(List)144074%3562%3521101
getEnabledRules()110%20%221111
withRules(EnumSet)90%n/a111111
MojibusterEncodingDetector(Path)80%n/a113311
MojibusterEncodingDetector(JsonConfig)70%n/a112211
singleResult(String, float, EncodingResult.ResultType, int)41680%2250%232601
selectAtLeast(LinearModel, float[], int)39897%3770%3601601
MojibusterEncodingDetector(LinearModel, EnumSet, int)32388%1150%120601
labelToCharset(String)3975%n/a012401
getModel()30%n/a111111
detect(TikaInputStream, Metadata, ParseContext)21588%1150%121501
stripBom(byte[])153100%40100%02101101
runModel(byte[], boolean, int)101100%51979%51301901
selectByLogitGap(LinearModel, float[], int)86100%1990%1601501
refineCjkResults(byte[], List)64100%12100%0701901
static {...}58100%n/a0101301
detectAll(byte[], int)56100%21083%2701301
readProbe(TikaInputStream, int)52100%6100%0401201
applyStructuralRules(byte[])47100%12100%0701201
hasNullBytes(byte[])22100%4100%030401
lambda$selectAtLeast$0(float[], int[], int[])12100%n/a010101
isPureAscii(byte[])10100%4100%030101
MojibusterEncodingDetector(MojibusterEncodingDetector.Config)9100%n/a010301
MojibusterEncodingDetector()6100%n/a010201
lambda$selectByLogitGap$1(EncodingResult, EncodingResult)6100%n/a010101