Class AbstractPackageCouplingMetric

java.lang.Object
org.gmetrics.metric.AbstractMetric
org.gmetrics.metric.coupling.AbstractPackageCouplingMetric
All Implemented Interfaces:
groovy.lang.GroovyObject, Metric
Direct Known Subclasses:
AfferentCouplingMetric, EfferentCouplingMetric

public abstract class AbstractPackageCouplingMetric extends AbstractMetric
  • Field Details

  • Constructor Details

    • AbstractPackageCouplingMetric

      public AbstractPackageCouplingMetric()
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
      Overrides:
      getMetaClass in class AbstractMetric
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
      Overrides:
      setMetaClass in class AbstractMetric
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
      Overrides:
      invokeMethod in class AbstractMetric
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
      Overrides:
      getProperty in class AbstractMetric
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
      Overrides:
      setProperty in class AbstractMetric
    • getBaseLevel

      public final MetricLevel getBaseLevel()
    • getIgnorePackageNames

      public String getIgnorePackageNames()
    • setIgnorePackageNames

      public void setIgnorePackageNames(String value)
    • calculateForClass

      protected ClassMetricResult calculateForClass(org.codehaus.groovy.ast.ClassNode classNode, SourceCode sourceCode)
      Specified by:
      calculateForClass in class AbstractMetric