FSDirWriteFileOp

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,427 of 1,4270%190 of 1900%1181183553552323
startFile(FSNamesystem, INodesInPath, PermissionStatus, String, String, EnumSet, boolean, short, long, FileEncryptionInfo, INode.BlocksMapUpdateInfo, boolean, String, String, boolean)1730%200%1111404011
addFileForEditLog(FSDirectory, long, INodesInPath, byte[], PermissionStatus, List, List, short, long, long, long, boolean, String, String, byte, byte)1400%240%1313353511
analyzeFileState(FSNamesystem, INodesInPath, long, String, ExtendedBlock, LocatedBlock[])1260%200%1111292911
addFile(FSDirectory, INodesInPath, byte[], PermissionStatus, short, long, String, String, boolean, String, String)1200%220%1212343411
validateAddBlock(FSNamesystem, FSPermissionChecker, String, long, String, ExtendedBlock, LocatedBlock[])1050%100%66232311
storeAllocatedBlock(FSNamesystem, String, long, String, ExtendedBlock, DatanodeStorageInfo[])960%40%33222211
addBlock(FSDirectory, String, INodesInPath, Block, DatanodeStorageInfo[], BlockType)940%40%33252511
completeFileInternal(FSNamesystem, INodesInPath, String, Block, long)850%160%99222211
chooseTargetForNewBlock(BlockManager, String, DatanodeInfo[], String[], EnumSet, FSDirWriteFileOp.ValidateAddBlockResult)640%120%77121211
resolvePathForStartFile(FSDirectory, FSPermissionChecker, String, EnumSet, boolean)630%140%88151511
abandonBlock(FSDirectory, FSPermissionChecker, ExtendedBlock, long, String, String)470%40%33141411
setNewINodeStoragePolicy(BlockManager, INodesInPath, boolean)410%80%55161611
unprotectedRemoveBlock(FSDirectory, String, INodesInPath, INodeFile, Block)390%60%44121211
logAllocatedBlock(String, BlockInfo)380%40%33121211
persistBlocks(FSDirectory, String, INodeFile, boolean)310%60%447711
getClientNode(BlockManager, String)300%20%228811
completeFile(FSNamesystem, FSPermissionChecker, String, String, ExtendedBlock, long)280%20%227711
saveAllocatedBlock(FSNamesystem, String, INodesInPath, Block, DatanodeStorageInfo[], BlockType)250%40%335511
persistNewBlock(FSNamesystem, String, INodeFile)220%20%227711
checkBlock(FSNamesystem, ExtendedBlock)190%40%334411
makeLocatedBlock(FSNamesystem, BlockInfo, DatanodeStorageInfo[], long)180%n/a114411
newINodeFile(long, PermissionStatus, long, long, Short, Byte, long, byte, BlockType)150%n/a111111
static {...}80%20%221111