org.sonar.plugins.core.timemachine
Class AbstractNewCoverageFileAnalyzer
java.lang.Object
org.sonar.plugins.core.timemachine.AbstractNewCoverageFileAnalyzer
- All Implemented Interfaces:
- CheckProject, Decorator, BatchComponent, BatchExtension, Extension
- Direct Known Subclasses:
- NewCoverageFileAnalyzer, NewItCoverageFileAnalyzer
public abstract class AbstractNewCoverageFileAnalyzer
- extends Object
- implements Decorator
- Since:
- 2.7
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNewCoverageFileAnalyzer
public AbstractNewCoverageFileAnalyzer(TimeMachineConfiguration timeMachineConfiguration)
getCoverageLineHitsDataMetric
public abstract Metric getCoverageLineHitsDataMetric()
getConditionsByLineMetric
public abstract Metric getConditionsByLineMetric()
getCoveredConditionsByLineMetric
public abstract Metric getCoveredConditionsByLineMetric()
getNewLinesToCoverMetric
public abstract Metric getNewLinesToCoverMetric()
getNewUncoveredLinesMetric
public abstract Metric getNewUncoveredLinesMetric()
getNewConditionsToCoverMetric
public abstract Metric getNewConditionsToCoverMetric()
getNewUncoveredConditionsMetric
public abstract Metric getNewUncoveredConditionsMetric()
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject
in interface CheckProject
dependsOnMetrics
public List<Metric> dependsOnMetrics()
generatesNewCoverageMetrics
public List<Metric> generatesNewCoverageMetrics()
decorate
public void decorate(Resource resource,
DecoratorContext context)
- Specified by:
decorate
in interface Decorator
- Parameters:
resource
- resource that is currently decorated, equivalent of context.getResource()
Copyright © 2009-2012 SonarSource. All Rights Reserved.