Uses of Class
org.sonar.api.measures.Metric

Packages that use Metric
org.sonar.api.batch   
org.sonar.api.database.daos   
org.sonar.api.database.model   
org.sonar.api.measures   
org.sonar.api.profiles   
org.sonar.batch   
org.sonar.batch.components   
org.sonar.batch.index   
org.sonar.core.metric   
org.sonar.jpa.dao   
org.sonar.plugins.core.metrics   
org.sonar.plugins.core.sensors   
org.sonar.plugins.core.timemachine   
org.sonar.plugins.cpd.decorators   
org.sonar.plugins.design.batch   
org.sonar.plugins.squid.decorators   
org.sonar.server.configuration   
org.sonar.server.startup   
 

Uses of Metric in org.sonar.api.batch
 

Methods in org.sonar.api.batch that return Metric
 Metric AbstractFunctionComplexityDecorator.generateFileComplexityMetric()
          Deprecated. Used to define downstream dependencies
 Metric AbstractFileComplexityDecorator.generateFileComplexityMetric()
          Deprecated. Used to define downstream dependencies
 Metric AbstractDivisionDecorator.generatesMetric()
          Used to define downstream dependencies
 Metric AbstractFunctionComplexityDistributionDecorator.generatesMetrics()
          Deprecated.  
protected abstract  Metric AbstractDivisionDecorator.getDividendMetric()
           
protected abstract  Metric AbstractDivisionDecorator.getDivisorMetric()
           
protected abstract  Metric AbstractDivisionDecorator.getQuotientMetric()
           
 Metric DefaultFormulaContext.getTargetMetric()
           
 

Methods in org.sonar.api.batch that return types with arguments of type Metric
 List<Metric> AbstractFunctionComplexityDecorator.dependsUponFileAndComplexityMetrics()
          Deprecated. Used to define upstream dependencies
 List<Metric> AbstractFileComplexityDecorator.dependsUponFileAndComplexityMetrics()
          Deprecated. Used to define upstream dependencies
 List<Metric> AbstractDivisionDecorator.dependsUponMetrics()
          Used to define upstream dependencies
abstract  List<Metric> AbstractSumChildrenDecorator.generatesMetrics()
          Each metric is used individually.
 List<Metric> TimeMachineQuery.getMetrics()
           
 

Methods in org.sonar.api.batch with parameters of type Metric
 Collection<Measure> DefaultFormulaData.getChildrenMeasures(Metric metric)
           
 Collection<Measure> DecoratorContext.getChildrenMeasures(Metric metric)
           
 Measure SensorContext.getMeasure(Metric metric)
          Find a project measure
 Measure DefaultFormulaData.getMeasure(Metric metric)
           
 Measure DecoratorContext.getMeasure(Metric metric)
          Find a measure for the resource
abstract  Measure SonarIndex.getMeasure(Resource resource, Metric metric)
           
 Measure SensorContext.getMeasure(Resource resource, Metric metric)
          Find a measure for this project
 Measure SensorContext.saveMeasure(Metric metric, Double value)
          Add a measure on project
 DecoratorContext DecoratorContext.saveMeasure(Metric metric, Double value)
          Add a measure on the current resource.
 Measure SensorContext.saveMeasure(Resource resource, Metric metric, Double value)
          Add or update a measure.
 void DefaultFormulaContext.setMetric(Metric metric)
           
 TimeMachineQuery TimeMachineQuery.setMetrics(Metric... metrics)
          Sets the metrics to return
 

Method parameters in org.sonar.api.batch with type arguments of type Metric
 TimeMachineQuery TimeMachineQuery.setMetrics(List<Metric> metrics)
          Sets the metrics to return
 

Constructors in org.sonar.api.batch with parameters of type Metric
DefaultFormulaContext(Metric metric)
           
 

Uses of Metric in org.sonar.api.database.daos
 

Methods in org.sonar.api.database.daos that return Metric
 Metric MeasuresDao.getMetric(Metric metric)
          Deprecated.  
 Metric MeasuresDao.getMetric(String metricName)
          Deprecated.  
 

