ContractTestUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,355 of 2,3550%154 of 1540%1701704834839393
compareByteArrays(byte[], byte[], int)1350%120%77292911
createSubdirs(FileSystem, Path, int, int, int, int, String, String, String)1110%60%44151511
verifyReceivedData(FileSystem, Path, long, int, int)990%100%66212111
assertCapabilities(Object, String[], String[])760%80%55111111
generateTestFile(FileSystem, Path, long, int, int)640%60%44141411
validateVectoredReadResult(List, byte[], long)630%40%33141411
createAndVerifyFile(FileSystem, Path, long)630%n/a11151511
writeDataset(FileSystem, Path, byte[], int, int, boolean, boolean)600%40%33151511
assertListStatusFinds(FileSystem, Path, Path)590%40%339911
validateFileContent(byte[], byte[][])590%80%55111111
assertDatasetEquals(int, String, ByteBuffer, int, byte[])480%20%229911
verifyPathExists(FileSystem, String, Path)470%n/a117711
ls(FileSystem, Path)440%20%22101011
pathsToString(Collection)430%20%229911
assertDeleted(FileSystem, Path, boolean, boolean, boolean)400%40%339911
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
assertHasPathCapabilities(PathCapabilities, Path, String[])380%20%224411
assertPropertyEquals(Properties, String, String)370%20%225511
getFileStatusEventually(FileSystem, Path, int)370%40%33101011
verifyFileContents(FileSystem, Path, byte[])360%n/a117711
assertIsFile(Path, FileStatus)340%n/a116611
assertLacksPathCapabilities(PathCapabilities, Path, String[])340%20%224411
assertRenameOutcome(FileSystem, Path, Path, boolean)320%20%225511
toChar(byte[])300%20%224411
cleanup(String, FileSystem, Path)300%n/a116611
readUTF8(FileSystem, Path, int)290%20%227711
toAsciiByteArray(String)270%20%226611
rename(FileSystem, Path, Path)270%n/a115511
assertPathExists(FileContext, String, Path)250%20%224411
lambda$treeWalk$0(FileSystem, ContractTestUtils.TreeScanResults, FileStatus)240%40%335511
verifyRead(FSDataInputStream, byte[], int, int)220%n/a116611
assertFileHasLength(FileSystem, Path, int)220%n/a114411
assertPathDoesNotExist(FileSystem, String, Path)220%n/a115511
assertPathDoesNotExist(FileContext, String, Path)220%n/a115511
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
downgrade(String, Throwable)190%n/a113311
cleanup(String, FileSystem, String)180%20%226611
rejectRootOperation(Path, boolean)180%40%333311
toChar(byte)170%20%223311
noteAction(String)160%20%223311
assertErasureCoded(FileSystem, Path)160%n/a113311
assertNotErasureCoded(FileSystem, Path)160%n/a114411
readBytesToString(FileSystem, Path, int)160%n/a114411
writeTextFile(FileSystem, Path, String, boolean)150%20%225511
assertMkdirs(FileSystem, Path)150%n/a112211
appendFile(FileSystem, Path, byte[])140%40%334411
collectionsEquivalentNoDuplicates(Collection, Collection)140%60%442211
iteratorToListThroughNextCallsAlone(RemoteIterator)140%n/a114411
toListThroughNextCallsAlone(RemoteIterator)140%n/a114411
dumpStats(String, FileStatus[])130%n/a112211
rm(FileSystem, Path, boolean, boolean)120%20%224411
assertIsDirectory(FileStatus)120%n/a113311
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
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
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
bandwidth(ContractTestUtils.NanoTimer, long)70%n/a113311
range(long, int)70%n/a111111
fail(String, Throwable)60%n/a111111
touch(FileSystem, Path)60%n/a112211
assertDeleted(FileSystem, Path, boolean)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