SnapshotManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,169 of 1,1690%114 of 1140%1121123133135555
SnapshotManager(Configuration, FSDirectory)1070%20%22232311
getSnapshottableDirListing(String)820%100%66202011
deleteSnapshot(INodesInPath, String, INode.ReclaimContext, long)750%40%33212111
getSnapshotListing(INodesInPath)640%20%22161611
diff(INodesInPath, String, String, String)590%120%77141411
getSnapshottableAncestorDir(INodesInPath)490%100%66121211
createSnapshot(LeaseManager, INodesInPath, String, String, long)440%20%229911
checkNestedSnapshottable(INodeDirectory, String)420%80%55111111
resetSnapshottable(String)410%60%44121211
getSnapshots()410%40%337711
diff(INodesInPath, String, String, String, byte[], int, int)400%40%33111111
write(DataOutput)390%40%339911
read(DataInput, FSImageFormat.Loader)350%20%227711
setSnapshottable(String, boolean)300%40%339911
getSnapshottableDirectories()280%20%225511
assertMarkedAsDeleted(INodesInPath, String)230%20%228811
chooseDeletedSnapshot(INodeDirectory)230%60%44101011
assertFirstSnapshot(INodeDirectory, DirectorySnapshottableFeature, Snapshot)220%20%227711
isDescendantOfSnapshotRoot(INodeDirectory)220%60%446611
toBean(INodeDirectory)220%n/a118811
checkSnapshotLimit(int, int, String)210%40%336611
chooseDeletedSnapshot()210%40%336611
getSnapshottableRoot(INodesInPath)190%20%225511
assertPrior(INodeDirectory, String, int)190%40%337711
removeSnapshottable(List)170%40%335511
checkAndGetSnapshottableAncestorDir(INodesInPath)150%20%224411
toBean(Snapshot)150%n/a116611
addSnapshottable(INodeDirectory)120%n/a113311
isDeletionOrdered()110%20%222211
renameSnapshot(INodesInPath, String, String, String, long)110%n/a113311
removeSnapshottable(INodeDirectory)80%n/a112211
static {...}80%n/a113311
checkFileSystemSnapshotLimit(int)70%n/a112211
checkPerDirectorySnapshotLimit(int)70%n/a112211
getSnapshottableDirs()70%n/a111111
registerMXBean()70%n/a112211
shutdown()70%n/a113311
getSnapshottableDirsForGc()70%n/a113311
initThreadLocals()60%n/a112211
setNumSnapshots(int)50%n/a112211
setCaptureOpenFiles(boolean)40%n/a112211
setAllowNestedSnapshots(boolean)40%n/a112211
isImageLoaded()40%n/a111111
getNumSnapshottableDirs()40%n/a111111
getNumSnapshots()40%n/a111111
setSnapshotCounter(int)40%n/a112211
clearSnapshottableDirs()40%n/a112211
isSnapshotDeletionOrdered()30%n/a111111
getSkipCaptureAccessTimeOnlyChange()30%n/a111111
isAllowNestedSnapshots()30%n/a111111
captureOpenFiles()30%n/a111111
getMaxSnapshotLimit()30%n/a111111
getSnapshotCounter()30%n/a111111
buildXAttr()30%n/a111111
getMaxSnapshotID()20%n/a111111