Methods in org.sonar.api.database.daos that return types with arguments of type Metric
 Collection<Metric> MeasuresDao.getEnabledMetrics()
          Deprecated.  
 Collection<Metric> MeasuresDao.getMetrics()
          Deprecated.  
 List<Metric> MeasuresDao.getMetrics(List<Metric> metrics)
          Deprecated.  
 Collection<Metric> MeasuresDao.getUserDefinedMetrics()
          Deprecated.  
 

Methods in org.sonar.api.database.daos with parameters of type Metric
 Metric MeasuresDao.getMetric(Metric metric)
          Deprecated.  
 void MeasuresDao.persistMetric(Metric metric)
          Deprecated.  
 

Method parameters in org.sonar.api.database.daos with type arguments of type Metric
 void MeasuresDao.disabledMetrics(Collection<Metric> metrics)
          Deprecated.  
 List<Metric> MeasuresDao.getMetrics(List<Metric> metrics)
          Deprecated.  
 void MeasuresDao.registerMetrics(Collection<Metric> metrics)
          Deprecated.  
 

Uses of Metric in org.sonar.api.database.model
 

Methods in org.sonar.api.database.model with parameters of type Metric
 String MeasureModel.getData(Metric metric)
           
 

Uses of Metric in org.sonar.api.measures
 

Fields in org.sonar.api.measures declared as Metric
static Metric CoreMetrics.ABSTRACTNESS
           
static Metric CoreMetrics.ACCESSORS
           
static Metric CoreMetrics.AFFERENT_COUPLINGS
           
static Metric CoreMetrics.ALERT_STATUS
           
static Metric CoreMetrics.BLOCKER_VIOLATIONS
           
static Metric CoreMetrics.BRANCH_COVERAGE
           
static Metric CoreMetrics.BRANCH_COVERAGE_HITS_DATA
          Deprecated. in 2.7. Replaced by metrics CoreMetrics.CONDITIONS_BY_LINE and CoreMetrics.COVERED_CONDITIONS_BY_LINE
static Metric CoreMetrics.CLASS_COMPLEXITY
           
static Metric CoreMetrics.CLASS_COMPLEXITY_DISTRIBUTION
           
static Metric CoreMetrics.CLASSES
           
static Metric CoreMetrics.COMMENT_BLANK_LINES
           
static Metric CoreMetrics.COMMENT_LINES
           
static Metric CoreMetrics.COMMENT_LINES_DENSITY
           
static Metric CoreMetrics.COMMENTED_OUT_CODE_LINES
           
static Metric CoreMetrics.COMPLEXITY
           
static Metric CoreMetrics.CONDITIONS_BY_LINE
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.CONDITIONS_TO_COVER
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.COVERAGE
           
static Metric CoreMetrics.COVERAGE_LINE_HITS_DATA
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.COVERED_CONDITIONS_BY_LINE
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.CRITICAL_VIOLATIONS
           
static Metric CoreMetrics.DEPENDENCY_MATRIX
           
static Metric CoreMetrics.DEPTH_IN_TREE
           
static Metric CoreMetrics.DIRECTORIES
           
static Metric CoreMetrics.DISTANCE
           
static Metric CoreMetrics.DUPLICATED_BLOCKS
           
static Metric CoreMetrics.DUPLICATED_FILES
           
static Metric CoreMetrics.DUPLICATED_LINES
           
static Metric CoreMetrics.DUPLICATED_LINES_DENSITY
           
static Metric CoreMetrics.DUPLICATIONS_DATA
           
static Metric CoreMetrics.EFFERENT_COUPLINGS
           
static Metric CoreMetrics.EFFICIENCY
          Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
static Metric CoreMetrics.FILE_COMPLEXITY
           
static Metric CoreMetrics.FILE_COMPLEXITY_DISTRIBUTION
           
static Metric CoreMetrics.FILE_CYCLES
           
static Metric CoreMetrics.FILE_EDGES_WEIGHT
           
static Metric CoreMetrics.FILE_FEEDBACK_EDGES
           
static Metric CoreMetrics.FILE_TANGLE_INDEX
           
