TestDatanodeManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,132 of 3,1320%80 of 800%65656146142525
testGetBlockLocationConsiderStorageTypeAndLoad()3250%20%22595911
HelperFunction(String, int)3220%120%77606011
testGetBlockLocationConsiderStorageType()3160%20%22565611
testNumVersionsReportedCorrect()2820%220%1212575711
testGetBlockLocationConsiderLoad()2780%20%22535311
verifyPendingRecoveryTasks(int, int, int, int, int, int, int, int, boolean)2560%120%77585811
verifyComputeReconstructedTaskNum(int, int, int, int, int)2170%140%88373711
testGetBlockLocations()1990%20%22444411
testRemoveIncludedNode()1930%n/a11363611
testGetBlockLocationConsiderLoadWithNodesOfSameDistance()1900%60%44424211
testHost2NodeMapCorrectAfterReregister()1380%n/a11202011
testNumVersionsCorrectAfterReregister()890%40%33171711
testNetworkTopologyInstantiation()790%n/a11222211
testRejectUnresolvedDatanodes()670%n/a11181811
mockDatanodeManager(FSNamesystem, Configuration)460%n/a119911
testPendingRecoveryTasks()450%n/a115511
testComputeReconstructedTaskNum()290%n/a115511
testWithProvidedTypes()210%n/a115511
testgoodScript()70%n/a112211
testBadScript()70%n/a112211
TestDatanodeManager()60%n/a112211
lambda$verifyPendingRecoveryTasks$0(int)60%20%221111
entry(String)50%n/a111111
testSortLocatedBlocks()50%n/a112211
static {...}40%n/a112211