RubyIO

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,619 of 10,33165%620 of 1,33754%5309476062,01083261
popen(ThreadContext, IRubyObject, IRubyObject[], Block)236166%2428%1415444701
eachCodePointCommon(ThreadContext, Block, String)14313649%211134%1317224301
updateIOOptionsFromOptions(ThreadContext, RubyHash, IOOptions)1420%280%1515262611
popen3_19(ThreadContext, IRubyObject, IRubyObject[], Block)1140%60%44161611
ungetc(ThreadContext, IRubyObject)1076036%10844%710142801
write19(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject, RubyHash)1050%120%77171711
copy_stream(ThreadContext, IRubyObject, IRubyObject[])10129775%163669%1227157401
setupPopen(ModeFlags, ShellLauncher.POpenProcess)1010%100%66202011
reopenIO(ThreadContext, RubyIO)9617765%293353%2332135401
popenSpecial(ThreadContext, IRubyObject[])930%60%44202011
ctl(Ruby, IRubyObject, IRubyObject)922823%21519%1314172301
transfer(ThreadContext, ReadableByteChannel, FileChannel, long, long)910%120%77161611
reopen(ThreadContext, IRubyObject[])9020770%182457%1623115601
popen4(ThreadContext, IRubyObject, IRubyObject[], Block)850%20%22111111
getlineInner(ThreadContext, IRubyObject, int, RubyIO.ByteListCache)6535484%145881%1237108701
RubyIO(Ruby, STDIO)580%40%44111111
pipe19(ThreadContext, IRubyObject, IRubyObject[], Block)5718977%161243%101694801
getPartial(ThreadContext, IRubyObject[], boolean, boolean)5218078%202858%162684901
close_read(ThreadContext)489366%13941%91283101
close_write(ThreadContext)486457%12840%81182401
ioWriteNonblock(ThreadContext, Ruby, IRubyObject, boolean)476759%12633%81062101
checkValidOptions(IRubyObject, Set)46612%14212%897801
transfer(FileChannel, WritableByteChannel, long, long)450%60%44131311
checkUnsupportedOptions(IRubyObject, Set, String)40613%8220%567801
puts3(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject)400%40%337711
obliterateProcess(Process)370%20%22141411
rbIoClose(Ruby)3610274%151550%121642701
RubyIO(Ruby, OutputStream, boolean)360%20%228811
RubyIO(Ruby, RubyClass, Channel)340%20%226611
parseIOOptions(IRubyObject)340%20%226611
puts2(ThreadContext, IRubyObject, IRubyObject, IRubyObject)340%40%336611
RubyIO(Ruby, InputStream)320%20%227711
putc(ThreadContext, IRubyObject, IRubyObject)300%20%226611
initializeCommon(ThreadContext, int, IRubyObject, IRubyObject)282446%5338%4551101
cleanupPOpen(RubyIO.POpenTuple)280%60%447711
initialize_copy(IRubyObject)2610480%10844%81033101
prepStdioEcflags(OpenFile, int)251842%6225%453801
RubyIO(Ruby, ShellLauncher.POpenProcess, IOOptions)220%n/a115511
RubyIO(Ruby, RubyClass, ShellLauncher.POpenProcess, RubyHash, IOOptions)210%n/a115511
initializeCommon(ThreadContext, ChannelFD, IRubyObject, IRubyObject)2015489%92372%91873501
rewind(ThreadContext)204670%7542%5721301
stat(ThreadContext)203262%7330%561801
newInstance(ThreadContext, IRubyObject, IRubyObject[], Block)201238%1150%122501
sysseek(ThreadContext, IRubyObject[])188282%12943%101212001
pos(ThreadContext)183264%6225%450701
pos_set(ThreadContext, IRubyObject)183062%6225%450701
interpretSeekWhence(IRubyObject)18831%7112%456801
newIOOptions(Ruby, String)180%n/a113311
prepareGetsSeparator(ThreadContext, IRubyObject, IRubyObject)178884%42285%41412201
write_nonblock(ThreadContext, IRubyObject[])173165%4233%3421001
newModeFlags(Ruby, String)170%n/a113311
newIOOptions(Ruby, IOOptions, int)170%n/a113311
setEncoding(ThreadContext, IRubyObject, IRubyObject, IRubyObject)1618492%51372%41034001
ioStaticWrite(ThreadContext, IRubyObject, IRubyObject[], boolean)1614690%61875%51423101
checkExecEnv(ThreadContext, RubyHash)166279%4660%4621601
doReadNonblock(ThreadContext, IRubyObject[], boolean)163166%5550%4621101
putc(ThreadContext, IRubyObject)161447%1150%123601
newIOOptions(Ruby, int)150%n/a114411
flushRaw(ThreadContext, boolean)143370%4660%3611001
rb_io_fptr_finalize(Ruby, OpenFile)142362%4450%4531101
readline(ThreadContext, IRubyObject)140%20%224411
readline(ThreadContext, IRubyObject[])140%20%221111
read19(ThreadContext, IRubyObject, IRubyObject[], Block)1312290%31381%3922701
transfer(ThreadContext, ReadableByteChannel, WritableByteChannel, long, long)138687%51372%51012301
write(ThreadContext, IRubyObject, boolean)136884%4660%4611701
sysopen(Ruby, String, int, int)134276%4660%4641501
setBinmode()133170%6440%5621201
prepareGetsSeparator(ThreadContext, IRubyObject[])132768%1375%141501
prepareGetsLimit(ThreadContext, IRubyObject[])132768%1375%141501
restartSystemCall(Exception)130%40%331111
sysread(ThreadContext, IRubyObject[])1111091%61267%61012401
ioctl(ThreadContext, IRubyObject[])111354%1150%122501
getBlocking()110%20%223311
pipe19(ThreadContext, IRubyObject, IRubyObject)110%n/a111111
addBlockingThread(RubyThread)110%20%223311
getline(Ruby, ByteList)100%n/a111111
getline(Ruby, ByteList, long)100%n/a111111
getline(ThreadContext, ByteList)100%n/a111111
getline(ThreadContext, ByteList, long)100%n/a111111
inspect()96287%4450%3521401
eof_p(ThreadContext)95887%7956%6901101
putsArray(ThreadContext, IRubyObject, IRubyObject[])92976%3350%240601
puts1(ThreadContext, IRubyObject, IRubyObject)91968%3125%230501
writeSeparator(ThreadContext, IRubyObject)91867%3125%230501
set_encoding(ThreadContext, IRubyObject, IRubyObject, IRubyObject)90%n/a112211
write(ThreadContext, ByteList)90%n/a111111
gets(ThreadContext, IRubyObject[])82475%1375%142601
set_encoding(ThreadContext, IRubyObject, IRubyObject)81869%1150%121501
sysopen(IRubyObject, IRubyObject[], Block)80%n/a111111
removeBlockingThread(RubyThread)80%20%222211
checkSpawnOptions(IRubyObject)80%n/a113311
getIOModesIntFromString(Ruby, String)80%n/a113311
syswrite(ThreadContext, IRubyObject)76991%3770%3601501
print(ThreadContext, IRubyObject, IRubyObject[])76090%4867%3711501
getByte(ThreadContext)75689%4450%3501001
ungetbyte(ThreadContext, IRubyObject)75489%4660%3601201
ioClose(Ruby, IRubyObject)73182%1583%1421001
getc19(ThreadContext)73081%3125%230801
read(IRubyObject[])72880%1375%141601
inspectPuts(ThreadContext, IRubyObject, RubyArray)71670%n/a010301
pipePairClose(Ruby, RubyIO, RubyIO)71059%n/a010401
RubyIO(Ruby, Channel)70%n/a112211
fcntl(ThreadContext, IRubyObject)70%n/a111111
fcntl(ThreadContext, IRubyObject, IRubyObject)70%n/a111111
puts(ThreadContext, IRubyObject, IRubyObject, IRubyObject)70%n/a111111
interruptBlockingThreads()70%20%222211
getline(ThreadContext, IRubyObject, RubyIO.ByteListCache)70%n/a111111
each_byteInternal(ThreadContext, Block)67593%3770%3601601
RubyIO(Ruby, OutputStream)60%n/a112211
newIO(Ruby, Channel)60%n/a111111
getInputEncoding()60%n/a111111
puts(ThreadContext, IRubyObject, IRubyObject)60%n/a111111
readchar()60%n/a111111
read(ThreadContext, IRubyObject, IRubyObject[])60%n/a111111
readlines(ThreadContext, IRubyObject, IRubyObject[], Block)60%n/a111111
pipe19(ThreadContext, IRubyObject)60%n/a111111
setEnc2(Encoding)60%n/a112211
setEnc(Encoding)60%n/a112211
setEcflags(int)60%n/a112211
setEcopts(IRubyObject)60%n/a112211
popen3(ThreadContext, IRubyObject, IRubyObject[], Block)60%n/a111111
select_static(ThreadContext, Ruby, IRubyObject[])60%n/a111111
tty_p(ThreadContext)54390%1583%140901
sync(ThreadContext)52784%2100%020601
failIfDirectory(Ruby, RubyString)51372%1375%131501
checkInitialized()5444%1150%121301
getEnc()50%n/a111111
getEnc2()50%n/a111111
close_on_exec_set(ThreadContext, IRubyObject)50%n/a111111
close_on_exec_p(ThreadContext)50%n/a111111
checkPopenOptions(IRubyObject)50%n/a112211
newModeFlags(Ruby, long)50%n/a111111
newIOOptions(Ruby, ModeFlags)50%n/a111111
newIOOptions(Ruby, long)50%n/a111111
getEcflags()50%n/a111111
getEcopts()50%n/a111111
setBOM(boolean)50%n/a112211
lines19(ThreadContext, Block)50%n/a111111
each_char19(ThreadContext, Block)50%n/a111111
chars19(ThreadContext, Block)50%n/a111111
readlines19(ThreadContext, IRubyObject[])50%n/a111111
writeStatic(ThreadContext, IRubyObject, IRubyObject[], Block)50%n/a111111
doWriteNonblock(ThreadContext, IRubyObject[], boolean)50%n/a111111
ioOpen(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject)48996%3770%3611101
sysopen19(ThreadContext, IRubyObject, IRubyObject[], Block)48195%2880%2711901
fsync(ThreadContext)41680%1150%121601
puts(ThreadContext, IRubyObject, IRubyObject[])4867%1150%121301
newModeFlags(Ruby, int)4660%n/a012301
getChannel()40%n/a111111
toString()40%n/a111111
pipe(ThreadContext, IRubyObject)40%n/a111111
getBOM()40%n/a111111
getIOModes(Ruby, String)40%n/a111111
advise(ThreadContext, IRubyObject[])6596%4867%4801301
binmode()1179%1150%121501
getOpenFile()0%n/a111111
static {...}13299%2250%2301001
foreachInternal19(ThreadContext, IRubyObject, IRubyObject[], Block)6097%1375%1301101
readlines19(ThreadContext, IRubyObject, IRubyObject[], Block)2693%1150%120601
read(ThreadContext, IRubyObject, IRubyObject)116100%51372%51002401
openKeyArgs(ThreadContext, IRubyObject, IRubyObject[], IRubyObject)83100%4100%0301401
processReadlinesMethodArguments(IRubyObject[])78100%11594%190901
binread(ThreadContext, IRubyObject, IRubyObject[])73100%6100%0401501
adviceArgCheck(ThreadContext, IRubyObject)70100%61774%6150601
select(ThreadContext, IRubyObject, IRubyObject[])65100%1889%1701301
createIOClass(Ruby)57100%n/a0101201
each_charInternal(ThreadContext, Block)56100%2675%2501101
putsSingle(ThreadContext, Ruby, IRubyObject, IRubyObject, RubyString)48100%10100%0601201
doSeek(ThreadContext, IRubyObject, int)46100%3562%350701
each_lineInternal(ThreadContext, IRubyObject[], Block, String)46100%4100%030801
prepareGetsLimit(ThreadContext, IRubyObject, IRubyObject)42100%11393%180901
external_encoding(ThreadContext)41100%6100%040501
cloexecOpen(Ruby, RubyIO.Sysopen)37100%2100%020701
readlinesCommon(ThreadContext, IRubyObject[])33100%2100%020701
MakeOpenFile()32100%2100%020801
initialize(ThreadContext, IRubyObject, IRubyObject, Block)28100%2100%020801
isClosed()28100%1788%150801
gets(ThreadContext, IRubyObject)27100%2100%020501
gets(ThreadContext, IRubyObject, IRubyObject)27100%2100%020501
ensureYieldClose(ThreadContext, IRubyObject, Block)26100%2100%020501
prepStdio(Ruby, InputStream, Channel, int, RubyClass, String)25100%n/a010501
prepStdio(Ruby, OutputStream, Channel, int, RubyClass, String)25100%n/a010501
prepIO(Ruby, Channel, int, RubyClass, String)22100%1150%120701
gets(ThreadContext)20100%2100%020401
ensureYieldClosePipes(ThreadContext, IRubyObject, RubyIO, RubyIO, Block)20100%n/a010201
seek(ThreadContext, IRubyObject[])19100%2100%020401
pid(ThreadContext)18100%2100%020501
getbyte(ThreadContext)18100%2100%020301
readlinesCommon19(ThreadContext, RubyIO, IRubyObject[])18100%n/a010201
readpartial(ThreadContext, IRubyObject[])16100%2100%020401
foreach(ThreadContext, IRubyObject, IRubyObject[], Block)16100%2100%020201
internal_encoding(ThreadContext)15100%2100%020201
each_byte(ThreadContext, Block)14100%2100%020101
readline(ThreadContext)13100%2100%020401
readchar(ThreadContext)13100%2100%020401
readbyte(ThreadContext)13100%2100%020401
open(ThreadContext, IRubyObject, IRubyObject[], Block)12100%n/a010201
GetWriteIO()12100%2100%020501
lineno_set(ThreadContext, IRubyObject)12100%n/a010201
sync_set(IRubyObject)12100%n/a010401
lines(ThreadContext, Block)12100%n/a010201
tryConvert(ThreadContext, IRubyObject, IRubyObject)12100%2100%020101
set_encoding(ThreadContext, IRubyObject)11100%n/a010201
printf(ThreadContext, IRubyObject[])11100%n/a010201
codepoints(ThreadContext, Block)11100%n/a010201
checkReopenCloexecDup2(Ruby, OpenFile, ChannelFD, ChannelFD)10100%n/a010201
initialize(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block)10100%n/a010201
close()10100%n/a010301
bytes(ThreadContext, Block)10100%n/a010201
chars(ThreadContext, Block)10100%n/a010201
for_fd(ThreadContext, IRubyObject, IRubyObject[], Block)9100%n/a010201
initialize(ThreadContext, IRubyObject, Block)9100%n/a010101
seek(ThreadContext, IRubyObject, IRubyObject)9100%n/a010201
write(ThreadContext, IRubyObject, ByteList)9100%n/a010101
setAscii8bitBinmode()9100%n/a010301
getline(ThreadContext, IRubyObject, long, RubyIO.ByteListCache)8100%n/a010101
op_append(ThreadContext, IRubyObject)8100%n/a010201
seek(ThreadContext, IRubyObject)8100%n/a010201
read(ThreadContext)8100%n/a010101
seekBeforeAccess(ThreadContext, RubyIO, IRubyObject, int)8100%n/a010201
checkExecOptions(IRubyObject)8100%n/a010301
getline(ThreadContext, IRubyObject)7100%n/a010101
getline(ThreadContext, IRubyObject, long)7100%n/a010101
setAutoclose(boolean)7100%n/a010301
autoclose_set(ThreadContext, IRubyObject)7100%n/a010201
op_binmode(ThreadContext)7100%n/a010101
fileno(ThreadContext)7100%n/a010101
lineno(ThreadContext)7100%n/a010101
read(ThreadContext, IRubyObject)7100%n/a010101
each(ThreadContext, IRubyObject[], Block)7100%n/a010101
each_line(ThreadContext, IRubyObject[], Block)7100%n/a010101
getOpenFileChecked()6100%n/a010201
getReadEncoding()6100%n/a010101
sysopenInternal(Ruby, RubyIO.Sysopen)6100%n/a010201
isAutoclose()6100%n/a010201
autoclose(ThreadContext)6100%n/a010101
write(ThreadContext, IRubyObject)6100%n/a010101
closed_p(ThreadContext)6100%n/a010101
write(ThreadContext, IRubyObject, IRubyObject)6100%n/a010101
getc()6100%n/a010101
read_nonblock(ThreadContext, IRubyObject[])6100%n/a010101
each_codepoint(ThreadContext, Block)6100%n/a010101
binwrite(ThreadContext, IRubyObject, IRubyObject[])6100%n/a010101
write(ThreadContext, IRubyObject, IRubyObject[])6100%n/a010101
RubyIO(Ruby, RubyClass)5100%n/a010201
getOutStream()5100%n/a010101
getInStream()5100%n/a010101
print(ThreadContext, IRubyObject[])5100%n/a010101
flush(ThreadContext)5100%n/a010101
puts(ThreadContext, IRubyObject)5100%n/a010101
puts(ThreadContext, IRubyObject[])5100%n/a010101
each_char(ThreadContext, Block)5100%n/a010101
readlines(ThreadContext, IRubyObject[])5100%n/a010101
convertToIO(ThreadContext, IRubyObject)5100%n/a010101
recheckTTY(Ruby, OpenFile, RubyIO)4100%n/a010201
sysopenFunc(Ruby, RubyIO.Sysopen)4100%n/a010101
puts(ThreadContext)4100%n/a010101
puts0(ThreadContext, IRubyObject)4100%n/a010101
getNativeClassIndex()100%n/a010101
to_io()100%n/a010101
getNilByteList(Ruby)100%n/a010101