|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.measures.AverageComplexityFormula
public class AverageComplexityFormula
| Constructor Summary | |
|---|---|
AverageComplexityFormula(Metric byMetric)
|
|
| Method Summary | |
|---|---|
Measure |
calculate(FormulaData data,
FormulaContext context)
|
java.util.List<Metric> |
dependsUponMetrics()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AverageComplexityFormula(Metric byMetric)
byMetric - The metric on which average complexity should be calculated : complexity by file, by method...| Method Detail |
|---|
public java.util.List<Metric> dependsUponMetrics()
dependsUponMetrics in interface Formula
public Measure calculate(FormulaData data,
FormulaContext context)
calculate in interface Formula
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||