FSDirWriteFileOp

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,651 of 1,6510%190 of 1900%1181183583582323
startFile(FSNamesystem, INodesInPath, PermissionStatus, String, String, EnumSet, boolean, short, long, FileEncryptionInfo, INode.BlocksMapUpdateInfo, boolean, String, String, boolean)2020%200%1111404011
analyzeFileState(FSNamesystem, INodesInPath, long, String, ExtendedBlock, LocatedBlock[])1730%200%1111292911
addFileForEditLog(FSDirectory, long, INodesInPath, byte[], PermissionStatus, List, List, short, long, long, long, boolean, String, String, byte, byte)1480%240%1313353511
addFile(FSDirectory, INodesInPath, byte[], PermissionStatus, short, long, String, String, boolean, String, String)1430%220%1212343411
validateAddBlock(FSNamesystem, FSPermissionChecker, String, long, String, ExtendedBlock, LocatedBlock[])1200%100%66232311
addBlock(FSDirectory, String, INodesInPath, Block, DatanodeStorageInfo[], BlockType)1050%40%33252511
completeFileInternal(FSNamesystem, INodesInPath, String, Block, long)990%160%99222211
storeAllocatedBlock(FSNamesystem, String, long, String, ExtendedBlock, DatanodeStorageInfo[])960%40%33222211
resolvePathForStartFile(FSDirectory, FSPermissionChecker, String, EnumSet, boolean)750%140%88151511
chooseTargetForNewBlock(BlockManager, String, DatanodeInfo[], String[], EnumSet, FSDirWriteFileOp.ValidateAddBlockResult)640%120%77151511
unprotectedRemoveBlock(FSDirectory, String, INodesInPath, INodeFile, Block)500%60%44121211
abandonBlock(FSDirectory, FSPermissionChecker, ExtendedBlock, long, String, String)470%40%33141411
logAllocatedBlock(String, BlockInfo)440%40%33121211
persistBlocks(FSDirectory, String, INodeFile, boolean)420%60%447711
setNewINodeStoragePolicy(BlockManager, INodesInPath, boolean)410%80%55161611
getClientNode(BlockManager, String)370%20%228811
completeFile(FSNamesystem, FSPermissionChecker, String, String, ExtendedBlock, long)370%20%227711
persistNewBlock(FSNamesystem, String, INodeFile)340%20%227711
checkBlock(FSNamesystem, ExtendedBlock)280%40%334411
saveAllocatedBlock(FSNamesystem, String, INodesInPath, Block, DatanodeStorageInfo[], BlockType)250%40%335511
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