ContractTestUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,125 of 2,1250%162 of 1620%1761764914919595
compareByteArrays(byte[], byte[], int)1340%120%77292911
createSubdirs(FileSystem, Path, int, int, int, int, String, String, String)1060%60%44151511
verifyReceivedData(FileSystem, Path, long, int, int)810%100%66212111
generateTestFile(FileSystem, Path, long, int, int)640%60%44141411
validateVectoredReadResult(List, byte[], long)630%40%33141411
createAndVerifyFile(FileSystem, Path, long)630%n/a11151511
assertCapabilities(Object, String[], String[])580%80%559911
validateFileContent(byte[], byte[][])530%80%55111111
writeDataset(FileSystem, Path, byte[], int, int, boolean, boolean)520%40%33151511
assertDatasetEquals(int, String, ByteBuffer, int, byte[])480%20%229911
assertListStatusFinds(FileSystem, Path, Path)470%40%339911
pathsToString(Collection)430%20%229911
fileStatsToString(FileStatus[], String)390%20%224411
writeAndRead(FileSystem, Path, byte[], int, int, boolean, boolean)380%20%22101011
readDataset(FileSystem, Path, int)380%40%33111111
deleteChildren(FileSystem, Path, boolean)380%20%226611
verifyPathExists(FileSystem, String, Path)370%n/a117711
assertRenameOutcome(FileSystem, Path, Path, boolean)330%20%225511
readDatasetSingleByteReads(FileSystem, Path, int)320%40%338811
assertDeleted(FileSystem, Path, boolean, boolean, boolean)310%40%339911
verifyFileContents(FileSystem, Path, byte[])300%n/a117711
toChar(byte[])300%20%224411
readUTF8(FileSystem, Path, int)290%20%227711
getFileStatusEventually(FileSystem, Path, int)290%40%33101011
readNBytes(InputStream, byte[], int, int)280%40%33101011
toAsciiByteArray(String)270%20%226611
assertHasPathCapabilities(PathCapabilities, Path, String[])260%20%223311
ls(FileSystem, Path)250%20%22101011
assertLacksPathCapabilities(PathCapabilities, Path, String[])250%20%223311
lambda$treeWalk$0(FileSystem, ContractTestUtils.TreeScanResults, FileStatus)240%40%335511
verifyRead(FSDataInputStream, byte[], int, int)220%n/a116611
returnBuffersToPoolPostRead(List, ByteBufferPool)220%20%225511
collectionsEquivalent(Collection, Collection)220%40%333311
treeWalk(FileSystem, FileStatus, ContractTestUtils.TreeScanResults)220%n/a117711
readStream(InputStream)220%20%225511
assertPathsExist(FileSystem, String, Path[])210%20%223311
assertPathsDoNotExist(FileSystem, String, Path[])210%20%223311
dataset(int, int, int)210%20%224411
listChildren(FileSystem, Path)200%40%334411
file(FileSystem, Path, boolean, byte[])200%40%336611
assertPropertyEquals(Properties, String, String)190%20%225511
cleanup(String, FileSystem, String)180%20%226611
cleanup(String, FileSystem, Path)180%n/a116611
toChar(byte)170%20%223311
rename(FileSystem, Path, Path)160%n/a114411
readBytesToString(FileSystem, Path, int)160%n/a114411
writeTextFile(FileSystem, Path, String, boolean)150%20%225511
assertIsFile(Path, FileStatus)150%n/a114411
assertPathExists(FileContext, String, Path)150%20%224411
appendFile(FileSystem, Path, byte[])140%40%334411
collectionsEquivalentNoDuplicates(Collection, Collection)140%60%442211
iteratorToListThroughNextCallsAlone(RemoteIterator)140%n/a114411
toListThroughNextCallsAlone(RemoteIterator)140%n/a114411
downgrade(String, Throwable)130%n/a113311
assertFileHasLength(FileSystem, Path, int)130%n/a113311
assertPathDoesNotExist(FileSystem, String, Path)130%n/a115511
assertPathDoesNotExist(FileContext, String, Path)130%n/a115511
rm(FileSystem, Path, boolean, boolean)120%20%224411
rejectRootOperation(Path, boolean)120%40%333311
assertIsFile(FileSystem, Path)120%n/a114411
assertIsFile(FileContext, Path)120%n/a114411
containsDuplicates(Collection)120%20%221111
toHuman(long)110%n/a111111
createSubdirs(FileSystem, Path, int, int, int, int)110%n/a111111
assertErasureCoded(FileSystem, Path)100%n/a113311
assertNotErasureCoded(FileSystem, Path)100%n/a113311
bandwidthMBs(long, long)100%n/a111111
writeDataset(FileSystem, Path, byte[], int, int, boolean)90%n/a112211
skip(String)90%n/a112211
treeWalk(FileSystem, Path)90%n/a111111
read(InputStream)90%n/a113311
noteAction(String)80%20%223311
assertIsDirectory(FileSystem, Path)80%n/a113311
range(List, long, int)80%n/a112211
createFile(FileSystem, Path, boolean, byte[])70%n/a112211
assertDeleted(FileSystem, Path, boolean, boolean)70%n/a112211
assertMkdirs(FileSystem, Path)70%n/a112211
bandwidth(ContractTestUtils.NanoTimer, long)70%n/a113311
range(long, int)70%n/a111111
fail(String, Throwable)60%n/a111111
assertIsDirectory(FileStatus)60%n/a112211
touch(FileSystem, Path)60%n/a112211
assertDeleted(FileSystem, Path, boolean)60%n/a112211
dumpStats(String, FileStatus[])60%n/a112211
assertPathExists(FileSystem, String, Path)60%n/a112211
totalReadSize(List)60%n/a113311
isOSX()50%n/a111111
assertHasStreamCapabilities(Object, String[])50%n/a112211
assertLacksStreamCapabilities(Object, String[])50%n/a112211
rejectRootOperation(Path)40%n/a112211
static {...}40%n/a112211
ContractTestUtils()30%n/a111111
unsupported(String)30%n/a112211
toList(RemoteIterator)30%n/a111111
iteratorToList(RemoteIterator)30%n/a111111