Class CouplingBetweenObjectsRule

  • All Implemented Interfaces:
    JavaParserVisitor, net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.properties.PropertySource, net.sourceforge.pmd.Rule

    public class CouplingBetweenObjectsRule
    extends AbstractJavaRule
    CouplingBetweenObjects attempts to capture all unique Class attributes, local variables, and return types to determine how many objects a class is coupled to. This is only a gauge and isn't a hard and fast rule. The threshold value is configurable and should be determined accordingly
    Since:
    Feb 20, 2003
    Author:
    aglover