Uses of Class
org.sonar.commons.Metric

Packages that use Metric
org.sonar.commons.alerts   
org.sonar.commons.resources   
org.sonar.maven   
org.sonar.plugins.api.jobs   
org.sonar.plugins.api.maven   
org.sonar.plugins.api.metrics   
 

Uses of Metric in org.sonar.commons.alerts
 

Methods in org.sonar.commons.alerts that return Metric
 Metric Alert.getMetric()
           
 

Methods in org.sonar.commons.alerts with parameters of type Metric
 void Alert.setMetric(Metric metric)
           
 

Constructors in org.sonar.commons.alerts with parameters of type Metric
Alert(RulesProfile rulesProfile, Metric metric, java.lang.String operator, java.lang.String valueError, java.lang.String valueWarning)
           
 

Uses of Metric in org.sonar.commons.resources
 

Fields in org.sonar.commons.resources declared as Metric
protected  Metric MeasureKey.metric
           
 

Methods in org.sonar.commons.resources that return Metric
 Metric MeasureKey.getMetric()
           
 Metric Measure.getMetric()
           
 Metric MeasuresDao.getMetric(Metric metric)
           
 Metric MeasuresDao.getMetric(java.lang.String metricName)
           
 

Methods in org.sonar.commons.resources that return types with arguments of type Metric
 java.util.Collection<Metric> MeasuresDao.getEnabledMetrics()
           
 java.util.Collection<Metric> MeasuresDao.getMetrics()
           
 java.util.Collection<Metric> MeasuresDao.getUserDefinedMetrics()
           
 

Methods in org.sonar.commons.resources with parameters of type Metric
 Metric MeasuresDao.getMetric(Metric metric)
           
 void MeasuresDao.persistMetric(Metric metric)
           
 MeasureKey MeasureKey.setMetric(Metric metric)
           
 void Measure.setMetric(Metric metric)
           
 

Method parameters in org.sonar.commons.resources with type arguments of type Metric
 void MeasuresDao.disabledMetrics(java.util.Collection<Metric> metrics)
           
 void MeasuresDao.registerMetrics(java.util.Collection<Metric> metrics)
           
 

Constructors in org.sonar.commons.resources with parameters of type Metric
Measure(Metric metric, java.lang.Double val)
           
Measure(Metric metric, Metric.Level level)
           
Measure(Metric metric, java.lang.String val)
           
MeasureKey(Metric metric)
           
MeasureKey(Metric metric, java.lang.Integer categoryId)
           
MeasureKey(Metric metric, java.lang.Integer rulesCategoryId, Rule rule)
           
MeasureKey(Metric metric, Rule rule)
           
 

Uses of Metric in org.sonar.maven
 

Methods in org.sonar.maven with parameters of type Metric
 void ProjectContextImpl.addMeasure(Metric metric, java.lang.Double value)
           
 void ProjectContextImpl.addMeasure(Metric metric, java.lang.String value)
           
 void ProjectContextImpl.addMeasure(Resource resource, Metric metric, java.lang.Double value)
           
 void ProjectContextImpl.addMeasure(Resource resource, Metric metric, java.lang.String value)
           
 

Uses of Metric in org.sonar.plugins.api.jobs
 

Methods in org.sonar.plugins.api.jobs that return Metric
protected abstract  Metric AbstractWeightingJob.getDividendMetric()
           
protected abstract  Metric AbstractWeightingJob.getDivisorMetric()
           
protected abstract  Metric AbstractSumChildrenJob.getMetric()
           
protected abstract  Metric AbstractWeightingJob.getTargetMetric()
           
 

Methods in org.sonar.plugins.api.jobs that return types with arguments of type Metric
 java.util.List<Metric> Job.dependsOnMetrics()
          Depends of another measures for the same scope of resources.
 java.util.List<Metric> AbstractWeightingJob.dependsOnMetrics()
           
 java.util.List<Metric> AbstractJob.dependsOnMetrics()
           
 java.util.List<Metric> Job.generatesMetrics()
           
 java.util.List<Metric> AbstractWeightingJob.generatesMetrics()
           
 java.util.List<Metric> AbstractJob.generatesMetrics()
           
 

