public abstract class RciCalculator extends AbstractMetricCalculator {
protected abstract Metrics getCountMetric();
public void execute(Module module, List<Module> directSubmodules) {
Metric countMetric = getMetric(getCountMetric());
for (MeasureKey key : module.getMeasureKeys()) {
if (key.getMetric().equals(countMetric)) {
MeasureKey linesKey = new MeasureKey(getMetric(Metrics.NCSS_NCSS), null, null, key.getFile());
Double lines = module.getMeasureValue(linesKey);