TestNetworkTopology

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,482 of 2,4820%166 of 1660%1091093953952626
testSortByDistance()8270%880%454510210211
testChooseRandomExcludedNodeList()1700%80%55262611
testInvalidNetworkTopologiesNotCachedInHdfs()1560%160%99353511
testGetWeightForDepth()1550%20%22232311
setupDatanodes()1530%20%22272711
testGetDistance()1340%n/a11171711
testShuffleInternal(int)870%60%44161611
testGetWeight()730%n/a11101011
testRacks()720%n/a118811
testRemove()710%60%44111111
testChooseRandomExcludeAllNodes()610%60%448811
pickNodesAtRandom(int, String, Collection)590%60%449911
testCreateInvalidTopology()560%n/a11151511
verifyResults(int, Set, Map)480%60%449911
testChooseRandomExcludedNode()470%60%445511
testCountNumOfAvailableNodes()470%n/a11111111
testChooseRandomExcludedRack()440%60%447711
testChooseRandomInclude1()400%20%229911
testAddAndRemoveNodeWithEmptyRack()400%n/a11111111
testChooseRandomInclude2()390%n/a11101011
testChooseRandomInclude3()370%40%337711
testContains()250%20%226611
testShuffle()130%n/a115511
TestNetworkTopology()100%n/a112211
testNumOfChildren()90%n/a112211
static {...}90%n/a114411