BlockUnderConstructionFeature

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total649 of 6490%86 of 860%64641431432121
initializeBlockRecovery(BlockInfo, long, boolean)1390%260%1414353511
addReplicaIfNotPresent(DatanodeStorageInfo, Block, HdfsServerConstants.ReplicaState)950%100%66181811
setExpectedLocations(Block, DatanodeStorageInfo[], BlockType)730%120%77151511
updateStorageScheduledSize(BlockInfoStriped)590%140%88141411
appendUCParts(StringBuilder)560%40%33111111
appendUCPartsConcise(StringBuilder)400%40%337711
getStaleReplicas(long)320%40%335511
BlockUnderConstructionFeature(Block, HdfsServerConstants.BlockUCState, DatanodeStorageInfo[], BlockType)310%40%338811
getBlockIndicesForSpecifiedStorages(List)260%20%224411
getExpectedStorageLocations()230%20%225511
getBlockIndices()230%20%225511
toString()110%n/a113311
static {...}110%20%222211
getExpectedStorageLocationsIterator()50%n/a111111
getNumExpectedLocations()40%n/a111111
setBlockUCState(HdfsServerConstants.BlockUCState)40%n/a112211
setTruncateBlock(BlockInfo)40%n/a112211
commit()40%n/a112211
getBlockUCState()30%n/a111111
getBlockRecoveryId()30%n/a111111
getTruncateBlock()30%n/a111111