Package | Description |
---|---|
org.sonar.api.measures |
Modifier and Type | Class and Description |
---|---|
class |
AverageComplexityFormula
Deprecated.
since 3.0. Use
AverageFormula instead. |
class |
AverageFormula
Formula used to compute an average for a given metric A, which is the result of the sum of measures of this metric (A) divided by another metric (B).
|
class |
MeanAggregationFormula |
class |
SumChildDistributionFormula |
class |
SumChildValuesFormula |
class |
WeightedMeanAggregationFormula |
Modifier and Type | Method and Description |
---|---|
Formula |
Metric.getFormula() |
Modifier and Type | Method and Description |
---|---|
Metric |
Metric.setFormula(Formula formula)
Sets the metric formula
|
Metric.Builder |
Metric.Builder.setFormula(Formula f)
Specifies the formula used by Sonar to automatically aggregate measures stored on files up to the project level.
|
Constructor and Description |
---|
Metric(String key,
String name,
Metric.ValueType type,
Integer direction,
Boolean qualitative,
String domain,
Formula formula)
Deprecated.
since 2.7 use the
Metric.Builder factory. |
Copyright © 2009-2012 SonarSource. All Rights Reserved.