static Metric CoreMetrics.FILE_TANGLES
           
static Metric CoreMetrics.FILES
           
static Metric CoreMetrics.FUNCTION_COMPLEXITY
           
static Metric CoreMetrics.FUNCTION_COMPLEXITY_DISTRIBUTION
           
static Metric CoreMetrics.FUNCTIONS
           
static Metric CoreMetrics.GENERATED_LINES
           
static Metric CoreMetrics.GENERATED_NCLOC
           
static Metric CoreMetrics.INFO_VIOLATIONS
           
static Metric CoreMetrics.INSTABILITY
           
static Metric CoreMetrics.IT_BRANCH_COVERAGE
           
static Metric CoreMetrics.IT_CONDITIONS_BY_LINE
           
static Metric CoreMetrics.IT_CONDITIONS_TO_COVER
           
static Metric CoreMetrics.IT_COVERAGE
           
static Metric CoreMetrics.IT_COVERAGE_LINE_HITS_DATA
           
static Metric CoreMetrics.IT_COVERED_CONDITIONS_BY_LINE
           
static Metric CoreMetrics.IT_LINE_COVERAGE
           
static Metric CoreMetrics.IT_LINES_TO_COVER
           
static Metric CoreMetrics.IT_UNCOVERED_CONDITIONS
           
static Metric CoreMetrics.IT_UNCOVERED_LINES
           
static Metric CoreMetrics.LCOM4
           
static Metric CoreMetrics.LCOM4_BLOCKS
           
static Metric CoreMetrics.LCOM4_DISTRIBUTION
           
static Metric CoreMetrics.LINE_COVERAGE
           
static Metric CoreMetrics.LINES
           
static Metric CoreMetrics.LINES_TO_COVER
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.MAINTAINABILITY
          Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
static Metric CoreMetrics.MAJOR_VIOLATIONS
           
protected  Metric Measure.metric
           
static Metric CoreMetrics.MINOR_VIOLATIONS
           
static Metric CoreMetrics.NCLOC
           
static Metric CoreMetrics.NEW_BLOCKER_VIOLATIONS
           
static Metric CoreMetrics.NEW_BRANCH_COVERAGE
           
static Metric CoreMetrics.NEW_CONDITIONS_TO_COVER
           
static Metric CoreMetrics.NEW_COVERAGE
           
static Metric CoreMetrics.NEW_CRITICAL_VIOLATIONS
           
static Metric CoreMetrics.NEW_INFO_VIOLATIONS
           
static Metric CoreMetrics.NEW_IT_BRANCH_COVERAGE
           
static Metric CoreMetrics.NEW_IT_CONDITIONS_TO_COVER
           
static Metric CoreMetrics.NEW_IT_COVERAGE
           
static Metric CoreMetrics.NEW_IT_LINE_COVERAGE
           
static Metric CoreMetrics.NEW_IT_LINES_TO_COVER
           
static Metric CoreMetrics.NEW_IT_UNCOVERED_CONDITIONS
           
static Metric CoreMetrics.NEW_IT_UNCOVERED_LINES
           
static Metric CoreMetrics.NEW_LINE_COVERAGE
           
static Metric CoreMetrics.NEW_LINES_TO_COVER
           
static Metric CoreMetrics.NEW_MAJOR_VIOLATIONS
           
static Metric CoreMetrics.NEW_MINOR_VIOLATIONS
           
static Metric CoreMetrics.NEW_UNCOVERED_CONDITIONS
           
static Metric CoreMetrics.NEW_UNCOVERED_LINES
           
static Metric CoreMetrics.NEW_VIOLATIONS
           
static Metric CoreMetrics.NUMBER_OF_CHILDREN
           
static Metric CoreMetrics.PACKAGE_CYCLES
           
static Metric CoreMetrics.PACKAGE_EDGES_WEIGHT
           
static Metric CoreMetrics.PACKAGE_FEEDBACK_EDGES
           
static Metric CoreMetrics.PACKAGE_TANGLE_INDEX
           
static Metric CoreMetrics.PACKAGE_TANGLES
           
static Metric CoreMetrics.PACKAGES
           
