id: 1 unit: public GraphAndGroundTruth generateWithOverlappingClusters() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 174 end line: 353 size: 160 LOC McCabe index: 29 number of parameters: 2 id: 2 unit: public GraphAndGroundTruth generateWithDisjointClusters() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 358 end line: 492 size: 119 LOC McCabe index: 22 number of parameters: 0 id: 3 unit: private int runEpoch() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 279 end line: 403 size: 109 LOC McCabe index: 23 number of parameters: 3 id: 4 unit: private static void run() file: src/main/java/com/twitter/sbf/app/Main.java start line: 54 end line: 174 size: 108 LOC McCabe index: 13 number of parameters: 0 id: 5 unit: private SparseRealMatrix getRepresentationsForRight() file: src/main/java/com/twitter/sbf/core/SimClustersInMemory.java start line: 205 end line: 315 size: 93 LOC McCabe index: 8 number of parameters: 0 id: 6 unit: public BipartiteGraph() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 110 end line: 206 size: 89 LOC McCabe index: 17 number of parameters: 1 id: 7 unit: private SparseRealMatrix getRepresentationsForLeft() file: src/main/java/com/twitter/sbf/core/SimClustersInMemory.java start line: 327 end line: 450 size: 70 LOC McCabe index: 12 number of parameters: 1 id: 8 unit: private SparseRealMatrix updateRepresentationsForRight() file: src/main/java/com/twitter/sbf/core/SimClustersInMemory.java start line: 471 end line: 573 size: 68 LOC McCabe index: 13 number of parameters: 1 id: 9 unit: private static long loadWeightedGraph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 392 end line: 462 size: 68 LOC McCabe index: 13 number of parameters: 5 id: 10 unit: private Map getMetrics() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 479 end line: 548 size: 67 LOC McCabe index: 7 number of parameters: 6 id: 11 unit: public Graph projectRight() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 248 end line: 375 size: 66 LOC McCabe index: 10 number of parameters: 1 id: 12 unit: private SparseBinaryMatrix divideIntoConnectedComponents() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 169 end line: 236 size: 65 LOC McCabe index: 9 number of parameters: 1 id: 13 unit: public static PredictionStat getPredictionStatVertexSampling() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 775 end line: 837 size: 61 LOC McCabe index: 14 number of parameters: 4 id: 14 unit: private static long loadUnweightedGraph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 283 end line: 342 size: 59 LOC McCabe index: 11 number of parameters: 3 id: 15 unit: public void initFromRows() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 119 end line: 175 size: 57 LOC McCabe index: 13 number of parameters: 1 id: 16 unit: private static Map getPredictionStatEdgeSampling() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 629 end line: 688 size: 56 LOC McCabe index: 9 number of parameters: 6 id: 17 unit: public SimClustersInMemory() file: src/main/java/com/twitter/sbf/core/SimClustersInMemory.java start line: 145 end line: 196 size: 51 LOC McCabe index: 4 number of parameters: 15 id: 18 unit: private static void run() file: src/main/java/com/twitter/sbf/simclusters_app/Main.java start line: 49 end line: 108 size: 49 LOC McCabe index: 4 number of parameters: 0 id: 19 unit: public Graph retainTopKEdgesInGraph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 841 end line: 901 size: 46 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: private void areListsSortedAndSymmetric() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 396 end line: 444 size: 44 LOC McCabe index: 13 number of parameters: 0 id: 21 unit: void updateRow() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 393 end line: 430 size: 38 LOC McCabe index: 7 number of parameters: 2 id: 22 unit: public Iterable iterableStringRepresentation() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 501 end line: 544 size: 38 LOC McCabe index: 7 number of parameters: 1 id: 23 unit: public GraphGenerator() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 70 end line: 108 size: 38 LOC McCabe index: 4 number of parameters: 11 id: 24 unit: public BipartiteSparseRepresentations runSimClusters() file: src/main/java/com/twitter/sbf/core/SimClustersInMemory.java start line: 584 end line: 629 size: 37 LOC McCabe index: 4 number of parameters: 0 id: 25 unit: public static void evalClusterPrecision() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 732 end line: 769 size: 36 LOC McCabe index: 9 number of parameters: 4 id: 26 unit: private Optional mhStep() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 839 end line: 875 size: 33 LOC McCabe index: 7 number of parameters: 4 id: 27 unit: public SparseBinaryMatrix optimize() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 102 end line: 137 size: 32 LOC McCabe index: 8 number of parameters: 0 id: 28 unit: public IntIterator getNeighbors() file: src/main/java/com/twitter/sbf/graph/SubGraphWithoutWeakLinks.java start line: 60 end line: 95 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 29 unit: public static PredictionStat clusterPrecision() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 694 end line: 726 size: 31 LOC McCabe index: 5 number of parameters: 5 id: 30 unit: public static Set connectedComponents() file: src/main/java/com/twitter/sbf/graph/ConnectedComponents.java start line: 49 end line: 81 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 31 unit: public void checkSymmetryAndSorting() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 213 end line: 243 size: 30 LOC McCabe index: 7 number of parameters: 0 id: 32 unit: public double getNeighborhoodConductance() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 92 end line: 123 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 33 unit: public Graph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 464 end line: 493 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 34 unit: public double affiliationOfVertexToSet() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 801 end line: 829 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 35 unit: public String toString() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 50 end line: 75 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: Graph getUnweightedSubGraph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 765 end line: 793 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 37 unit: private SparseBinaryMatrix removeSmallClusters() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 139 end line: 167 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: public Graph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 60 end line: 85 size: 25 LOC McCabe index: 5 number of parameters: 4 id: 39 unit: private void checkSizesOfNbrsAndWts() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 245 end line: 268 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 40 unit: public String toString() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 146 end line: 168 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: public double getNeighborhoodConductanceUnweighted() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 131 end line: 152 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 42 unit: public static void main() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 498 end line: 520 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: public SparseRealMatrix() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 34 end line: 55 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 44 unit: private static void writeRowsWithScores() file: src/main/java/com/twitter/sbf/simclusters_app/Main.java start line: 120 end line: 140 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 45 unit: public void initFromColSets() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 202 end line: 222 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 46 unit: private static void writeRowsWithScores() file: src/main/java/com/twitter/sbf/app/Main.java start line: 208 end line: 225 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 47 unit: public String toString() file: src/main/java/com/twitter/sbf/app/Config.java start line: 176 end line: 192 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: public double getWeightStandardDeviation() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 183 end line: 201 size: 17 LOC McCabe index: 5 number of parameters: 0 id: 49 unit: public MHAlgorithm() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 80 end line: 95 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 50 unit: private static List metricFieldsToUse() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 563 end line: 578 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 51 unit: private static boolean isOrphan() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 612 end line: 627 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 52 unit: private static void testReservoirSampling() file: src/main/java/com/twitter/sbf/util/Util.java start line: 65 end line: 80 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 53 unit: public static boolean hasCommonElement() file: src/main/java/com/twitter/sbf/util/Util.java start line: 90 end line: 105 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 54 unit: private int runEpochSerial() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 263 end line: 277 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 55 unit: private static double evalLikelihoodUnweighted() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 1190 end line: 1204 size: 15 LOC McCabe index: 4 number of parameters: 5 id: 56 unit: private static double evalLikelihoodWeighted() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 1218 end line: 1232 size: 15 LOC McCabe index: 4 number of parameters: 5 id: 57 unit: public void outputByCols() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 270 end line: 284 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: private IntSet lockAndReturnLockedColumns() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 247 end line: 261 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 59 unit: private static String metricsLineFromStrings() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 593 end line: 606 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: public IntIterator getNeighbors() file: src/main/java/com/twitter/sbf/graph/SubGraph.java start line: 50 end line: 63 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 61 unit: public static SparseRealMatrix heuristicallyScoreClusterAssignments() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 1406 end line: 1418 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 62 unit: public void outputByRows() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 248 end line: 261 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 63 unit: int nnzInColumnSum() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 439 end line: 453 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: public EnumeratedIntegerDistribution getDegreeDistribution() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 370 end line: 382 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: public double expectedIntraClusterEdges() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 142 end line: 154 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: public void add() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 76 end line: 87 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: private static String metricsLineFromValues() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 580 end line: 591 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 68 unit: public void initFromBestNeighborhoods() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 228 end line: 239 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 69 unit: public static void appendDoublesToFile() file: src/main/java/com/twitter/sbf/util/Util.java start line: 174 end line: 185 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 70 unit: public synchronized WeightedId next() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 624 end line: 635 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 71 unit: private float getWeightOfJInI() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 725 end line: 736 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 72 unit: private double sampleEdgeWeight() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 119 end line: 130 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 73 unit: private String getMetricsLine() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 550 end line: 560 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 74 unit: private static double likelihoodInternal() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 1206 end line: 1216 size: 11 LOC McCabe index: 1 number of parameters: 6 id: 75 unit: public void initFromRows() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 184 end line: 196 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: public BipartiteGraph() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 50 end line: 60 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 77 unit: public GraphGenerator() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 58 end line: 68 size: 11 LOC McCabe index: 1 number of parameters: 7 id: 78 unit: public void initEmptyRowsRandomly() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 103 end line: 112 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: public BipartiteSparseRepresentations() file: src/main/java/com/twitter/sbf/core/BipartiteSparseRepresentations.java start line: 32 end line: 41 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 80 unit: public double f1() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 116 end line: 124 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 81 unit: public double weightedF1() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 133 end line: 141 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 82 unit: public SparseBinaryMatrix() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 65 end line: 73 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: public double emptyRowProportion() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 335 end line: 343 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 84 unit: double emptyColProportion() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 345 end line: 353 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 85 unit: int minColSizeAboveZero() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 360 end line: 368 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 86 unit: int maxColSize() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 375 end line: 383 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 87 unit: public static void main() file: src/main/java/com/twitter/sbf/app/Main.java start line: 43 end line: 52 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: public void squareWeights() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 907 end line: 917 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 89 unit: private static double evalLikelihood() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 1180 end line: 1187 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 90 unit: public void reset() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 91 end line: 98 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 91 unit: public void normalizeToUnitColumn() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 84 end line: 91 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 92 unit: public void normalizeToUnitRow() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 96 end line: 103 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 93 unit: public void applyCoordinateWiseLogTransform() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 108 end line: 115 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 94 unit: public static Graph fromFile() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 552 end line: 559 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: public static BipartiteGraph fromFile() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 215 end line: 222 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: private double getGlobalProbability() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 110 end line: 117 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 97 unit: double weightedPrecision() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 98 unit: double weightedRecall() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 105 end line: 111 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 99 unit: public double nnzPerRow() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 321 end line: 327 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 100 unit: public static IntSet setFromIntIterator() file: src/main/java/com/twitter/sbf/util/Util.java start line: 207 end line: 213 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: public Optional next() file: src/main/java/com/twitter/sbf/util/FileLineIterator.java start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 102 unit: public Optional next() file: src/main/java/com/twitter/sbf/util/SimpleIteratorFromIterator.java start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 103 unit: public double getGlobalAvgWeight() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 171 end line: 177 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 104 unit: public double getWeightFromVertexToSet() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 644 end line: 650 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 105 unit: public float getWeightedOutDegree() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 701 end line: 707 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: public boolean isNeighbors() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 717 end line: 723 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 107 unit: public float getWeightOfEdge() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 741 end line: 747 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: private void checkIsSorted() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 387 end line: 393 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 109 unit: public static void main() file: src/main/java/com/twitter/sbf/simclusters_app/Main.java start line: 38 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: public BipartiteGraph getTranspose() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 230 end line: 235 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: public static Set subGraphConnectedComponentsNoWeakLinks() file: src/main/java/com/twitter/sbf/graph/ConnectedComponents.java start line: 102 end line: 107 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: private double getProbabilityInsideCluster() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 164 end line: 169 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 113 unit: public String toString() file: src/main/java/com/twitter/sbf/core/IdCountWtContributors.java start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: static int getIdFromIdWeightString() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 344 end line: 348 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: private static float getWeightFromIdWeightString() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 350 end line: 354 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: public void print() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 750 end line: 754 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: public SparseBinaryMatrix() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 75 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 118 unit: public AlgorithmConfig withK() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: public AlgorithmConfig withMaxEpoch() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: public AlgorithmConfig withEvalRatio() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: public AlgorithmConfig withRunAllEpochs() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 92 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: public AlgorithmConfig withCpu() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: public AlgorithmConfig withScaleCoeff() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: public AlgorithmConfig withUseWeightCoeffForProposal() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: public AlgorithmConfig withMaxTemperature() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 112 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: public AlgorithmConfig withUseTemperatureSchedule() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 117 end line: 120 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: public AlgorithmConfig withRng() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 122 end line: 125 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: public AlgorithmConfig withWtCoeff() file: src/main/java/com/twitter/sbf/core/AlgorithmConfig.java start line: 127 end line: 130 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: public static boolean fileExists() file: src/main/java/com/twitter/sbf/util/Util.java start line: 163 end line: 166 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: public IntIteratorFromArray() file: src/main/java/com/twitter/sbf/util/IntIteratorFromArray.java start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: public int skip() file: src/main/java/com/twitter/sbf/util/IntIteratorFromArray.java start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: public SubGraphWithoutWeakLinks() file: src/main/java/com/twitter/sbf/graph/SubGraphWithoutWeakLinks.java start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 133 unit: public SubGraph() file: src/main/java/com/twitter/sbf/graph/SubGraph.java start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 134 unit: public WeightedId() file: src/main/java/com/twitter/sbf/graph/WeightedId.java start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 135 unit: public boolean equalsWithTolerance() file: src/main/java/com/twitter/sbf/graph/WeightedId.java start line: 28 end line: 31 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 136 unit: void incActualPositive() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: void incPredictedPositive() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: void incTruePositive() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: void incTrueNegative() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: void incEval() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: void incEvalVertices() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: void incEvalVerticesWithZeroTruePos() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: void incWeightActualPositive() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: void incWeightPredictedPositive() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: void incWeightTruePositive() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: public double precision() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 147 unit: double recall() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 148 unit: double orphanRate() file: src/main/java/com/twitter/sbf/core/PredictionStat.java start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: public String toString() file: src/main/java/com/twitter/sbf/core/IdCountWtTriple.java start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 150 unit: private static String headerLine() file: src/main/java/com/twitter/sbf/core/MHAlgorithm.java start line: 608 end line: 610 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: public int getVertexId() file: src/main/java/com/twitter/sbf/core/HeapEntry.java start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 152 unit: public int getColId() file: src/main/java/com/twitter/sbf/core/HeapEntry.java start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: public int getOffset() file: src/main/java/com/twitter/sbf/core/HeapEntry.java start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 154 unit: public int compareTo() file: src/main/java/com/twitter/sbf/core/HeapEntry.java start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: public String toString() file: src/main/java/com/twitter/sbf/core/HeapEntry.java start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: public int getNumCols() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: public int getNumRows() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: public IntSet getColumn() file: src/main/java/com/twitter/sbf/core/SparseBinaryMatrix.java start line: 302 end line: 304 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: public int getNumRows() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 160 unit: public int getNumCols() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: public double getRowNorm() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: public double getColumnNorm() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: public double getAverageNNZ() file: src/main/java/com/twitter/sbf/core/SparseRealMatrix.java start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 164 unit: AlgorithmConfig getAlgoConfig() file: src/main/java/com/twitter/sbf/app/Config.java start line: 195 end line: 197 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: public static String repeatString() file: src/main/java/com/twitter/sbf/util/Util.java start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: public static long getNumLinesOfFile() file: src/main/java/com/twitter/sbf/util/Util.java start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 167 unit: public FileLineIterator() file: src/main/java/com/twitter/sbf/util/FileLineIterator.java start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: public int nextInt() file: src/main/java/com/twitter/sbf/util/IntIteratorFromArray.java start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: public boolean hasNext() file: src/main/java/com/twitter/sbf/util/IntIteratorFromArray.java start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 170 unit: public Integer next() file: src/main/java/com/twitter/sbf/util/IntIteratorFromArray.java start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: public SimpleIteratorFromIterator() file: src/main/java/com/twitter/sbf/util/SimpleIteratorFromIterator.java start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: public GraphAdaptorForInterface() file: src/main/java/com/twitter/sbf/graph/GraphAdaptorForInterface.java start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: public IntIterator getAllNodeIds() file: src/main/java/com/twitter/sbf/graph/GraphAdaptorForInterface.java start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: public IntIterator getNeighbors() file: src/main/java/com/twitter/sbf/graph/GraphAdaptorForInterface.java start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: public boolean isWeighted() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 158 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: public double getDensity() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: public double getGlobalWeight() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 203 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: public Graph() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 270 end line: 272 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 179 unit: public int compare() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 358 end line: 360 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 180 unit: public int getNumVertices() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 566 end line: 568 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: public long getNumEdges() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 589 end line: 591 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: public synchronized boolean hasNext() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 619 end line: 621 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: public Iterator getWeightedNeighborsIterator() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 681 end line: 683 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: public int getDegree() file: src/main/java/com/twitter/sbf/graph/Graph.java start line: 691 end line: 693 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: public long getNumEdges() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: public int getNumLeftVertices() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 187 unit: public int getNumRightVertices() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: public double getEdgeDensity() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: public Graph projectLeft() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 378 end line: 380 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 190 unit: public Boolean isWeighted() file: src/main/java/com/twitter/sbf/graph/BipartiteGraph.java start line: 450 end line: 452 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: public IntIterator getAllNodeIds() file: src/main/java/com/twitter/sbf/graph/SubGraphWithoutWeakLinks.java start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 192 unit: public long getNumWeakLinks() file: src/main/java/com/twitter/sbf/graph/SubGraphWithoutWeakLinks.java start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: public IntIterator getAllNodeIds() file: src/main/java/com/twitter/sbf/graph/SubGraph.java start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: public static Set connectedComponents() file: src/main/java/com/twitter/sbf/graph/ConnectedComponents.java start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: public static Set subGraphConnectedComponents() file: src/main/java/com/twitter/sbf/graph/ConnectedComponents.java start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 196 unit: String getMetisFile() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 197 unit: AlgorithmConfig getAlgoConfig() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 224 end line: 226 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 198 unit: int getK() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 228 end line: 230 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 199 unit: double getThresholdForStepOne() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 232 end line: 234 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 200 unit: int getThresholdForStepThree() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 236 end line: 238 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 201 unit: boolean getSquareWeights() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 240 end line: 242 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: boolean getNormalizeColumnsRight() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 244 end line: 246 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: boolean getRetainTopK() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 248 end line: 250 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: int getTopKParameter() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 252 end line: 254 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 205 unit: boolean getInitFromRandomNeighborhoods() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 256 end line: 258 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 206 unit: boolean getInitFromBestNeighborhood() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 260 end line: 262 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: boolean getInitFromNonoverlappingNeighborhood() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 264 end line: 266 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: boolean getNormalizeRowsLeft() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 268 end line: 270 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: boolean getApplyLogTransform() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 272 end line: 274 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: boolean getApplyStepFour() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 276 end line: 278 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: double getThresholdForStepFour() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 280 end line: 282 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: String getOutputLeftRepFile() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 284 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: String getOutputRightRepFile() file: src/main/java/com/twitter/sbf/simclusters_app/ConfigSimClusters.java start line: 288 end line: 290 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: public Graph getGraph() file: src/main/java/com/twitter/sbf/generator/GraphAndGroundTruth.java start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 215 unit: public double expectedVertices() file: src/main/java/com/twitter/sbf/generator/GraphGenerator.java start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: private Main() file: src/main/java/com/twitter/sbf/app/Main.java start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 217 unit: private Util() file: src/main/java/com/twitter/sbf/util/Util.java start line: 38 end line: 39 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: private ConnectedComponents() file: src/main/java/com/twitter/sbf/graph/ConnectedComponents.java start line: 32 end line: 33 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: private Main() file: src/main/java/com/twitter/sbf/simclusters_app/Main.java start line: 30 end line: 31 size: 2 LOC McCabe index: 1 number of parameters: 0