org.sonar.plugins.squid.decorators
Class FileComplexityDistributionDecorator

java.lang.Object
  extended by org.sonar.plugins.squid.decorators.FileComplexityDistributionDecorator
All Implemented Interfaces:
CheckProject, Decorator, BatchComponent, BatchExtension, Extension

public class FileComplexityDistributionDecorator
extends Object
implements Decorator

Since:
3.0

Constructor Summary
FileComplexityDistributionDecorator()
           
 
Method Summary
 void decorate(Resource resource, DecoratorContext context)
           
 Metric dependOnComplexity()
           
 Metric generatesComplexityDistribution()
           
 boolean shouldExecuteOnProject(Project project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileComplexityDistributionDecorator

public FileComplexityDistributionDecorator()
Method Detail

dependOnComplexity

public Metric dependOnComplexity()

generatesComplexityDistribution

public Metric generatesComplexityDistribution()

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

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.