All files / app/codeCharta/util/metric metricTitles.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22        19x                                  
/*
This file contains the fallback titles of the metrics
*/
 
export const metricTitles: Map<string, string> = new Map([
    ["loc", "Lines of Code"],
    ["rloc", "Real Lines of Code"],
    ["comment_lines", "Number of Code Lines with Comments"],
    ["complexity", "Cyclomatic Complexity"],
    ["sonar_complexity", "Cyclomatic Complexity"],
    ["mcc", "McCabe Complexity"],
    ["avgCommits", "Average Number of Commits from this file"],
    ["functions", "Number of Functions"],
    ["pairingRate", "Pairing Rate of selected building"],
    ["unary", "-"],
    ["line_coverage", "Number of Code Lines covered by tests"],
    ["sonar_code_smells", "Number of Smells Sonar has identified"],
    ["avg_code_churn", "Average Number of Lines added or removed from this file"],
    ["number_of_authors", "Number of Authors that have edited this file"],
    ["statements", "Number of Statements"]
])