TestDistributedFileSystem

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total6,435 of 6,4350%110 of 1100%1321321,6041,6047777
testDFSClient()4990%120%77979711
testStatistics()4480%60%4410610611
testStatistics2()4320%n/a1110210211
testFileChecksum()3070%20%22757511
verifyOpsUsingClosedClient(DFSClient)2880%n/a1111711711
testGetTrashRoots()2350%80%55575711
testECStatistics()1990%n/a11474711
testLocatedFileStatusStorageIdsTypes()1640%100%66363611
testGetTrashRootOnEZInSnapshottableDir()1600%20%22434311
testGetTrashRootOnSnapshottableDirInEZ()1470%20%22404011
testCreateWithStoragePolicy()1460%n/a11303011
testGetTrashRootsOnSnapshottableDirWithEZ()1380%20%22363611
testReadFileSystemStatistics(int, boolean, boolean)1340%120%77323211
testGetTrashRoot()1330%20%22333311
testCreateWithCustomChecksum()1320%40%33323211
testGetListingLimit()1260%20%22262611
testDFSDataOutputStreamBuilderForCreation()1260%n/a11383811
testConcurrentStatistics()1240%60%44333311
testListFilesRecursive()1210%n/a11181811
testNameNodeCreateSnapshotTrashRootOnStartup()1210%20%22333311
testECCloseCommittedBlock()1190%40%33252511
testEnableAndDisableErasureCodingPolicy()1130%20%22333311
testSuperUserPrivilege()1080%n/a11242411
testStorageFavouredNodes()1020%n/a11202011
testClearStatistics()930%n/a11242411
testDFSClose()890%40%33242411
testRemoveErasureCodingPolicy()860%20%22202011
testDFSClientPeerWriteTimeout()840%40%33232311
testGetECTopologyResultForPolicies()790%n/a11181811
testDFSDataOutputStreamBuilderForAppend()780%n/a11242411
testDFSClientPeerReadTimeout()760%40%33212111
testListingStoragePolicyNonSuperUser()750%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
testSingleRackFailureDuringPipelineSetupMinReplicationImpossible()540%n/a11111111
testDFSCloseOrdering()520%n/a119911
testListFiles()510%20%22131311
testListStatusOfSnapshotDirs()480%n/a11121211
testAllRackFailureDuringPipelineSetup()480%n/a11101011
getTestConfiguration()410%40%33121211
testFileCloseStatus()410%n/a11121211
testFileSystemCloseAll()330%20%22121211
testEmptyDelegationToken()250%20%228811
testGetServerDefaults()220%n/a118811
testHdfsDataOutputStreamBuilderSetParameters()200%n/a117711
checkStatistics(FileSystem, int, int, int)160%n/a114411
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
checkOpStatistics(DFSOpsCountStatistics.OpType, long)80%n/a112211
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