TestFsDatasetImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total5,341 of 5,3410%130 of 1300%1271271,1451,1456262
testAddVolumeWithCustomizedCapacityRatio()2720%n/a11474711
testAysncDiskServiceDeleteReplica()2710%40%33525211
testBlockReadOpWhileMovingBlock()2550%20%22545411
testAddVolumeWithSameDiskTiering()2140%20%22383811
testRemoveTwoVolumes()2080%140%88434311
testDnRestartWithHardLink()2070%40%33484811
testAddVolumes()1960%60%44323211
testRemoveOneVolume()1800%120%77393911
getDfsUsedValueOfNewVolume(long, long)1740%40%33343411
testNotifyNamenodeMissingOrNewBlock()1730%n/a11414111
testCheckFilesWhenInvalidateMissingBlock()1720%n/a11424211
setUp()1440%20%22222211
testCleanShutdownOfVolume()1400%40%33383811
testAddVolumeFailureReleasesInUseLock()1350%20%22303011
testInvalidateMissingBlock()1350%n/a11333311
testDeletingBlocks()1330%20%22292911
testRemoveNewlyAddedVolume()1270%20%22202011
testDnRestartWithHardLinkInTmp()1240%20%22303011
testMoveBlockSuccessWithSameMountMove()1190%20%22292911
testMoveBlockFailure(Configuration)1180%40%33323211
testTransferAndNativeCopyMetrics()1180%40%33282811
testAppend()1130%60%44282811
testDuplicateReplicaResolution()1090%n/a11212111
testReplicaCacheFileToOtherPlace()940%60%44161611
testMoveBlockWithSameMountMoveWithoutSpace()930%20%22252511
testReportBadBlocks()920%n/a11252511
testConcurrentWriteAndDeleteBlock()910%60%44161611
testReleaseVolumeRefIfExceptionThrown()900%n/a11212111
createStorageDirs(DataStorage, Configuration, int)870%20%22141411
testShouldConsiderSameMountVolume()840%n/a11222211
testGetMetadataLengthOfFinalizedReplica()840%40%33202011
createStorageWithCapacityRatioConfig(String, String, String)830%20%22111111
testMoveBlockSuccess()760%20%22202011
createStorageWithStorageType(String, StorageType, Configuration, DataStorage, DataNode)740%n/a11121211
testAddVolumeWithSameStorageUuid()730%n/a11181811
testRemoveVolumeBeingWritten()680%n/a11171711
testDataDirWithPercent()360%n/a11111111
getDestinationVolume(ExtendedBlock, FsDatasetImpl)320%40%339911
testLoadingDfsUsedForVolumesExpired()270%20%227711
static {...}270%20%225511
TestFsDatasetImpl()250%n/a114411
testLoadingDfsUsedForVolumes()220%n/a117711
validateFileLen(FileSystem, long, Path)220%40%336611
testMoveBlockFailure()190%n/a115511
createNewReplicaObj(ExtendedBlock, FsDatasetImpl)160%n/a114411
createNewReplicaObjWithLink(ExtendedBlock, FsDatasetImpl)160%n/a114411
createStorageDirectory(File, Configuration)150%n/a114411
testSetLastDirScannerFinishTime()150%n/a114411
getNumVolumes()120%n/a115511
lambda$testCheckFilesWhenInvalidateMissingBlock$9(MiniDFSCluster, LocatedBlock)120%n/a116611
lambda$testDnRestartWithHardLink$3(ReplicaInfo)120%20%221111
lambda$testDnRestartWithHardLink$2(ReplicaInfo)120%20%221111
lambda$testConcurrentWriteAndDeleteBlock$0()120%20%221111
lambda$testAysncDiskServiceDeleteReplica$6(FsDatasetImpl)110%20%221111
createTestFile(FileSystem, long, Path)100%n/a112211
lambda$testInvalidateMissingBlock$8(BlockManager)100%20%221111
lambda$testInvalidateMissingBlock$7(BlockManager)100%20%221111
lambda$testNotifyNamenodeMissingOrNewBlock$5(BlockManager)100%20%221111
lambda$testNotifyNamenodeMissingOrNewBlock$4(BlockManager)100%20%221111
lambda$testCheckFilesWhenInvalidateMissingBlock$10(FsDatasetImpl, ExtendedBlock)90%n/a115511
checkDataSetLockManager()80%n/a113311
lambda$testMoveBlockFailure$1(FsDatasetImpl, ReplicaInfo, ExtendedBlock)50%n/a111111