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
Warning

Deeply nested if..else statements are hard to read

Learn more

CyclomaticComplexity

Design
Warning

Cyclomatic complexity too high

ExcessiveParameterList

Design
Warning

Avoid long parameter lists

ExcessivePublicCount

Design
Warning

This class has too many public methods and attributes

NcssMethodCount

Design
Warning

Too many lines of code in a method

StdCyclomaticComplexity

Design
Warning

Check cyclomatic complexity

TooManyFields

Design
Warning

Too many fields

EmptyTryOrFinallyBlock

Design
Warning

Avoid empty try or finally blocks

SUBTYPE_OF_SEALED_CLASS

Design
Warning

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

W4905

Design
Warning

Using deprecated decorator

We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.