this.duplicatedTokens += duplicatedTokens.doubleValue();
}
private List<ProjectMeasure> asMeasures() {
List<ProjectMeasure> measures = new ArrayList<ProjectMeasure>();
ProjectMeasure measure = new ProjectMeasure();
measure.setMetric(duplicationMetric);
measure.setValue(duplication);
measures.add(measure);
measure = new ProjectMeasure();
measure.setMetric(duplicatedLinesMetric);
measure.setValue(duplicatedLines);
measures.add(measure);
measure = new ProjectMeasure();
measure.setMetric(duplicatedTokensMetric);
measure.setValue(duplicatedTokens);
measures.add(measure);
return measures;
}