MeasureKey linesKey = new MeasureKey(getMetric(Metrics.NCSS_NCSS));
Double lines = module.getMeasureValue(linesKey);
for(Entry<RulesCategory, Double> entry : keys.entrySet()) {
RulesCategory rulesCat = entry.getKey();
Double value = entry.getValue();
if ((lines != null) && (lines>0.0) && (value!=null)) {
double index = getPercentage(value, lines, getNbLinesOfOneError());
if (rulesCat == null) {
module.createMeasure(new MeasureKey(getMetric()), index);