static Metric CoreMetrics.PARAGRAPH_COMPLEXITY
           
static Metric CoreMetrics.PARAGRAPH_COMPLEXITY_DISTRIBUTION
           
static Metric CoreMetrics.PARAGRAPHS
           
static Metric CoreMetrics.PORTABILITY
          Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
static Metric CoreMetrics.PROFILE
           
static Metric CoreMetrics.PROFILE_VERSION
           
static Metric CoreMetrics.PUBLIC_API
           
static Metric CoreMetrics.PUBLIC_DOCUMENTED_API_DENSITY
           
static Metric CoreMetrics.PUBLIC_UNDOCUMENTED_API
           
static Metric CoreMetrics.RELIABILITY
          Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
static Metric CoreMetrics.RFC
           
static Metric CoreMetrics.RFC_DISTRIBUTION
           
static Metric CoreMetrics.SCM_AUTHORS_BY_LINE
           
static Metric CoreMetrics.SCM_COMMITS
           
static Metric CoreMetrics.SCM_LAST_COMMIT_DATE
           
static Metric CoreMetrics.SCM_LAST_COMMIT_DATETIMES_BY_LINE
           
static Metric CoreMetrics.SCM_REVISION
           
static Metric CoreMetrics.SCM_REVISIONS_BY_LINE
           
static Metric CoreMetrics.SKIPPED_TESTS
           
static Metric CoreMetrics.STATEMENTS
           
static Metric CoreMetrics.SUSPECT_LCOM4_DENSITY
           
static Metric CoreMetrics.TEST_DATA
           
static Metric CoreMetrics.TEST_ERRORS
           
static Metric CoreMetrics.TEST_EXECUTION_TIME
           
static Metric CoreMetrics.TEST_FAILURES
           
static Metric CoreMetrics.TEST_SUCCESS_DENSITY
           
static Metric CoreMetrics.TESTS
          Value of measure for this metric can be saved from Sensor, taking into account following rules: If tool (like Maven Surefire Plugin) has not been activated to run unit tests, then Sensor should not save anything.
static Metric CoreMetrics.UNCOVERED_CONDITIONS
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.UNCOVERED_LINES
          Use CoverageMeasuresBuilder to build measure for this metric.
static Metric CoreMetrics.USABILITY
          Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
static Metric CoreMetrics.VIOLATIONS
           
static Metric CoreMetrics.VIOLATIONS_DENSITY
           
static Metric CoreMetrics.WEIGHTED_VIOLATIONS
           
 

Fields in org.sonar.api.measures with type parameters of type Metric
static List<Metric> CoverageMeasuresBuilder.METRICS
          Metrics of generated measures
 

Methods in org.sonar.api.measures that return Metric
 Metric Metric.Builder.create()
           
 Metric MetricFinder.findById(int id)
           
 Metric MetricFinder.findByKey(String key)
           
 Metric PropertiesBuilder.getMetric()
           
 Metric Measure.getMetric()
           
 Metric FormulaContext.getTargetMetric()
           
 Metric Metric.merge(Metric with)
          Merge with fields from other metric.
 Metric Metric.setBestValue(Double bestValue)
           
 Metric Metric.setDescription(String description)
          Sets the metric description
 Metric Metric.setDirection(Integer direction)
          Sets the metric direction.
 Metric Metric.setDomain(String domain)
          Sets the domain for the metric (General, Complexity...)
 Metric Metric.setEnabled(Boolean enabled)
          Sets whether the metric is enabled
 Metric Metric.setFormula(Formula formula)
          Sets the metric formula
 Metric Metric.setHidden(Boolean hidden)
           
 Metric Metric.setId(Integer id)
          For internal use only
 Metric Metric.setKey(String key)
          Sets the metric key
 Metric Metric.setName(String name)
          Sets the metric name
 Metric Metric.setOptimizedBestValue(Boolean b)
           
 Metric Metric.setOrigin(Metric.Origin origin)
          Set the origin of the metric - Internal use only
 Metric Metric.setQualitative(Boolean qualitative)
          Sets whether the metric is qualitative
 Metric Metric.setType(Metric.ValueType type)
          Sets the metric type
 Metric Metric.setUserManaged(Boolean userManaged)
          Sets whether the metric is managed by users ("manual metric")
 Metric Metric.setWorstValue(Double d)
           
 

