IOUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total158 of 72678%33 of 12272%329337163732
copy(InputStream, File)350%40%335511
skipFully(InputStream, long)144777%2880%2621501
calculateChecksum(byte[])130%n/a113311
checkLength(long, int)12840%3350%243601
readByte(InputStream)120%20%224411
toByteArray(ByteBuffer, int)11945%2250%234601
peekFirstNBytes(InputStream, int)95585%1583%1431601
copy(InputStream, OutputStream, long)94382%5758%4701101
checkByteSizeLimit(long)8433%3125%231301
closeQuietly(Closeable)7750%2100%022701
checkByteSizeLimit(int)7436%3125%231301
calculateByteArrayInitLength(boolean, int, int)51676%3350%241501
peekFirst8Bytes(InputStream)40%n/a111111
setMaxByteArrayInitSize(int)30%n/a112211
setByteArrayMaxOverride(int)30%n/a112211
toByteArray(InputStream, int, int, boolean, boolean)212198%22893%21612201
safelyClone(byte[], int, int, int)24695%2675%251701
getMaxByteArrayInitSize()20%n/a111111
safelyAllocateCheck(long, int)33100%4100%030601
readFully(InputStream, byte[], int, int)30100%6100%040801
readFully(ReadableByteChannel, ByteBuffer)30100%8100%050801
calculateChecksum(InputStream)25100%1375%130601
throwRFE(long, int)19100%n/a010201
throwRecordTruncationException(int)14100%n/a010201
toByteArray(InputStream, int, int)12100%2100%020101
safelyAllocate(long, int)9100%n/a010301
static {...}8100%n/a010301
toByteArrayWithMaxLength(InputStream, int)7100%n/a010101
readFully(InputStream, byte[])7100%n/a010101
toByteArray(InputStream, int)5100%n/a010101
copy(InputStream, OutputStream)5100%n/a010101
toByteArray(InputStream)4100%n/a010101