RubyIO

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,824 of 10,33163%653 of 1,33751%5539476182,01089261
popen(ThreadContext, IRubyObject, IRubyObject[], Block)236166%2428%1415444701
eachCodePointCommon(ThreadContext, Block, String)17910036%211134%1417184301
updateIOOptionsFromOptions(ThreadContext, RubyHash, IOOptions)1420%280%1515262611
reopen(ThreadContext, IRubyObject[])12117659%212150%1623155601
copy_stream(ThreadContext, IRubyObject, IRubyObject[])11828070%153771%1127157401
popen3_19(ThreadContext, IRubyObject, IRubyObject[], Block)1140%60%44161611
write19(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject, RubyHash)1050%120%77171711
reopenIO(ThreadContext, RubyIO)10117263%332947%2532135401
setupPopen(ModeFlags, ShellLauncher.POpenProcess)1010%100%66202011
popenSpecial(ThreadContext, IRubyObject[])930%60%44202011
transfer(ThreadContext, ReadableByteChannel, FileChannel, long, long)910%120%77161611
popen4(ThreadContext, IRubyObject, IRubyObject[], Block)850%20%22111111
rbIoClose(Ruby)657353%21930%141692701
RubyIO(Ruby, STDIO)580%40%44111111
pipe19(ThreadContext, IRubyObject, IRubyObject[], Block)5718977%161243%101694801
ioWriteNonblock(ThreadContext, Ruby, IRubyObject, boolean)546053%13528%81062101
checkValidOptions(IRubyObject, Set)520%160%998811
close_read(ThreadContext)489366%13941%91283101
close_write(ThreadContext)486457%12840%81182401
adviceArgCheck(ThreadContext, IRubyObject)472333%20313%14152601
advise(ThreadContext, IRubyObject[])462232%1118%7881301
checkUnsupportedOptions(IRubyObject, Set, String)460%100%668811
transfer(FileChannel, WritableByteChannel, long, long)450%60%44131311
getPartial(ThreadContext, IRubyObject[], boolean, boolean)4119182%153369%132674901
puts3(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject)400%40%337711
ctl(Ruby, IRubyObject, IRubyObject)388268%131350%101472301
ioStaticWrite(ThreadContext, IRubyObject, IRubyObject[], boolean)3712577%71771%61463101
obliterateProcess(Process)370%20%22141411
RubyIO(Ruby, OutputStream, boolean)360%20%228811
ungetc(ThreadContext, IRubyObject)3413380%9950%81032801
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
prepareGetsSeparator(ThreadContext, IRubyObject[])31922%3125%343501
prepareGetsLimit(ThreadContext, IRubyObject[])31922%3125%343501
putc(ThreadContext, IRubyObject, IRubyObject)300%20%226611
initializeCommon(ThreadContext, ChannelFD, IRubyObject, IRubyObject)2814684%122062%111883501
initialize_copy(IRubyObject)2810278%11739%91043101
initializeCommon(ThreadContext, int, IRubyObject, IRubyObject)282446%5338%4551101
cleanupPOpen(RubyIO.POpenTuple)280%60%447711
getlineInner(ThreadContext, IRubyObject, int, RubyIO.ByteListCache)2739294%135982%123718701
rewind(ThreadContext)273959%8433%6731301
prepStdioEcflags(OpenFile, int)251842%6225%453801
binread(ThreadContext, IRubyObject, IRubyObject[])244967%3350%3441501
read(IRubyObject[])241131%3125%343601
ioctl(ThreadContext, IRubyObject[])240%20%225511
RubyIO(Ruby, ShellLauncher.POpenProcess, IOOptions)220%n/a115511
RubyIO(Ruby, RubyClass, ShellLauncher.POpenProcess, RubyHash, IOOptions)210%n/a115511
stat(ThreadContext)203262%7330%561801
newInstance(ThreadContext, IRubyObject, IRubyObject[], Block)201238%1150%122501
fsync(ThreadContext)200%20%226611
read19(ThreadContext, IRubyObject, IRubyObject[], Block)1911686%31381%3922701
ungetbyte(ThreadContext, IRubyObject)194269%7330%5611201
seek(ThreadContext, IRubyObject[])190%20%224411
sysseek(ThreadContext, IRubyObject[])188282%111048%91212001
syswrite(ThreadContext, IRubyObject)185876%5550%4611501
pos(ThreadContext)183264%5338%350701
pos_set(ThreadContext, IRubyObject)183062%6225%450701
newIOOptions(Ruby, String)180%n/a113311
newModeFlags(Ruby, String)170%n/a113311
newIOOptions(Ruby, IOOptions, int)170%n/a113311
checkExecEnv(ThreadContext, RubyHash)166279%4660%4621601
doReadNonblock(ThreadContext, IRubyObject[], boolean)163166%5550%4621101
newIOOptions(Ruby, int)150%n/a114411
inspect()145780%5338%4541401
flushRaw(ThreadContext, boolean)143370%3770%2611001
rb_io_fptr_finalize(Ruby, OpenFile)142362%4450%4531101
readline(ThreadContext, IRubyObject)140%20%224411
readline(ThreadContext, IRubyObject[])140%20%221111
setEncoding(ThreadContext, IRubyObject, IRubyObject, IRubyObject)1318794%31583%21024001
transfer(ThreadContext, ReadableByteChannel, WritableByteChannel, long, long)138687%31583%31012301
sysopen(Ruby, String, int, int)134276%4660%4641501
setBinmode()133170%6440%5621201
restartSystemCall(Exception)130%40%331111
print(ThreadContext, IRubyObject, IRubyObject[])125582%21083%2731501
tty_p(ThreadContext)123675%2467%241901
failIfDirectory(Ruby, RubyString)12633%3125%233501
sysread(ThreadContext, IRubyObject[])1111091%61267%61012401
getBlocking()110%20%223311
pipe19(ThreadContext, IRubyObject, IRubyObject)110%n/a111111
isClosed()101864%5338%353801
initialize(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block)100%n/a112211
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
putsArray(ThreadContext, IRubyObject, IRubyObject[])92976%3350%240601
puts1(ThreadContext, IRubyObject, IRubyObject)91968%3125%230501
writeSeparator(ThreadContext, IRubyObject)91867%3125%230501
write(ThreadContext, ByteList)90%n/a111111
gets(ThreadContext, IRubyObject[])82475%1375%142601
ensureYieldClosePipes(ThreadContext, IRubyObject, RubyIO, RubyIO, Block)81260%n/a010201
sysopen(IRubyObject, IRubyObject[], Block)80%n/a111111
checkExecOptions(IRubyObject)80%n/a113311
checkSpawnOptions(IRubyObject)80%n/a113311
getIOModesIntFromString(Ruby, String)80%n/a113311
eof_p(ThreadContext)76090%61062%5901101
getByte(ThreadContext)75689%4450%3501001
each_charInternal(ThreadContext, Block)74988%3562%2501101
ioClose(Ruby, IRubyObject)73182%1583%1421001
inspectPuts(ThreadContext, IRubyObject, RubyArray)71670%n/a010301
pipePairClose(Ruby, RubyIO, RubyIO)71059%n/a010401
RubyIO(Ruby, Channel)70%n/a112211
op_binmode(ThreadContext)70%n/a111111
lineno(ThreadContext)70%n/a111111
puts(ThreadContext, IRubyObject, IRubyObject, IRubyObject)70%n/a111111
interruptBlockingThreads()70%20%222211
getline(ThreadContext, IRubyObject, RubyIO.ByteListCache)70%n/a111111
write(ThreadContext, IRubyObject, boolean)67593%3770%3611701
each_byteInternal(ThreadContext, Block)67593%3770%3601601
processReadlinesMethodArguments(IRubyObject[])67292%41275%390901
readlinesCommon19(ThreadContext, RubyIO, IRubyObject[])61267%n/a010201
RubyIO(Ruby, OutputStream)60%n/a112211
newIO(Ruby, Channel)60%n/a111111
getInputEncoding()60%n/a111111
puts(ThreadContext, IRubyObject, IRubyObject)60%n/a111111
getc()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
select(ThreadContext, IRubyObject, IRubyObject[])56092%4556%4701301
sync(ThreadContext)52784%2100%020601
getEnc()50%n/a111111
getEnc2()50%n/a111111
close_on_exec_set(ThreadContext, IRubyObject)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
putsSingle(ThreadContext, Ruby, IRubyObject, IRubyObject, RubyString)44492%1990%1611201
newModeFlags(Ruby, int)4660%n/a012301
puts(ThreadContext)40%n/a111111
puts0(ThreadContext, IRubyObject)40%n/a111111
toString()40%n/a111111
pipe(ThreadContext, IRubyObject)40%n/a111111
getBOM()40%n/a111111
getIOModes(Ruby, String)40%n/a111111
binmode()1179%1150%121501
static {...}13299%2250%2301001
foreachInternal19(ThreadContext, IRubyObject, IRubyObject[], Block)6097%1375%1301101
readlines19(ThreadContext, IRubyObject, IRubyObject[], Block)2693%1150%120601
getNativeClassIndex()0%n/a111111
getNilByteList(Ruby)0%n/a111111
read(ThreadContext, IRubyObject, IRubyObject)116100%51372%51002401
prepareGetsSeparator(ThreadContext, IRubyObject, IRubyObject)105100%12596%11402201
openKeyArgs(ThreadContext, IRubyObject, IRubyObject[], IRubyObject)83100%4100%0301401
createIOClass(Ruby)57100%n/a0101201
write_nonblock(ThreadContext, IRubyObject[])48100%1583%1401001
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
getc19(ThreadContext)37100%2250%230801
readlinesCommon(ThreadContext, IRubyObject[])33100%2100%020701
MakeOpenFile()32100%2100%020801
putc(ThreadContext, IRubyObject)30100%2100%020601
initialize(ThreadContext, IRubyObject, IRubyObject, Block)28100%2100%020801
gets(ThreadContext, IRubyObject)27100%2100%020501
gets(ThreadContext, IRubyObject, IRubyObject)27100%2100%020501
set_encoding(ThreadContext, IRubyObject, IRubyObject)26100%2100%020501
ensureYieldClose(ThreadContext, IRubyObject, Block)26100%2100%020501
interpretSeekWhence(IRubyObject)26100%1788%150801
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
pid(ThreadContext)18100%2100%020501
getbyte(ThreadContext)18100%2100%020301
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
puts(ThreadContext, IRubyObject, IRubyObject[])12100%2100%020301
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
addBlockingThread(RubyThread)11100%1150%120301
checkReopenCloexecDup2(Ruby, OpenFile, ChannelFD, ChannelFD)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
set_encoding(ThreadContext, IRubyObject, IRubyObject, IRubyObject)9100%n/a010201
checkInitialized()9100%2100%020301
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
removeBlockingThread(RubyThread)8100%1150%120201
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
fileno(ThreadContext)7100%n/a010101
fcntl(ThreadContext, IRubyObject)7100%n/a010101
fcntl(ThreadContext, IRubyObject, IRubyObject)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
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
close_on_exec_p(ThreadContext)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
getChannel()4100%n/a010101
sysopenFunc(Ruby, RubyIO.Sysopen)4100%n/a010101
getOpenFile()100%n/a010101
to_io()100%n/a010101