Methods in org.sonar.api.measures that return types with arguments of type Metric
 List<Metric> WeightedMeanAggregationFormula.dependsUponMetrics()
           
 List<Metric> SumChildValuesFormula.dependsUponMetrics()
           
 List<Metric> SumChildDistributionFormula.dependsUponMetrics()
           
 List<Metric> MeanAggregationFormula.dependsUponMetrics()
           
 List<Metric> Formula.dependsUponMetrics()
           
 List<Metric> AverageComplexityFormula.dependsUponMetrics()
           
 Collection<Metric> MetricFinder.findAll()
           
 Collection<Metric> MetricFinder.findAll(List<String> metricKeys)
           
 List<Metric> Metrics.getMetrics()
           
static List<Metric> CoreMetrics.getMetrics()
           
 

Methods in org.sonar.api.measures with parameters of type Metric
static MeasuresFilter<Measure> MeasuresFilters.characteristic(Metric metric, Characteristic characteristic)
           
static RuleMeasure RuleMeasure.createForCategory(Metric metric, Integer category, Double value)
          Deprecated. since 2.5 See http://jira.codehaus.org/browse/SONAR-2007
static RuleMeasure RuleMeasure.createForPriority(Metric metric, RulePriority priority, Double value)
           
static RuleMeasure RuleMeasure.createForRule(Metric metric, Rule rule, Double value)
           
 Collection<Measure> FormulaData.getChildrenMeasures(Metric metric)
           
 Measure FormulaData.getMeasure(Metric metric)
           
 Metric Metric.merge(Metric with)
          Merge with fields from other metric.
static MeasuresFilter<Measure> MeasuresFilters.metric(Metric metric)
           
static MeasuresFilter<RuleMeasure> MeasuresFilters.rule(Metric metric, Rule rule)
           
static MeasuresFilter<Collection<RuleMeasure>> MeasuresFilters.ruleCategories(Metric metric)
          Deprecated. since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
static MeasuresFilter<RuleMeasure> MeasuresFilters.ruleCategory(Metric metric, Integer category)
          Deprecated. since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
static MeasuresFilter<Collection<RuleMeasure>> MeasuresFilters.rules(Metric metric)
           
 PropertiesBuilder<KEY,VALUE> PropertiesBuilder.setMetric(Metric metric)
           
 Measure Measure.setMetric(Metric metric)
          Set the underlying metric
 

Constructors in org.sonar.api.measures with parameters of type Metric
AverageComplexityFormula(Metric byMetric)
           
CountDistributionBuilder(Metric metric)
          Creates an empty CountDistributionBuilder for a specified metric
Measure(Metric metric)
          Creates a measure with a metric
Measure(Metric metric, Double value)
          Creates a measure with a metric and a value
Measure(Metric metric, Double value, int precision)
          Creates a measure with a metric, a value and a precision for the value
Measure(Metric metric, Double value, String data)
          Creates a measure with a metric, a value and a data field
Measure(Metric metric, Metric.Level level)
          Creates a measure with a metric and an alert level
Measure(Metric metric, String data)
          * Creates a measure with a metric and a data field
MeasuresFilters.MetricFilter(Metric metric)
           
PropertiesBuilder(Metric metric)
           
PropertiesBuilder(Metric metric, Map<KEY,VALUE> map)
           
RangeDistributionBuilder(Metric metric)
           
RangeDistributionBuilder(Metric metric, Number[] bottomLimits)
          RangeDistributionBuilder for a metric and a defined range Each entry is initialized at zero
RuleMeasure(Metric metric, Rule rule, RulePriority rulePriority, Integer ruleCategory)
          This constructor is for internal use only.
WeightedMeanAggregationFormula(Metric weightingMetric, boolean zeroIfNoValues)
           
 

Uses of Metric in org.sonar.api.profiles
 

Methods in org.sonar.api.profiles that return Metric
 Metric Alert.getMetric()
           
 

