org.sonar.plugins.javancss
Class AverageFunctionComplexityJob

java.lang.Object
  extended by org.sonar.plugins.api.jobs.AbstractJob
      extended by org.sonar.plugins.api.jobs.AbstractWeightingJob
          extended by org.sonar.plugins.javancss.AverageFunctionComplexityJob
All Implemented Interfaces:
Extension, Job

public class AverageFunctionComplexityJob
extends AbstractWeightingJob


Constructor Summary
AverageFunctionComplexityJob()
           
 
Method Summary
protected  Metric getDividendMetric()
           
protected  Metric getDivisorMetric()
           
protected  Metric getTargetMetric()
           
protected  Language shouldExecuteOnLanguage()
           
 boolean shouldExecuteOnResource(Resource resource)
           
 
Methods inherited from class org.sonar.plugins.api.jobs.AbstractWeightingJob
compute, dependsOnJobs, dependsOnMetrics, execute, generatesMetrics
 
Methods inherited from class org.sonar.plugins.api.jobs.AbstractJob
shouldExecuteOnProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageFunctionComplexityJob

public AverageFunctionComplexityJob()
Method Detail

getTargetMetric

protected Metric getTargetMetric()
Specified by:
getTargetMetric in class AbstractWeightingJob

getDivisorMetric

protected Metric getDivisorMetric()
Specified by:
getDivisorMetric in class AbstractWeightingJob

getDividendMetric

protected Metric getDividendMetric()
Specified by:
getDividendMetric in class AbstractWeightingJob

shouldExecuteOnResource

public boolean shouldExecuteOnResource(Resource resource)

shouldExecuteOnLanguage

protected Language shouldExecuteOnLanguage()
Specified by:
shouldExecuteOnLanguage in class AbstractJob
Returns:
null if executes on all languages


Copyright © 2008 SonarSource SA. All Rights Reserved.