Class StdCyclomaticComplexityRule

  • All Implemented Interfaces:
    ApexParserVisitor, net.sourceforge.pmd.lang.rule.ImmutableLanguage, net.sourceforge.pmd.properties.PropertySource, 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.

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