Package ch.hortis.sonar.model

Examples of ch.hortis.sonar.model.RulesCategory


   
    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);
View Full Code Here

TOP

Related Classes of ch.hortis.sonar.model.RulesCategory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.