Class StdCyclomaticComplexityRule

  • All Implemented Interfaces:
    ApexParserVisitor, net.sourceforge.pmd.lang.rule.ImmutableLanguage,, net.sourceforge.pmd.renderers.CodeClimateRule, net.sourceforge.pmd.Rule

    public class StdCyclomaticComplexityRule
    extends AbstractApexRule
    Implements the standard cyclomatic complexity rule

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

    June 18, 2014
    ported on Java version of Alan Hohn, based on work by Donald A. Leckie