BlockManagerSafeMode

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,271 of 1,2710%202 of 2020%1261262512512323
getSafeModeTip()2430%180%1111454511
adjustBlockTotals(int, int)1340%140%88141411
leaveSafeMode(boolean)1240%180%1010363611
BlockManagerSafeMode(BlockManager, Namesystem, boolean, Configuration)1160%20%22272711
checkSafeMode()860%180%1111202011
doConsistencyCheck()660%120%77111111
decrementSafeBlockCount(BlockInfo)630%160%99121211
incrementSafeBlockCount(int, BlockInfo)570%140%88141411
areThresholdsMet()550%160%999911
activate(long)510%100%66131311
checkBlocksWithFutureGS(BlockListAsLongs.BlockReportReplica)460%140%889911
reportStatus(String, boolean)400%80%557711
setBlockTotal(long)380%40%337711
initializeReplQueuesIfNecessary()380%140%886611
isSafeModeTrackingBlocks()220%80%552211
close()220%40%336611
timeToLeaveExtension()160%20%221111
static {...}160%20%223311
isInRollBackMode(HdfsServerConstants.StartupOption)140%60%442211
isInSafeMode()100%20%224411
getBytesInFuture()60%n/a111111
getBytesInFutureBlocks()40%n/a111111
getBytesInFutureECBlockGroups()40%n/a111111