DFSOutputStream

Source file "org/apache/hadoop/hdfs/DFSOutputStream.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,051 of 2,0510%174 of 1740%1441444544545757
flushOrSync(boolean, EnumSet)3160%480%2525676711
newStreamForCreate(DFSClient, String, FsPermission, EnumSet, boolean, short, long, Progressable, DataChecksum, String[], String)1440%80%55242411
DFSOutputStream(DFSClient, String, EnumSet, Progressable, HdfsFileStatus, DataChecksum)1420%100%66313111
addBlock(DatanodeInfo[], DFSClient, String, ExtendedBlock, long, String[], EnumSet)1260%80%55272711
completeFile(ExtendedBlock)1210%140%88272711
writeChunkPrepare(int, int, int)1120%80%55141411
DFSOutputStream(DFSClient, String, EnumSet, Progressable, LocatedBlock, HdfsFileStatus, DataChecksum, String[])880%60%44141411
adjustPacketChunkSize(HdfsFileStatus)730%60%44131311
closeImpl()580%80%55222211
abort()550%40%33151511
computePacketChunkSize(int, int)500%n/a117711
enqueueCurrentPacketFull()470%n/a118811
writeChunk(byte[], int, int, byte[], int, int)420%40%339911
adjustChunkBoundary()420%60%449911
DFSOutputStream(DFSClient, String, HdfsFileStatus, EnumSet, Progressable, DataChecksum, String[], boolean)410%20%226611
writeChunk(ByteBuffer, int, byte[], int, int)410%40%339911
createPacket(int, int, long, long, boolean)400%n/a119911
close()350%20%22121211
newStreamForAppend(DFSClient, String, EnumSet, Progressable, LocatedBlock, HdfsFileStatus, DataChecksum, String[])330%20%227711
getPipeline()270%40%338811
flushInternalWithoutWaitingAck()260%n/a118811
getCurrentBlockReplication()240%40%338811
cleanupAndRethrowIOException(IOException)230%20%229911
closeThreads(boolean)220%n/a118811
initWritePacketSize()210%20%226611
setDropBehind(Boolean)200%20%225511
setCurrentPacketToEmpty()190%n/a114411
endBlock()190%20%226611
setChunksPerPacket(int)170%n/a113311
completeFile()160%n/a115511
hflush()150%n/a113311
hsync()150%n/a113311
getChecksum4Compute(DataChecksum, HdfsFileStatus)140%40%334411
hsync(EnumSet)140%n/a113311
toString()140%n/a111111
hasCapability(String)130%20%223311
static {...}130%20%224411
setClosed()120%n/a114411
isClosed()110%40%331111
exceptionNeedsCleanup(IOException)100%40%331111
enqueueCurrentPacket()90%n/a113311
checkClosed()80%20%223311
flushInternal()80%n/a113311
createWriteTraceScope()70%n/a111111
setAppendChunk(boolean)50%n/a112211
setBytesCurBlock(long)50%n/a112211
setArtificialSlowdown(long)50%n/a112211
start()40%n/a112211
getBlockToken()40%n/a111111
getBlock()40%n/a111111
getNumCurrentReplicas()30%n/a111111
getInitialLen()30%n/a111111
getAddBlockFlags()30%n/a111111
getFileEncryptionInfo()30%n/a111111
getFileId()30%n/a111111
getSrc()30%n/a111111
getStreamer()30%n/a111111