Methods in org.sonar.api.profiles with parameters of type Metric
 void Alert.setMetric(Metric metric)
          Sets the alert metric
 

Constructors in org.sonar.api.profiles with parameters of type Metric
Alert(RulesProfile rulesProfile, Metric metric, String operator, String valueError, String valueWarning)
          Creates an alert
 

Uses of Metric in org.sonar.batch
 

Methods in org.sonar.batch that return Metric
 Metric FormulaDecorator.generatesMetric()
           
 

Methods in org.sonar.batch that return types with arguments of type Metric
 List<Metric> FormulaDecorator.dependsUponMetrics()
           
 Map<Integer,Metric> DefaultTimeMachine.getMetricsById(TimeMachineQuery query)
           
 

Methods in org.sonar.batch with parameters of type Metric
 Collection<Measure> DefaultDecoratorContext.getChildrenMeasures(Metric metric)
           
 Measure DefaultSensorContext.getMeasure(Metric metric)
           
 Measure DefaultDecoratorContext.getMeasure(Metric metric)
           
 Measure DefaultSensorContext.getMeasure(Resource resource, Metric metric)
           
 Measure DefaultSensorContext.saveMeasure(Metric metric, Double value)
           
 DecoratorContext DefaultDecoratorContext.saveMeasure(Metric metric, Double value)
           
 Measure DefaultSensorContext.saveMeasure(Resource resource, Metric metric, Double value)
           
 

Constructors in org.sonar.batch with parameters of type Metric
FormulaDecorator(Metric metric)
           
FormulaDecorator(Metric metric, Set<Decorator> executeAfterDecorators)
          Creates a FormulaDecorator
 

Uses of Metric in org.sonar.batch.components
 

Methods in org.sonar.batch.components that return types with arguments of type Metric
 Collection<Metric> PastMeasuresLoader.getMetrics()
           
 

Uses of Metric in org.sonar.batch.index
 

Methods in org.sonar.batch.index with parameters of type Metric
 Measure DefaultIndex.getMeasure(Resource resource, Metric metric)
           
 

Uses of Metric in org.sonar.core.metric
 

Methods in org.sonar.core.metric that return Metric
 Metric DefaultMetricFinder.findById(int id)
           
 Metric CacheMetricFinder.findById(int metricId)
           
 Metric DefaultMetricFinder.findByKey(String key)
           
 Metric CacheMetricFinder.findByKey(String key)
           
 

Methods in org.sonar.core.metric that return types with arguments of type Metric
protected  Collection<Metric> DefaultMetricFinder.doFindAll()
           
 Collection<Metric> DefaultMetricFinder.findAll()
           
 Collection<Metric> CacheMetricFinder.findAll()
           
 Collection<Metric> DefaultMetricFinder.findAll(List<String> metricKeys)
           
 Collection<Metric> CacheMetricFinder.findAll(List<String> metricKeys)
           
 

Uses of Metric in org.sonar.jpa.dao
 

Methods in org.sonar.jpa.dao that return Metric
 Metric MeasuresDao.getMetric(Metric metric)
           
 Metric MeasuresDao.getMetric(String metricName)
           
 

Methods in org.sonar.jpa.dao that return types with arguments of type Metric
 Collection<Metric> MeasuresDao.getEnabledMetrics()
           
 Collection<Metric> MeasuresDao.getMetrics()
           
 List<Metric> MeasuresDao.getMetrics(List<Metric> metrics)
           
 Collection<Metric> MeasuresDao.getUserDefinedMetrics()
           
 

Methods in org.sonar.jpa.dao with parameters of type Metric
 Metric MeasuresDao.getMetric(Metric metric)
           
 void MeasuresDao.persistMetric(Metric metric)
           
 

Method parameters in org.sonar.jpa.dao with type arguments of type Metric
 void MeasuresDao.disabledMetrics(Collection<Metric> metrics)
           
 List<Metric> MeasuresDao.getMetrics(List<Metric> metrics)
           
 void MeasuresDao.registerMetrics(Collection<Metric> metrics)
           
 

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

