Class StdCyclomaticComplexityRule

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

    @Deprecated
    public class StdCyclomaticComplexityRule
    extends AbstractJavaRule
    Deprecated.
    Implements the standard cyclomatic complexity rule

    Standard rules: +1 for each decision point, including case statements but not including boolean operators unlike CyclomaticComplexityRule.

    Since:
    June 18, 2014
    Author:
    Alan Hohn, based on work by Donald A. Leckie