Groovy Documentation

groovy.org.codenarc.rule.size
[Groovy] Class CrapMetricAstVisitor

java.lang.Object
  org.codenarc.rule.AbstractAstVisitor
      groovy.org.codenarc.rule.size.AbstractMethodMetricAstVisitor
          groovy.org.codenarc.rule.size.CrapMetricAstVisitor

class CrapMetricAstVisitor
extends AbstractMethodMetricAstVisitor

Field Summary
 
Fields inherited from class AbstractMethodMetricAstVisitor
metric
 
Property Summary
String metricShortDescription

 
Constructor Summary
protected CrapMetricAstVisitor(org.gmetrics.metric.crap.CrapMetric crapMetric)

 
Method Summary
protected Object createMetric()

protected Object getMaxClassMetricValue()

protected Object getMaxMethodMetricValue()

 
Methods inherited from class AbstractMethodMetricAstVisitor
createMetric, extractMethodName, getLineNumber, getMaxClassMetricValue, getMaxMethodMetricValue, getMethodNode, getMetricShortDescription, getSourceLine, isIgnoredMethodName, visitClassEx
 

Property Detail

metricShortDescription

final String metricShortDescription


 
Constructor Detail

CrapMetricAstVisitor

protected CrapMetricAstVisitor(org.gmetrics.metric.crap.CrapMetric crapMetric)


 
Method Detail

createMetric

@Override
protected Object createMetric()


getMaxClassMetricValue

@Override
protected Object getMaxClassMetricValue()


getMaxMethodMetricValue

@Override
protected Object getMaxMethodMetricValue()


 

Groovy Documentation