TestFSImage

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,680 of 2,6800%80 of 800%72727067063232
testSupportBlockGroup()2800%20%22727211
testSaveAndLoadStripedINodeFile(FSNamesystem, Configuration, boolean)2200%120%77505011
testSaveAndLoadFileUnderReplicationPolicyDir()1960%20%22494911
testUpdateBlocksMapAndNameCacheAsync()1950%100%66434311
testChangeErasureCodingPolicyState(MiniDFSCluster, int, ErasureCodingPolicy, boolean)1820%20%22535311
testSaveAndLoadErasureCodingPolicies()1460%n/a11393911
testHasNonEcBlockUsingStripedIDForLoadFile()1440%20%22424211
testLoadMtimeAtime()1430%20%22333311
testHasNonEcBlockUsingStripedIDForLoadSnapshot()1320%20%22383811
createAndLoadParallelFSImage(Configuration)1240%80%55282811
testPersistHelper(Configuration)1220%20%22333311
testHasNonEcBlockUsingStripedIDForLoadUCFile()1150%20%22333311
testZeroBlockSize()960%40%33242411
testRemovalStaleFsimageCkpt()730%40%33232311
testParallelSaveAndLoadWithCompression()720%20%22242411
testParallelSaveAndLoad()640%20%22222211
ensureSubSectionsAlignWithParent(ArrayList, FsImageProto.FileSummary.Section)580%20%229911
testDigest()480%20%22151511
testCtime()450%60%44121211
isPolicyEnabledInFsImage(ErasureCodingPolicy)340%40%335511
testImportCheckpoint()320%n/a118811
testSaveAndLoadStripedINodeFile()280%20%229911
testSaveAndLoadStripedINodeFileUC()280%20%229911
getSubSectionsOfName(ArrayList, FSImageFormatProtobuf.SectionName)270%40%336611
testCompression()210%n/a116611
testNativeCompression()150%n/a115511
testBlockTypeProtoDefaultsToContiguous()130%n/a116611
testPersist()80%n/a113311
setCompressCodec(Configuration, String)80%n/a113311
lambda$testImportCheckpoint$0(FSImage, FSNamesystem)40%n/a111111
static {...}40%n/a112211
TestFSImage()30%n/a111111