org.apache.hadoop.hdfs.server.namenode.snapshot

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total51,762 of 51,7620%1,965 of 1,9650%1,9931,99310,95310,9531,0061,006103103
TestRenameWithSnapshots7,5060%380%69691,6211,621505011
TestSnapshotDiffReport5,8930%580%7070923923414111
TestSnapshotDeletion3,8830%440%5151756756292911
TestAclWithSnapshot2,6320%40%3333586586313111
TestOpenFilesWithSnapshot2,2440%180%3434518518252511
TestFSImageWithOrderedSnapshotDeletion1,6730%20%2121336336202011
TestSnapshot1,5170%200%3434320320242411
TestRandomOpsWithSnapshots1,4170%1010%7474315315202011
SnapshotManager1,1690%1140%112112313313555511
TestSnapshotBlocksMap1,1560%100%1717209209121211
TestSnapshotRename1,1270%120%2626212212202011
TestXAttrWithSnapshot9990%40%2020218218181811
DirectorySnapshottableFeature9650%1460%9494241241212111
DirectoryWithSnapshotFeature8510%1540%9595194194181811
FSImageFormatPBSnapshot.Loader7740%790%5151200200111111
TestNestedSnapshots7670%380%3131165165121211
TestDiffListBySkipList6940%400%5252159159323211
TestFsShellMoveToTrashWithSnapshots6830%360%4343131131252511
TestOrderedSnapshotDeletion6750%80%1919155155151511
TestINodeFileUnderConstructionWithSnapshot6270%20%991381388811
TestSnapshottableDirListing6150%20%661181185511
FSImageFormatPBSnapshot.Saver6010%640%41411541549911
AbstractINodeDiffList6010%1160%8585133133272711
DiffListBySkipList5550%720%5454124124181811
TestFileWithSnapshotFeature4940%n/a4490904411
FileWithSnapshotFeature4750%740%4949117117121211
TestOrderedSnapshotDeletionGc4720%160%17171151159911
TestSnapshotReplication4410%180%181875759911
SnapshotTestHelper4390%260%2525107107121211
SnapshotDiffInfo4260%420%37378888161611
TestSnapshotFileLength4120%20%771031036611
TestSnapshotMetrics4040%20%6679795511
SnapshotDiffListingInfo3770%400%32328282121211
SnapshotFSImageFormat3710%420%35359393141411
SnapshotTestHelper.MyCluster3610%100%22228585171711
TestGetContentSummaryWithSnapshot3500%20%5580804411
TestSetQuotaWithSnapshot3480%20%6672725511
TestListSnapshot3180%60%8869695511
TestSnapshotManager3060%100%131374748811
FileDiffList2960%700%444464649911
DiffListBySkipList.SkipListNode2730%420%36365353151511
TestSnapshot.DirRename2350%160%121242424411
TestFileContextSnapshot2190%20%6647475511
TestSnapshot.DirCreationOrDeletion2180%220%151541414411
TestRenameWithOrderedSnapshotDeletion2080%20%6646465511
TestSnapshotListing2070%100%9944444411
Snapshot2000%220%29294747181811
TestDisallowModifyROSnapshot1980%20%16165353151511
TestSnapshot.FileAppend1910%180%131339394411
DirectoryWithSnapshotFeature.DirectoryDiff1870%200%24244747141411
TestRandomOpsWithSnapshots.Operations1830%130%121240405511
SnapshotTestHelper.TestDirectoryTree1770%80%8830304411
TestSnapRootDescendantDiff1740%40%9938387711
TestCheckpointsWithSnapshots1730%40%6645454411
FileDiff1660%220%22223939111111
DirectoryWithSnapshotFeature.ChildrenDiff1660%180%181843439911
SnapshotDeletionGc1430%80%9938385511
TestSnapshot.FileCreation1370%200%151528285511
TestSnapshot.FileStatusChange1280%140%101028283311
TestOpenFilesWithSnapshot.new Runnable() {...}1270%120%8829292211
Snapshot.Root1230%220%22222626111111
TestFsShellMoveToTrashWithSnapshots.MyDirs1140%80%9922225511
TestUpdatePipelineWithSnapshots1130%n/a2233332211
DirectoryWithSnapshotFeature.DirectoryDiffList1120%140%151526268811
TestSnapshotStatsMXBean1080%20%3329292211
SnapshotFSImageFormat.ReferenceMap1070%80%8825254411
TestSnapshotNameWithInvalidCharacters960%20%7729296611
SnapshotTestHelper.TestDirectoryTree.Node890%80%8821214411
DirectoryWithSnapshotFeature.DirectoryDiff.new ReadOnlyList() {...}890%60%9921216611
AbstractINodeDiff830%80%14142424101011
SnapshotDiffInfo.RenameEntry820%60%101015157711
TestSnapshot.FileDeletion800%80%8817174411
DiffListByArrayList780%80%16161717121211
SnapshotTestHelper.Log4jRecorder720%40%9918187711
DirectorySnapshottableFeature.1.new Iterator() {...}660%60%8816165511
TestFsShellMoveToTrashWithSnapshots.MyFile650%40%6612124411
DirectoryDiffListFactory0%60%101016167711
DiffList.new DiffList() {...}0%n/a10101010101011
TestSnapshot.FileAppendNotClose0%n/a22992211
TestDiffListBySkipList.new ToIntBiFunction() {...}0%40%44882211
SnapshotDiffInfo.new Comparator() {...}0%80%66882211
TestDiffListBySkipList.new ToIntBiFunction() {...}0%40%44772211
TestSnapshot.FileAppendClose0%n/a22992211
TestFsShellMoveToTrashWithSnapshots.MoveToTrashOp0%n/a22882211
DiffListBySkipList.SkipDiff0%n/a7711117711
TestSnapshotDeletion.new PrivilegedAction() {...}0%n/a22882211
TestSnapshot.FileChown0%n/a22772211
SnapshotDeletionGc.GcTask0%n/a22552211
TestSnapshot.FileChangeReplication0%n/a22662211
TestSnapshot.FileChangePermission0%n/a22662211
TestSnapshot.Modification0%n/a22662211
TestFsShellMoveToTrashWithSnapshots.Op0%20%44663311
DiffListBySkipList.new Iterator() {...}0%n/a33333311
TestRandomOpsWithSnapshots.new Supplier() {...}0%20%33222211
DirectoryWithSnapshotFeature.DirectoryDiff.new Diff.Processor() {...}0%20%33442211
TestRandomOpsWithSnapshots.OperationDirectories0%n/a11331111
TestRandomOpsWithSnapshots.OperationType0%n/a11331111
DiffList0%n/a33333311
Snapshot.new Comparator() {...}0%n/a22332211
FSImageFormatPBSnapshot.Loader.new Comparator() {...}0%n/a22222211
TestFsShellMoveToTrashWithSnapshots.DeleteSnapshotOp0%n/a22552211
DirectorySnapshottableFeature.new Iterable() {...}0%n/a22222211
Snapshot.new Comparator() {...}0%n/a22222211