Class StdCyclomaticComplexityRule

  • All Implemented Interfaces:
    ApexParserVisitor, ImmutableLanguage, PropertySource, CodeClimateRule, 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