HistoryFileManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,581 of 1,5810%132 of 1320%1011013613613535
tryCreatingHistoryDirs(boolean)2010%140%88424211
scanIntermediateDirectory(Path)1640%220%1212353511
initExisting()1230%100%66212111
clean()1080%100%66313111
addDirectoryToJobListCache(Path)860%60%44181811
makeDoneSubdir(Path)790%20%22161611
serviceInit(Configuration)740%n/a11141411
mkdir(FileContext, Path, FsPermission)710%40%33121211
createHistoryDirs(Clock, long, long)600%120%77151511
addDirectoryToSerialNumberIndex(Path)590%60%44131311
scanIntermediateDirectory()580%80%55151511
moveToDoneNow(Path, Path)570%20%229911
getJobFileInfo(List, JobId)540%40%33141411
scanDirectory(Path, FileContext, PathFilter)490%60%44131311
scanOldDirsForJob(JobId)470%60%44121211
removeDirectoryFromSerialNumberIndex(Path)450%40%33131311
HistoryFileManager()370%n/a11121211
getFileInfo(JobId)300%60%44111111
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