HistoryFileManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,344 of 1,3440%132 of 1320%1011013613613535
tryCreatingHistoryDirs(boolean)1530%140%88424211
scanIntermediateDirectory(Path)1380%220%1212353511
clean()1080%100%66313111
initExisting()1010%100%66212111
addDirectoryToJobListCache(Path)720%60%44181811
serviceInit(Configuration)660%n/a11141411
makeDoneSubdir(Path)610%20%22161611
scanIntermediateDirectory()570%80%55151511
getJobFileInfo(List, JobId)540%40%33141411
createHistoryDirs(Clock, long, long)520%120%77151511
scanOldDirsForJob(JobId)470%60%44121211
mkdir(FileContext, Path, FsPermission)450%40%33121211
scanDirectory(Path, FileContext, PathFilter)430%60%44131311
HistoryFileManager()370%n/a11121211
moveToDoneNow(Path, Path)370%20%229911
addDirectoryToSerialNumberIndex(Path)350%60%44131311
getFileInfo(JobId)300%60%44111111
removeDirectoryFromSerialNumberIndex(Path)290%40%33131311
getJobSummary(FileContext, Path)210%20%228811
isNameNodeStillNotStarted(Exception)200%60%443311
createMoveToDoneThreadPool(int)190%n/a113311
canonicalHistoryLogPath(JobId, long)140%n/a113311
createJobListCache()110%n/a111111
canonicalHistoryLogPath(JobId, String)110%n/a111111
createHistoryFileInfo(Path, Path, Path, JobIndexInfo, boolean)100%n/a111111
deleteDir(FileStatus)100%n/a111111
findTimestampedDirectories()90%n/a112211
getEffectiveTimestamp(long, FileStatus)90%20%223311
static {...}90%n/a116611
serviceStop()70%n/a113311
deleteJobFromDone(HistoryFileManager.HistoryFileInfo)70%n/a113311
getHistoryDirsForCleaning(long)70%n/a112211
getAllFileInfo()60%n/a112211
scanDirectoryForHistoryFiles(Path, FileContext)50%n/a111111
setMaxHistoryAge(long)40%n/a112211