.getCost());
Line line = source.getLine(method.getMethodLineNumber());
line.addMethodCost(method);
for (ViolationCost violation : method.getExplicitViolationCosts()) {
line = source.getLine(violation.getLocation().getLineNumber());
line.addCost(violation.getCost());
}
}
projectByClassReport.addClass(classCost.getClassName(), classReport
.getOverallCost());
return classReport;