SnapshotManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,307 of 1,3070%114 of 1140%1121123133135555
SnapshotManager(Configuration, FSDirectory)1250%20%22232311
getSnapshottableDirListing(String)820%100%66202011
deleteSnapshot(INodesInPath, String, INode.ReclaimContext, long)750%40%33212111
checkNestedSnapshottable(INodeDirectory, String)640%80%55111111
getSnapshotListing(INodesInPath)640%20%22161611
diff(INodesInPath, String, String, String)590%120%77141411
createSnapshot(LeaseManager, INodesInPath, String, String, long)500%20%229911
resetSnapshottable(String)490%60%44121211
getSnapshottableAncestorDir(INodesInPath)490%100%66121211
assertFirstSnapshot(INodeDirectory, DirectorySnapshottableFeature, Snapshot)440%20%227711
getSnapshots()410%40%337711
diff(INodesInPath, String, String, String, byte[], int, int)400%40%33111111
checkSnapshotLimit(int, int, String)390%40%336611
write(DataOutput)390%40%339911
assertPrior(INodeDirectory, String, int)380%40%337711
read(DataInput, FSImageFormat.Loader)350%20%227711
assertMarkedAsDeleted(INodesInPath, String)340%20%228811
setSnapshottable(String, boolean)300%40%339911
getSnapshottableDirectories()280%20%225511
getSnapshottableRoot(INodesInPath)250%20%225511
checkAndGetSnapshottableAncestorDir(INodesInPath)230%20%224411
chooseDeletedSnapshot(INodeDirectory)230%60%44101011
isDescendantOfSnapshotRoot(INodeDirectory)220%60%446611
toBean(INodeDirectory)220%n/a118811
chooseDeletedSnapshot()210%40%336611
removeSnapshottable(List)170%40%335511
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