Modifier and Type | Method and Description |
---|---|
DecoratorContext |
DecoratorContext.saveMeasure(Measure measure)
Add a measure on the current resource.
|
DecoratorContext |
DecoratorContext.saveMeasure(Metric metric,
Double value)
Add a measure on the current resource.
|
DecoratorContext |
DecoratorContext.saveViolation(Violation violation)
Save a coding rule violation.
|
DecoratorContext |
DecoratorContext.saveViolation(Violation violation,
boolean force)
Save a coding rule violation.
|
Modifier and Type | Method and Description |
---|---|
List<DecoratorContext> |
DecoratorContext.getChildren()
Child contexts are read only
|
Modifier and Type | Method and Description |
---|---|
void |
Decorator.decorate(Resource resource,
DecoratorContext context) |
void |
AbstractSumChildrenDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
AbstractFunctionComplexityDistributionDecorator.decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
void |
AbstractFunctionComplexityDecorator.decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
void |
AbstractFilesDecorator.decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
void |
AbstractFileComplexityDecorator.decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
void |
AbstractDivisionDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
AbstractDirectoriesDecorator.decorate(Resource resource,
DecoratorContext context)
Deprecated.
|
void |
DefaultFormulaContext.setDecoratorContext(DecoratorContext decoratorContext) |
protected boolean |
AbstractDivisionDecorator.shouldDecorateResource(DecoratorContext context) |
Constructor and Description |
---|
DefaultFormulaData(DecoratorContext decoratorContext) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDecoratorContext |
Modifier and Type | Method and Description |
---|---|
DecoratorContext |
DefaultDecoratorContext.saveMeasure(Measure measure) |
DecoratorContext |
DefaultDecoratorContext.saveMeasure(Metric metric,
Double value) |
Modifier and Type | Method and Description |
---|---|
List<DecoratorContext> |
DefaultDecoratorContext.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
FormulaDecorator.decorate(Resource resource,
DecoratorContext context) |
Constructor and Description |
---|
DefaultDecoratorContext(Resource resource,
SonarIndex index,
List<DecoratorContext> childrenContexts) |
Modifier and Type | Method and Description |
---|---|
void |
ApplyProjectRolesDecorator.decorate(Resource resource,
DecoratorContext context) |
Modifier and Type | Method and Description |
---|---|
protected long |
ItCoverageDecorator.countCoveredElements(DecoratorContext context) |
protected long |
LineCoverageDecorator.countCoveredElements(DecoratorContext context) |
protected long |
BranchCoverageDecorator.countCoveredElements(DecoratorContext context) |
protected long |
ItLineCoverageDecorator.countCoveredElements(DecoratorContext context) |
protected long |
ItBranchCoverageDecorator.countCoveredElements(DecoratorContext context) |
protected abstract long |
AbstractCoverageDecorator.countCoveredElements(DecoratorContext context) |
protected long |
CoverageDecorator.countCoveredElements(DecoratorContext context) |
protected long |
ItCoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected long |
LineCoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected long |
BranchCoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected long |
ItLineCoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected long |
ItBranchCoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected abstract long |
AbstractCoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected long |
CoverageDecorator.countCoveredElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected Long |
ItCoverageDecorator.countElements(DecoratorContext context) |
protected Long |
LineCoverageDecorator.countElements(DecoratorContext context) |
protected Long |
BranchCoverageDecorator.countElements(DecoratorContext context) |
protected Long |
ItLineCoverageDecorator.countElements(DecoratorContext context) |
protected Long |
ItBranchCoverageDecorator.countElements(DecoratorContext context) |
protected abstract Long |
AbstractCoverageDecorator.countElements(DecoratorContext context) |
protected Long |
CoverageDecorator.countElements(DecoratorContext context) |
protected Long |
ItCoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected Long |
LineCoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected Long |
BranchCoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected Long |
ItLineCoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected Long |
ItBranchCoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected abstract Long |
AbstractCoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
protected Long |
CoverageDecorator.countElementsForNewCode(DecoratorContext context,
int periodIndex) |
void |
ManualMeasureDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
ManualViolationInjector.decorate(Resource resource,
DecoratorContext context) |
void |
ReviewsMeasuresDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
ViolationsDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
AbstractCoverageDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
WeightedViolationsDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
GenerateAlertEvents.decorate(Resource resource,
DecoratorContext context) |
void |
CommentDensityDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
ViolationSeverityUpdater.decorate(Resource resource,
DecoratorContext context) |
void |
DirectoriesDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
ViolationsDensityDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
CheckAlertThresholds.decorate(Resource resource,
DecoratorContext context) |
void |
FilesDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
ReviewWorkflowDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
UnitTestDecorator.decorate(Resource resource,
DecoratorContext context) |
protected boolean |
AbstractCoverageDecorator.shouldDecorate(Resource resource,
DecoratorContext context) |
protected boolean |
ViolationsDensityDecorator.shouldDecorateResource(DecoratorContext context) |
boolean |
UnitTestDecorator.shouldDecorateResource(Resource resource,
DecoratorContext context) |
protected void |
ReviewsMeasuresDecorator.trackNewViolationsWithoutReview(DecoratorContext context,
Map<Integer,ReviewDto> openReviewsByViolationPermanentIds) |
Modifier and Type | Method and Description |
---|---|
void |
ViolationPersisterDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
TendencyDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
NewCoverageAggregator.decorate(Resource resource,
DecoratorContext context) |
void |
ViolationTrackingDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
VariationDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
AbstractNewCoverageFileAnalyzer.decorate(Resource resource,
DecoratorContext context) |
void |
NewViolationsDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
TimeMachineConfigurationPersister.decorate(Resource resource,
DecoratorContext context) |
protected void |
NewViolationsDecorator.notifyNewViolations(Project project,
DecoratorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
DuplicationDensityDecorator.decorate(Resource resource,
DecoratorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ProjectDsmDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
SuspectLcom4DensityDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
TangleIndexDecorator.decorate(Resource resource,
DecoratorContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ChidamberKemererDistributionBuilder.decorate(Resource resource,
DecoratorContext context) |
void |
FunctionsDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
ClassesDecorator.decorate(Resource resource,
DecoratorContext context) |
void |
FunctionComplexityDistributionBuilder.decorate(Resource resource,
DecoratorContext context) |
void |
FileComplexityDistributionDecorator.decorate(Resource resource,
DecoratorContext context) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.