DFSStripedOutputStream

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,534 of 2,5340%294 of 2940%1961965665664949
getAckedLength()2110%280%1515393911
DFSStripedOutputStream(DFSClient, String, HdfsFileStatus, EnumSet, Progressable, DataChecksum, String[])1760%40%33323211
allocateNewBlock()1760%220%1212353511
checkStreamerFailures(boolean)1420%280%1515333311
waitCreatingStreamers(Set)1390%160%99303011
closeImpl()1270%160%99454511
writeChunk(byte[], int, int, byte[], int, int)1110%180%1010292911
updatePipeline(ExtendedBlock)1040%100%66212111
flushAllInternals()1010%60%44252511
replaceFailedStreamers()950%140%88161611
writeParity(int, ByteBuffer, byte[])880%60%44222211
generateParityCellsForLastStripe()870%140%88151511
updateBlockForPipeline(Set)810%40%33131311
checkStreamers()760%100%66151511
markExternalErrorOnStreamers()630%140%88141411
logCorruptBlocks()550%40%33111111
abort()510%40%33161611
closeThreads(boolean)470%40%33171711
getExcludedNodes()460%60%447711
enqueueCurrentPacketFull()450%n/a117711
isStreamerWriting(int)390%80%558811
checkStreamerUpdates(Set, Set)390%80%557711
enqueueAllCurrentPackets()390%60%44101011
getBlockLengths()370%60%449911
writeParityCells()370%40%338811
setCurrentStreamer(int)330%40%338811
checkAnyParityStreamerIsHealthy()290%60%446611
encode(RawErasureEncoder, int, ByteBuffer[])280%n/a116611
isClosed()240%60%447711
handleStreamerFailure(String, Exception, StripedDataStreamer)230%n/a116611
DFSStripedOutputStream(DFSClient, String, EnumSet, Progressable, LocatedBlock, HdfsFileStatus, DataChecksum, String[])220%20%224411
waitEndBlocks(int)220%40%337711
shouldEndBlockGroup()180%40%332211
setClosed()180%20%225511
closeAllStreamers()160%20%224411
start()150%20%224411
static {...}120%20%222211
handleCurrentStreamerFailure(String, Exception)100%n/a113311
sleep(long, String)100%n/a115511
getStripedDataStreamer(int)60%n/a111111
stripeDataSize()60%n/a111111
hsync(EnumSet)50%n/a112211
useDirectBuffer()40%n/a111111
getCurrentIndex()40%n/a111111
getCurrentStreamer()40%n/a111111
hflush()40%n/a112211
hsync()40%n/a112211
getBlock()30%n/a111111
hasCapability(String)20%n/a111111