Methods in org.sonar.plugins.core.metrics that return types with arguments of type Metric
 List<Metric> UserManagedMetrics.getMetrics()
           
 

Uses of Metric in org.sonar.plugins.core.sensors
 

Methods in org.sonar.plugins.core.sensors that return Metric
 Metric GenerateAlertEvents.dependsUponAlertStatus()
           
 Metric DirectoriesDecorator.generateDirectoriesMetric()
           
 Metric FilesDecorator.generateDirectoriesMetric()
           
 Metric CheckAlertThresholds.generatesAlertStatus()
           
 Metric ViolationsDensityDecorator.generatesViolationsDensity()
           
 Metric WeightedViolationsDecorator.generatesWeightedViolations()
           
protected  Metric ItCoverageDecorator.getGeneratedMetric()
           
protected  Metric LineCoverageDecorator.getGeneratedMetric()
           
protected  Metric BranchCoverageDecorator.getGeneratedMetric()
           
protected  Metric ItLineCoverageDecorator.getGeneratedMetric()
           
protected  Metric ItBranchCoverageDecorator.getGeneratedMetric()
           
protected abstract  Metric AbstractCoverageDecorator.getGeneratedMetric()
           
protected  Metric CoverageDecorator.getGeneratedMetric()
           
protected  Metric ItCoverageDecorator.getGeneratedMetricForNewCode()
           
protected  Metric LineCoverageDecorator.getGeneratedMetricForNewCode()
           
protected  Metric BranchCoverageDecorator.getGeneratedMetricForNewCode()
           
protected  Metric ItLineCoverageDecorator.getGeneratedMetricForNewCode()
           
protected  Metric ItBranchCoverageDecorator.getGeneratedMetricForNewCode()
           
protected abstract  Metric AbstractCoverageDecorator.getGeneratedMetricForNewCode()
           
protected  Metric CoverageDecorator.getGeneratedMetricForNewCode()
           
 

Methods in org.sonar.plugins.core.sensors that return types with arguments of type Metric
 List<Metric> LineCoverageDecorator.dependsUponMetrics()
           
 List<Metric> BranchCoverageDecorator.dependsUponMetrics()
           
 List<Metric> ItLineCoverageDecorator.dependsUponMetrics()
           
 List<Metric> ItBranchCoverageDecorator.dependsUponMetrics()
           
 List<Metric> CommentDensityDecorator.dependsUponMetrics()
           
 List<Metric> CheckAlertThresholds.dependsUponMetrics()
           
 List<Metric> WeightedViolationsDecorator.dependsUponViolations()
           
 List<Metric> ViolationsDensityDecorator.dependsUponWeightedViolationsAndNcloc()
           
 Collection<Metric> AbstractCoverageDecorator.generatedMetrics()
           
 List<Metric> CommentDensityDecorator.generatesMetrics()
           
 List<Metric> UnitTestDecorator.generatesMetrics()
           
 List<Metric> ViolationsDecorator.generatesViolationsMetrics()
           
 Collection<Metric> ItCoverageDecorator.usedMetrics()
           
 Collection<Metric> CoverageDecorator.usedMetrics()
           
 

Uses of Metric in org.sonar.plugins.core.timemachine
 

Methods in org.sonar.plugins.core.timemachine that return Metric
 Metric NewCoverageFileAnalyzer.getConditionsByLineMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getConditionsByLineMetric()
           
 Metric NewItCoverageFileAnalyzer.getConditionsByLineMetric()
           
 Metric NewCoverageFileAnalyzer.getCoverageLineHitsDataMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getCoverageLineHitsDataMetric()
           
 Metric NewItCoverageFileAnalyzer.getCoverageLineHitsDataMetric()
           
 Metric NewCoverageFileAnalyzer.getCoveredConditionsByLineMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getCoveredConditionsByLineMetric()
           
 Metric NewItCoverageFileAnalyzer.getCoveredConditionsByLineMetric()
           
 Metric NewCoverageFileAnalyzer.getNewConditionsToCoverMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getNewConditionsToCoverMetric()
           
 Metric NewItCoverageFileAnalyzer.getNewConditionsToCoverMetric()
           
 Metric NewCoverageFileAnalyzer.getNewLinesToCoverMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getNewLinesToCoverMetric()
           
 Metric NewItCoverageFileAnalyzer.getNewLinesToCoverMetric()
           
 Metric NewCoverageFileAnalyzer.getNewUncoveredConditionsMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getNewUncoveredConditionsMetric()
           
 Metric NewItCoverageFileAnalyzer.getNewUncoveredConditionsMetric()
           
 Metric NewCoverageFileAnalyzer.getNewUncoveredLinesMetric()
           
