TestDistributedFileSystem

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total6,627 of 6,6270%110 of 1100%1321321,6121,6127777
testDFSClient()5120%120%77979711
testStatistics()4480%60%4410610611
testStatistics2()4380%n/a1110210211
testFileChecksum()3870%20%22777711
verifyOpsUsingClosedClient(DFSClient)2650%n/a1111711711
testGetTrashRoots()2420%80%55575711
testECStatistics()1990%n/a11474711
testLocatedFileStatusStorageIdsTypes()1670%100%66373711
testGetTrashRootOnEZInSnapshottableDir()1660%20%22434311
testGetTrashRootOnSnapshottableDirInEZ()1530%20%22404011
testCreateWithStoragePolicy()1460%n/a11303011
testGetTrashRootsOnSnapshottableDirWithEZ()1450%20%22363611
testReadFileSystemStatistics(int, boolean, boolean)1400%120%77323211
testConcurrentStatistics()1370%60%44353511
testGetTrashRoot()1330%20%22333311
testCreateWithCustomChecksum()1320%40%33323211
testGetListingLimit()1260%20%22262611
testDFSDataOutputStreamBuilderForCreation()1240%n/a11404011
testListFilesRecursive()1210%n/a11181811
testNameNodeCreateSnapshotTrashRootOnStartup()1210%20%22333311
testECCloseCommittedBlock()1190%40%33252511
testSuperUserPrivilege()1140%n/a11242411
testEnableAndDisableErasureCodingPolicy()1110%20%22333311
testStorageFavouredNodes()1090%n/a11202011
testDFSClientPeerWriteTimeout()1070%40%33232311
testClearStatistics()930%n/a11242411
testDFSClientPeerReadTimeout()910%40%33212111
testDFSClose()900%40%33242411
testRemoveErasureCodingPolicy()860%20%22202011
testGetECTopologyResultForPolicies()790%n/a11181811
testDFSDataOutputStreamBuilderForAppend()770%n/a11242411
testListingStoragePolicyNonSuperUser()760%n/a11181811
testDFSSeekExceptions()720%20%22272711
testDisallowSnapshotShouldThrowWhenTrashRootExists()720%20%22181811
testDFSCloseFilesBeingWritten()690%20%22171711
testMultipleRackFailureDuringPipelineSetupMinReplicationPossible()620%n/a11121211
testTotalDfsUsed()610%20%22161611
testBuilderSetters(DistributedFileSystem)610%n/a11151511
testSingleRackFailureDuringPipelineSetupMinReplicationPossible()580%n/a11111111
testMultipleRackFailureDuringPipelineSetupMinReplicationImpossible()580%n/a11121211
testListFiles()570%20%22131311
testSingleRackFailureDuringPipelineSetupMinReplicationImpossible()540%n/a11111111
testDFSCloseOrdering()520%n/a119911
testListStatusOfSnapshotDirs()480%n/a11121211
testAllRackFailureDuringPipelineSetup()480%n/a11101011
getTestConfiguration()410%40%33121211
testFileCloseStatus()410%n/a11121211
testFileSystemCloseAll()330%20%22121211
testEmptyDelegationToken()250%20%228811
checkStatistics(FileSystem, int, int, int)220%n/a114411
testGetServerDefaults()220%n/a118811
testHdfsDataOutputStreamBuilderSetParameters()200%n/a117711
checkOpStatistics(DFSOpsCountStatistics.OpType, long)160%n/a113311
testAllWithDualPort()150%n/a117711
testAllWithNoXmlDefaults()150%n/a117711
static {...}140%n/a115511
lambda$testAllRackFailureDuringPipelineSetup$10(DistributedFileSystem)100%n/a111111
lambda$testMultipleRackFailureDuringPipelineSetupMinReplicationImpossible$9(DistributedFileSystem)100%n/a111111
lambda$testSingleRackFailureDuringPipelineSetupMinReplicationImpossible$8(DistributedFileSystem)100%n/a111111
TestDistributedFileSystem()90%n/a113311
checkReadStatistics(FileSystem, int, long)90%n/a114411
isPathInUserHome(String, DistributedFileSystem)90%n/a112211
lambda$testSuperUserPrivilege$4(UserGroupInformation, MiniDFSCluster)90%n/a111111
getOpStatistics(DFSOpsCountStatistics.OpType)80%n/a112211
testLocalHostReadStatistics()60%n/a112211
testLocalRackReadStatistics()60%n/a112211
testRemoteRackOfFirstDegreeReadStatistics()60%n/a112211
testInvalidScriptMappingFileReadStatistics()60%n/a112211
testEmptyScriptMappingFileReadStatistics()60%n/a112211
getMockedIterator(Path)50%n/a111111
lambda$testSuperUserPrivilege$3(DistributedFileSystem)50%n/a111111
lambda$testSuperUserPrivilege$2(DistributedFileSystem)50%n/a111111
lambda$testSuperUserPrivilege$1(DistributedFileSystem, Path)50%n/a111111
lambda$testDisallowSnapshotShouldThrowWhenTrashRootExists$7(DistributedFileSystem, Path)0%n/a111111
lambda$testECCloseCommittedBlock$6(FSDataOutputStream)0%n/a111111
lambda$testListingStoragePolicyNonSuperUser$5(HdfsConfiguration)0%n/a111111
lambda$testSuperUserPrivilege$0(HdfsConfiguration)0%n/a111111