org.sonar.api.measures
Class AverageComplexityFormula
java.lang.Object
org.sonar.api.measures.AverageComplexityFormula
- All Implemented Interfaces:
- Formula
public class AverageComplexityFormula
- extends Object
- implements Formula
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AverageComplexityFormula
public AverageComplexityFormula(Metric byMetric)
- Parameters:
byMetric
- The metric on which average complexity should be calculated : complexity by file, by method...
dependsUponMetrics
public List<Metric> dependsUponMetrics()
- Specified by:
dependsUponMetrics
in interface Formula
calculate
public Measure calculate(FormulaData data,
FormulaContext context)
- Specified by:
calculate
in interface Formula
Copyright © 2009-2012 SonarSource. All Rights Reserved.