EncodingUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,311 of 4,66772%232 of 65565%1854172389241587
econvInitByConvpath(ThreadContext, IRubyObject, byte[][], Encoding[])2950%180%1010444411
strConvEncOpts(ThreadContext, RubyString, Encoding, Encoding, int, IRubyObject)1800%280%1515414111
transcodeLoop(ThreadContext, byte[], Ptr, byte[], Ptr, int, int, ByteList, EncodingUtils.ResizeFunction, byte[], byte[], int, IRubyObject)899652%161243%1015204301
econvOpts(ThreadContext, IRubyObject, int)8019771%162864%1123155201
econvPrepareOptions(ThreadContext, IRubyObject, IRubyObject[], int)588058%14836%812102901
ioStripBOM(ThreadContext, RubyIO)5514873%172459%1723123601
openArgsToArgs(Ruby, IRubyObject, RubyHash)500%20%229911
extractModeEncoding(ThreadContext, IOEncodable, Object, IRubyObject, int[], int[])4730086%153972%102866201
strTranscode0(ThreadContext, int, IRubyObject[], IRubyObject[], int, IRubyObject)4627886%113978%102655501
encCodepointLength(Ruby, byte[], int, int, int[], Encoding)410%60%447711
strCompatAndValid(ThreadContext, IRubyObject, Encoding)383548%4450%3541301
econvArgs(ThreadContext, IRubyObject[], byte[][], Encoding[], int[], IRubyObject[])3411277%91155%81263001
encAscget(byte[], int, int, int[], Encoding)322140%9325%6791401
ioExtractEncodingOption(ThreadContext, IOEncodable, IRubyObject, int[])2715585%83481%62224201
encCheckDuplication(ThreadContext, byte[])210%20%223311
parseModeEncoding(ThreadContext, IOEncodable, String, int[])1911586%11393%1823001
encReplicate(ThreadContext, byte[], Encoding)190%n/a113311
decorateConvpath(ThreadContext, IRubyObject, int)1510487%5964%5832401
encStrBufCat(Ruby, RubyString, ByteList, Encoding)130%n/a112211
encCrStrBufCat(Ruby, RubyString, byte[], int, int, Encoding, int, int[])1215693%54590%42644601
strConvEncOpts(ThreadContext, ByteList, Encoding, Encoding, int, IRubyObject)120%n/a113311
econvAppend(ThreadContext, EConv, ByteList, ByteList, int)1113592%6650%6733401
strBufCat(Ruby, RubyString, ByteList)100%n/a112211
encUintChr(ThreadContext, int, Encoding)91968%1150%121601
defineDummyEncoding(ThreadContext, byte[])90%n/a112211
strConvEnc(ThreadContext, RubyString, Encoding, Encoding)90%n/a111111
strConvEnc(ThreadContext, ByteList, 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
static {...}63686%3350%340901
toEncoding(ThreadContext, IRubyObject)51575%1150%121501
objEncoding(ThreadContext, IRubyObject)51271%1150%121401
validateEncodingBinmode(ThreadContext, int[], int, IOEncodable)46294%41680%41111301
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
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%22091%21204301
makeEConvExceptionSetEncs(RaiseException, Ruby, EConv)56100%2250%230901
ioExtIntToEncs(ThreadContext, IOEncodable, Encoding, Encoding, int)54100%16100%0901401
extractBinmode(Ruby, IRubyObject, int[])52100%11192%170901
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
rbEncSetDefaultExternal(ThreadContext, IRubyObject)30100%2100%020601
rbStrEncode(ThreadContext, IRubyObject, IRubyObject, int, IRubyObject)28100%n/a010301
ioSetEncodingByBOM(ThreadContext, RubyIO)26100%2100%020701
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
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
encCrStrBufCat(Ruby, RubyString, ByteList, Encoding, int, int[])13100%n/a010201
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
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