import Metric from "../classes/Metric" ; import { MetricType } from "../classes/MetricType" ; export const complexityMetric = new Metric ( "complexity" , "Cyclomatic Complexity" , "Cyclomatic complexity" , MetricType . INT ) ; export const linesOfCodeMetric = new Metric ( "ncloc" , "Lines of Code" , "Non commenting lines of code" , MetricType . INT ) ; export const newLinesOfCodeMetric = new Metric ( "new_lines" , "New Lines" , "New Lines" , MetricType . INT ) ; export const duplicatedLinesOfCodeMetric = new Metric ( "duplicated_lines" , "Duplicated Lines" , "Duplicated Lines" , MetricType . INT ) ; export const noMetric = new Metric ( "none" , "-- None --" , "" , MetricType . UNKNOWN ) ; export const coverageMetricId = "coverage" ;