Methods in org.sonar.plugins.api.jobs with parameters of type Metric
 Measure JobContextImpl.addMeasure(Metric metric, java.lang.Double value)
           
 Measure JobContext.addMeasure(Metric metric, java.lang.Double value)
           
 Measure JobContextImpl.addMeasure(Metric metric, java.lang.String value)
           
 Measure JobContext.addMeasure(Metric metric, java.lang.String value)
           
 java.util.List<Measure> JobContextImpl.getChildrenMeasures(Metric metric)
           
 java.util.List<Measure> JobContext.getChildrenMeasures(Metric metric)
           
 Measure JobContextImpl.getMeasure(Metric metric)
           
 Measure JobContext.getMeasure(Metric metric)
           
 java.util.List<Measure> JobContextImpl.getMeasures(Metric metric)
           
 java.util.List<Measure> JobContext.getMeasures(Metric metric)
           
 Measure JobContextImpl.getPastMeasure(Metric metric)
           
 Measure JobContext.getPastMeasure(Metric metric)
           
 

Uses of Metric in org.sonar.plugins.api.maven
 

Methods in org.sonar.plugins.api.maven with parameters of type Metric
 void ProjectContext.addMeasure(Metric metric, java.lang.Double value)
           
 void ProjectContext.addMeasure(Metric metric, java.lang.String value)
           
 void ProjectContext.addMeasure(Resource resource, Metric metric, java.lang.Double value)
          Does nothing if the resource is set as excluded.
 void ProjectContext.addMeasure(Resource resource, Metric metric, java.lang.String value)
           
 

Uses of Metric in org.sonar.plugins.api.metrics
 

Fields in org.sonar.plugins.api.metrics declared as Metric
static Metric CoreMetrics.ALERT_STATUS
           
static Metric CoreMetrics.CLASSES_COUNT
           
static Metric CoreMetrics.CODE_COVERAGE
           
static Metric CoreMetrics.CODE_COVERAGE_LINE_HITS_DATA
           
static Metric CoreMetrics.COMMENT_LINES
           
static Metric CoreMetrics.COMMENT_RATIO
           
static Metric CoreMetrics.COMPLEXITY
           
static Metric CoreMetrics.COMPLEXITY_AVG_BY_CLASS
           
static Metric CoreMetrics.COMPLEXITY_AVG_BY_FILE
           
static Metric CoreMetrics.COMPLEXITY_AVG_BY_FUNCTION
           
static Metric CoreMetrics.COMPLEXITY_CLASSES_COUNT_DISTRIBUTION
           
static Metric CoreMetrics.COMPLEXITY_CLASSES_PERCENT_DISTRIBUTION
           
static Metric CoreMetrics.DIRECTORIES
           
static Metric CoreMetrics.DUPLICATED_BLOCKS
           
static Metric CoreMetrics.DUPLICATED_FILES
           
static Metric CoreMetrics.DUPLICATED_LINES
           
static Metric CoreMetrics.DUPLICATED_LINES_RATIO
           
static Metric CoreMetrics.DUPLICATIONS_DATA
           
static Metric CoreMetrics.FILES_COUNT
           
static Metric CoreMetrics.FUNCTIONS_COUNT
           
static Metric CoreMetrics.JAVADOCS
           
static Metric CoreMetrics.NLOC
           
static Metric CoreMetrics.PACKAGES_COUNT
           
static Metric CoreMetrics.PROFILE
           
static Metric CoreMetrics.RULES_ALL_COMPLIANCE
           
static Metric CoreMetrics.RULES_MANDATORY_COMPLIANCE
           
static Metric CoreMetrics.RULES_MANDATORY_VIOLATIONS_COUNT
           
static Metric CoreMetrics.RULES_OPTIONAL_COMPLIANCE
           
static Metric CoreMetrics.RULES_OPTIONAL_VIOLATIONS_COUNT
           
static Metric CoreMetrics.RULES_VIOLATIONS_COUNT
           
static Metric CoreMetrics.TEST_DETAILS
           
static Metric CoreMetrics.TESTS_COUNT
           
static Metric CoreMetrics.TESTS_ERRORS
           
static Metric CoreMetrics.TESTS_FAILURES
           
static Metric CoreMetrics.TESTS_SKIPPED
           
static Metric CoreMetrics.TESTS_SUCCESS_PERCENTAGE
           
static Metric CoreMetrics.TESTS_TIME
           
 

Methods in org.sonar.plugins.api.metrics that return types with arguments of type Metric
 java.util.List<Metric> Metrics.getMetrics()
           
static java.util.List<Metric> CoreMetrics.getMetrics()
           
 



Copyright © 2009 SonarSource SA. All Rights Reserved.