EncodingUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total903 of 4,66781%187 of 65571%1564171609241187
ioStripBOM(ThreadContext, RubyIO)1822110%3837%2123323601
strConvEncOpts(ThreadContext, RubyString, Encoding, Encoding, int, IRubyObject)1542614%22621%1415334101
openArgsToArgs(Ruby, IRubyObject, RubyHash)500%20%229911
extractModeEncoding(ThreadContext, IOEncodable, Object, IRubyObject, int[], int[])4929886%144074%102856201
strTranscode0(ThreadContext, int, IRubyObject[], IRubyObject[], int, IRubyObject)4627886%94182%82655501
econvInitByConvpath(ThreadContext, IRubyObject, byte[][], Encoding[])4624984%51372%51034401
encCodepointLength(Ruby, byte[], int, int, int[], Encoding)410%60%447711
strCompatAndValid(ThreadContext, IRubyObject, Encoding)383548%4450%3541301
parseModeEncoding(ThreadContext, IOEncodable, String, int[])3310175%21286%2853001
encUintChr(ThreadContext, int, Encoding)280%20%226611
econvOpts(ThreadContext, IRubyObject, int)2325492%63886%62355201
encCheckDuplication(ThreadContext, byte[])210%20%223311
encReplicate(ThreadContext, byte[], Encoding)190%n/a113311
ioSetEncodingByBOM(ThreadContext, RubyIO)17935%1150%123701
decorateConvpath(ThreadContext, IRubyObject, int)1510487%5964%5832401
ioExtractEncodingOption(ThreadContext, IOEncodable, IRubyObject, int[])1117194%83481%72234201
econvAppend(ThreadContext, EConv, ByteList, ByteList, int)1113592%5758%5733401
strBufCat(Ruby, RubyString, ByteList)100%n/a112211
defineDummyEncoding(ThreadContext, byte[])90%n/a112211
strConvEnc(ThreadContext, RubyString, Encoding, Encoding)90%n/a111111
rbStrBufCat(Ruby, RubyString, ByteList)90%20%223311
econvOpenOpts(ThreadContext, byte[], byte[], int, IRubyObject)86489%41071%4831701
encRegistered(byte[])80%20%221111
econvArgs(ThreadContext, IRubyObject[], byte[][], Encoding[], int[], IRubyObject[])614096%31785%31213001
encAscget(byte[], int, int, int[], Encoding)64789%5758%5731401
static {...}63686%3350%340901
econvPrepareOptions(ThreadContext, IRubyObject, IRubyObject[], int)513396%51777%41202901
rbEncSetDefaultExternal(ThreadContext, IRubyObject)52583%1150%121601
objEncoding(ThreadContext, IRubyObject)51271%1150%121401
extractBinmode(Ruby, IRubyObject, int[])44892%21083%271901
toEncodingIndex(ThreadContext, IRubyObject)42486%2467%242701
SET_UNIVERSAL_NEWLINE_DECORATOR_IF_ENC2(Encoding, int)4867%1375%131301
encGet(ThreadContext, IRubyObject)4764%1150%121301
defaultExternalEncoding(Ruby)4660%1150%121201
encCrStrBufCat(Ruby, RubyString, byte[], int, int, Encoding, int, int[])316598%24896%22614601
encAssociateIndex(IRubyObject, Encoding)33091%4660%3611001
EncodingUtils()30%n/a112211
econvCheckError(ThreadContext, EConv)880%1150%120301
rbStrBufCat(Ruby, RubyString, byte[], int, int)990%1150%120301
rbStrBufCat(Ruby, ByteList, byte[], int, int)889%1150%120301
makeEconvException(Ruby, EConv)321100%12195%11204301
transcodeLoop(ThreadContext, byte[], Ptr, byte[], Ptr, int, int, ByteList, EncodingUtils.ResizeFunction, byte[], byte[], int, IRubyObject)185100%22693%21504301
validateEncodingBinmode(ThreadContext, int[], int, IOEncodable)66100%31785%31101301
makeEConvExceptionSetEncs(RaiseException, Ruby, EConv)56100%2250%230901
ioExtIntToEncs(ThreadContext, IOEncodable, Encoding, Encoding, int)54100%11594%1901401
strTranscode(ThreadContext, IRubyObject[], IRubyObject[])46100%4100%030901
setStrBuf(Ruby, IRubyObject, int)39100%1583%1401101
moreOutputBuffer(ByteList, EncodingUtils.ResizeFunction, int, Ptr, Ptr, Ptr)32100%n/a010601
strTranscodeEncArgs(ThreadContext, IRubyObject, IRubyObject, IRubyObject, byte[][], Encoding[], byte[][], Encoding[])31100%2100%020601
rbStrEncode(ThreadContext, IRubyObject, IRubyObject, int, IRubyObject)28100%n/a010301
encSetDefaultEncoding(ThreadContext, Encoding[], IRubyObject, String)26100%1583%140801
encodedDup(ThreadContext, IRubyObject, IRubyObject, Encoding)25100%4100%030601
encArg(ThreadContext, IRubyObject, byte[][], Encoding[])24100%2100%020401
hashARef(Ruby, IRubyObject, String)22100%1583%140301
rbEncSetDefaultInternal(ThreadContext, IRubyObject)22100%n/a010401
toEncoding(ThreadContext, IRubyObject)20100%2100%020501
strEncode(ThreadContext, IRubyObject, IRubyObject[])20100%n/a010301
econvOpenExc(ThreadContext, byte[], byte[], int)19100%n/a010201
econvDescription(ThreadContext, byte[], byte[], int, String)19100%n/a010101
strBufCat(ByteList, byte[], int, int)19100%2100%020601
strEncodeAssociate(ThreadContext, IRubyObject, Encoding)18100%2100%020501
MODE_BTMODE(int, int, int, int)14100%4100%030501
DECORATOR_P(byte[], byte[])13100%2467%240101
encStrBufCat(Ruby, RubyString, ByteList, Encoding)13100%n/a010201
encCrStrBufCat(Ruby, RubyString, ByteList, Encoding, int, int[])13100%n/a010201
strConvEncOpts(ThreadContext, ByteList, Encoding, Encoding, int, IRubyObject)12100%n/a010301
rbToEncoding(ThreadContext, IRubyObject)11100%2100%020201
vmodeVperm(IRubyObject, IRubyObject)11100%n/a010101
encAsciicompat(Encoding)11100%4100%030101
ioEncStr(Ruby, IRubyObject, OpenFile)11100%n/a010301
encodingEqual(byte[], byte[])10100%n/a010101
encStrBufCat(Ruby, RubyString, byte[], int, int, Encoding)10100%n/a010201
strConvEnc(ThreadContext, ByteList, Encoding, Encoding)9100%n/a010101
strBufCat(Ruby, RubyString, byte[], int, int)9100%n/a010301
vmode(Object, IRubyObject)7100%n/a010201
vperm(Object, IRubyObject)7100%n/a010201
econvStrConvert(ThreadContext, EConv, ByteList, int)7100%n/a010101
econvSubstrAppend(ThreadContext, EConv, ByteList, ByteList, int)7100%n/a010101
encMbcput(int, byte[], int, Encoding)7100%n/a010201
vmode(Object)6100%n/a010101
vperm(Object)6100%n/a010101
econvPrepareOpts(ThreadContext, IRubyObject, IRubyObject[])6100%n/a010101
ioStripBOM(RubyIO)6100%n/a010101
econvAsciicompatEncoding(Encoding)5100%n/a010101
ascii8bitEncoding(Ruby)4100%n/a010101
encMbminlen(Encoding)3100%n/a010101
encDummy(Encoding)3100%n/a010101