abstract  Metric AbstractNewCoverageFileAnalyzer.getNewUncoveredLinesMetric()
           
 Metric NewItCoverageFileAnalyzer.getNewUncoveredLinesMetric()
           
 

Methods in org.sonar.plugins.core.timemachine that return types with arguments of type Metric
 List<Metric> AbstractNewCoverageFileAnalyzer.dependsOnMetrics()
           
 List<Metric> TendencyDecorator.dependsUponMetrics()
           
 Collection<Metric> VariationDecorator.dependsUponMetrics()
           
 List<Metric> NewViolationsDecorator.generatesMetric()
           
 List<Metric> NewCoverageAggregator.generatesNewCoverageMetrics()
           
 List<Metric> AbstractNewCoverageFileAnalyzer.generatesNewCoverageMetrics()
           
 

Uses of Metric in org.sonar.plugins.cpd.decorators
 

Methods in org.sonar.plugins.cpd.decorators that return Metric
 Metric DuplicationDensityDecorator.generatesMetric()
           
 

Methods in org.sonar.plugins.cpd.decorators that return types with arguments of type Metric
 List<Metric> DuplicationDensityDecorator.dependsUponMetrics()
           
 List<Metric> SumDuplicationsDecorator.generatesMetrics()
           
 

Uses of Metric in org.sonar.plugins.design.batch
 

Methods in org.sonar.plugins.design.batch that return Metric
 Metric SuspectLcom4DensityDecorator.generatesMetric()
           
 Metric TangleIndexDecorator.generatesMetric()
          Used to define downstream dependencies
 

Methods in org.sonar.plugins.design.batch that return types with arguments of type Metric
 List<Metric> TangleIndexDecorator.dependsUponMetrics()
           
 

Constructors in org.sonar.plugins.design.batch with parameters of type Metric
TangleIndexDecorator(Metric tanglesMetric, Metric edgesWeightMetric, Metric tangleIndexMetric)
           
 

Uses of Metric in org.sonar.plugins.squid.decorators
 

Methods in org.sonar.plugins.squid.decorators that return Metric
 Metric ClassComplexityDistributionBuilder.dependOnComplexity()
           
 Metric FunctionComplexityDistributionBuilder.dependOnComplexity()
           
 Metric ChidamberKemererDistributionBuilder.dependsInLcom4()
           
 Metric ChidamberKemererDistributionBuilder.dependsInRfc()
           
 Metric ClassComplexityDistributionBuilder.generatesFunctionComplexityDistribution()
           
 Metric FunctionComplexityDistributionBuilder.generatesFunctionComplexityDistribution()
           
 Metric ChidamberKemererDistributionBuilder.generatesLcom4Distribution()
           
 Metric ChidamberKemererDistributionBuilder.generatesRfcDistribution()
           
 

Uses of Metric in org.sonar.server.configuration
 

Methods in org.sonar.server.configuration that return types with arguments of type Metric
 Collection<Metric> SonarConfig.getMetrics()
           
 

Method parameters in org.sonar.server.configuration with type arguments of type Metric
protected  void MetricsBackup.exportXml(SonarConfig sonarConfig, Collection<Metric> metrics)
           
 void SonarConfig.setMetrics(Collection<Metric> metrics)
           
 

Uses of Metric in org.sonar.server.startup
 

Method parameters in org.sonar.server.startup with type arguments of type Metric
protected  void RegisterMetrics.register(List<Metric> metrics)
           
 



Copyright © 2009-2012 SonarSource. All Rights Reserved.