facebook pixelAPEX Static Code Analysis Rules
BACK TO LIST

Apex rules

All the static analysis rules you need for the Salesforce APEX language. Use Codiga to analyze your code and automate your code reviews for APEX.

      AvoidDeeplyNestedIfStmts

      Design
      Medium

      Deeply nested if..else statements are hard to read

      Learn more

      CyclomaticComplexity

      Design
      Medium

      Cyclomatic complexity too high

      ExcessiveClassLength

      Design
      Medium

      Avoid really long classes (lines of code)

      ExcessiveParameterList

      Design
      Medium

      Avoid long parameter lists

      ExcessivePublicCount

      Design
      Medium

      This class has too many public methods and attributes

      NcssMethodCount

      Design
      Medium

      Too many lines of code in a method

      StdCyclomaticComplexity

      Design
      Medium

      Check cyclomatic complexity

      TooManyFields

      Design
      Medium

      Too many fields

      EmptyTryOrFinallyBlock

      Design
      Medium

      Avoid empty try or finally blocks

      SUBTYPE_OF_SEALED_CLASS

      Design
      Medium

      Class shouldn't be extended, mixed in, or implemented because it's sealed.