NetworkTopology

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

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,490 of 1,4900%222 of 2220%1491493473473838
chooseRandom(String, String, Collection)1480%220%1212323211
chooseRandom(InnerNode, Node, Collection, int, int)1400%200%1111292911
add(Node)1350%200%1111242411
getDistance(Node, Node)1140%300%1616292911
sortByDistance(Node, Node[], int, boolean)1140%160%99252511
countNumOfAvailableNodes(String, Collection)1040%160%99282811
getWeightUsingNetworkLocation(Node, Node)770%140%88212111
getWeight(Node, Node)710%220%1212212111
getDistanceByPath(Node, Node)640%120%77171711
remove(Node)620%80%55131311
toString()550%20%22121211
normalizeNetworkLocationPath(String)430%80%558811
getDatanodesInRack(String)390%40%339911
contains(Node)370%80%559911
getLeaves(String)360%40%338811
chooseRandom(String, Collection)300%20%225511
NetworkTopology()270%n/a118811
getNode(String)260%20%226611
isOnSameRack(Node, Node)210%40%335511
incrementRacks()170%40%334411
init(InnerNode.Factory)150%20%224411
getNumOfLeaves()140%n/a113311
getInstance(Configuration, InnerNode.Factory)130%n/a113311
getNumOfRacks()130%n/a113311
isSameParents(Node, Node)90%20%221111
getFirstHalf(String)90%n/a112211
getLastHalf(String)80%n/a112211
static {...}80%n/a113311
sortByDistance(Node, Node[], int)70%n/a112211
sortByDistanceUsingNetworkLocation(Node, Node[], int)70%n/a112211
getNodeForNetworkLocation(Node)50%n/a111111
chooseRandom(String)50%n/a111111
getInstance(Configuration)40%n/a111111
setRandomSeed(long)40%n/a112211
hasClusterEverBeenMultiRack()30%n/a111111
getRack(String)20%n/a111111
isNodeGroupAware()20%n/a111111
isOnSameNodeGroup(Node, Node)20%n/a111111