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

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total53,956 of 53,9560%1,965 of 1,9650%1,9931,99310,95810,9581,0061,006103103
TestRenameWithSnapshots7,6910%380%69691,6211,621505011
TestSnapshotDiffReport6,1300%580%7070923923414111
TestSnapshotDeletion4,1160%440%5151756756292911
TestAclWithSnapshot2,6680%40%3333586586313111
TestOpenFilesWithSnapshot2,2740%180%3434518518252511
TestFSImageWithOrderedSnapshotDeletion1,7180%20%2121336336202011
TestRandomOpsWithSnapshots1,6570%1010%7474315315202011
TestSnapshot1,5780%200%3434320320242411
SnapshotManager1,3070%1140%112112313313555511
TestSnapshotBlocksMap1,1620%100%1717209209121211
TestSnapshotRename1,1570%120%2626212212202011
DirectorySnapshottableFeature1,0540%1460%9494241241212111
TestXAttrWithSnapshot1,0290%40%2020218218181811
DirectoryWithSnapshotFeature8570%1540%9595196196181811
TestNestedSnapshots8510%380%3131165165121211
TestDiffListBySkipList8170%400%5252159159323211
FSImageFormatPBSnapshot.Loader7740%790%5151200200111111
TestFsShellMoveToTrashWithSnapshots7130%360%4343131131252511
TestOrderedSnapshotDeletion6810%80%1919155155151511
FSImageFormatPBSnapshot.Saver6400%640%41411541549911
TestINodeFileUnderConstructionWithSnapshot6270%20%991381388811
TestSnapshottableDirListing6150%20%661181185511
AbstractINodeDiffList6010%1160%8585133133272711
DiffListBySkipList5700%720%5454124124181811
SnapshotTestHelper4980%260%2525107107121211
TestOrderedSnapshotDeletionGc4960%160%17171151159911
TestFileWithSnapshotFeature4940%n/a4490904411
FileWithSnapshotFeature4890%740%4949117117121211
TestSnapshotReplication4530%180%181875759911
SnapshotDiffInfo4260%420%37378888161611
SnapshotTestHelper.MyCluster4240%100%22228585171711
TestSnapshotFileLength4200%20%771031036611
TestSnapshotMetrics4040%20%6679795511
SnapshotFSImageFormat3790%420%35359393141411
SnapshotDiffListingInfo3770%400%32328282121211
TestGetContentSummaryWithSnapshot3500%20%5580804411
TestSetQuotaWithSnapshot3480%20%6672725511
TestListSnapshot3180%60%8869695511
TestSnapshotManager3180%100%131374748811
FileDiffList2960%700%444464649911
DiffListBySkipList.SkipListNode2790%420%36365353151511
TestSnapshot.DirRename2530%160%121243434411
TestSnapshot.FileAppend2390%180%131339394411
TestSnapshotListing2370%100%9944444411
Snapshot2250%220%29294747181811
TestFileContextSnapshot2250%20%6647475511
TestSnapshot.DirCreationOrDeletion2240%220%151542424411
TestRenameWithOrderedSnapshotDeletion2140%20%6646465511
TestSnapRootDescendantDiff2000%40%9938387711
TestDisallowModifyROSnapshot1980%20%16165353151511
DirectoryWithSnapshotFeature.DirectoryDiff1980%200%24244747141411
SnapshotTestHelper.TestDirectoryTree1890%80%8830304411
TestRandomOpsWithSnapshots.Operations1830%130%121240405511
FileDiff1760%220%22223939111111
TestCheckpointsWithSnapshots1730%40%6645454411
DirectoryWithSnapshotFeature.ChildrenDiff1660%180%181843439911
TestSnapshot.FileStatusChange1520%140%101028283311
SnapshotDeletionGc1500%80%9938385511
TestOpenFilesWithSnapshot.new Runnable() {...}1450%120%8829292211
TestSnapshot.FileCreation1370%200%151529295511
Snapshot.Root1230%220%22222626111111
TestFsShellMoveToTrashWithSnapshots.MyDirs1140%80%9922225511
TestUpdatePipelineWithSnapshots1130%n/a2233332211
DirectoryWithSnapshotFeature.DirectoryDiffList1130%140%151526268811
TestSnapshotStatsMXBean1080%20%3329292211
SnapshotFSImageFormat.ReferenceMap1070%80%8825254411
TestSnapshotNameWithInvalidCharacters960%20%7729296611
SnapshotTestHelper.TestDirectoryTree.Node960%80%8821214411
AbstractINodeDiff950%80%14142424101011
DirectoryWithSnapshotFeature.DirectoryDiff.new ReadOnlyList() {...}890%60%9921216611
TestFsShellMoveToTrashWithSnapshots.MyFile850%40%6612124411
SnapshotDiffInfo.RenameEntry820%60%101015157711
TestSnapshot.FileDeletion800%80%8817174411
DiffListByArrayList780%80%16161717121211
SnapshotTestHelper.Log4jRecorder720%40%9918187711
DirectoryDiffListFactory690%60%101016167711
DirectorySnapshottableFeature.1.new Iterator() {...}660%60%8816165511
DiffList.new DiffList() {...}0%n/a10101010101011
TestDiffListBySkipList.new ToIntBiFunction() {...}0%40%44882211
TestSnapshot.FileAppendNotClose0%n/a22992211
TestSnapshotDeletion.new PrivilegedAction() {...}0%n/a22882211
SnapshotDiffInfo.new Comparator() {...}0%80%66882211
TestDiffListBySkipList.new ToIntBiFunction() {...}0%40%44772211
TestSnapshot.FileAppendClose0%n/a22992211
TestFsShellMoveToTrashWithSnapshots.MoveToTrashOp0%n/a22882211
TestSnapshot.Modification0%n/a22662211
SnapshotDeletionGc.GcTask0%n/a22552211
DiffListBySkipList.SkipDiff0%n/a7711117711
TestSnapshot.FileChown0%n/a22772211
TestSnapshot.FileChangeReplication0%n/a22662211
TestSnapshot.FileChangePermission0%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