TestFsDatasetImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total5,186 of 5,1860%130 of 1300%1271271,1491,1496262
testAysncDiskServiceDeleteReplica()2720%40%33565611
testBlockReadOpWhileMovingBlock()2550%20%22545411
testAddVolumeWithCustomizedCapacityRatio()2370%n/a11474711
testAddVolumeWithSameDiskTiering()2140%20%22383811
testRemoveTwoVolumes()2080%140%88434311
testDnRestartWithHardLink()2070%40%33484811
testRemoveOneVolume()1800%120%77393911
testCheckFilesWhenInvalidateMissingBlock()1720%n/a11424211
testAddVolumes()1710%60%44323211
getDfsUsedValueOfNewVolume(long, long)1610%40%33343411
testNotifyNamenodeMissingOrNewBlock()1610%n/a11414111
setUp()1440%20%22222211
testCleanShutdownOfVolume()1400%40%33383811
testAddVolumeFailureReleasesInUseLock()1350%20%22303011
testInvalidateMissingBlock()1350%n/a11333311
testDeletingBlocks()1330%20%22292911
testDnRestartWithHardLinkInTmp()1240%20%22303011
testRemoveNewlyAddedVolume()1210%20%22202011
testMoveBlockSuccessWithSameMountMove()1190%20%22292911
testMoveBlockFailure(Configuration)1180%40%33323211
testTransferAndNativeCopyMetrics()1180%40%33282811
testAppend()1130%60%44282811
testDuplicateReplicaResolution()1090%n/a11212111
testMoveBlockWithSameMountMoveWithoutSpace()930%20%22252511
testReportBadBlocks()920%n/a11252511
testReleaseVolumeRefIfExceptionThrown()900%n/a11212111
testConcurrentWriteAndDeleteBlock()850%60%44161611
testShouldConsiderSameMountVolume()840%n/a11222211
createStorageWithCapacityRatioConfig(String, String, String)830%20%22111111
createStorageDirs(DataStorage, Configuration, int)800%20%22141411
testReplicaCacheFileToOtherPlace()790%60%44161611
testMoveBlockSuccess()760%20%22202011
testAddVolumeWithSameStorageUuid()730%n/a11181811
testGetMetadataLengthOfFinalizedReplica()730%40%33202011
testRemoveVolumeBeingWritten()680%n/a11171711
createStorageWithStorageType(String, StorageType, Configuration, DataStorage, DataNode)560%n/a11121211
testDataDirWithPercent()360%n/a11111111
getDestinationVolume(ExtendedBlock, FsDatasetImpl)320%40%339911
testLoadingDfsUsedForVolumesExpired()270%20%227711
static {...}270%20%225511
testLoadingDfsUsedForVolumes()220%n/a117711
validateFileLen(FileSystem, long, Path)220%40%336611
testMoveBlockFailure()190%n/a115511
TestFsDatasetImpl()170%n/a114411
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