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.

ClassNamingConventions

Code style
Warning

Class names should begin with an uppercase character

Learn more

FieldNamingConventions

Code style
Warning

Check name conventions

FormalParameterNamingConventions

Code style
Warning

Check name conventions for formal parameters

IfElseStmtsMustUseBraces

Code style
Warning

Avoid using if...else statements without curly braces

IfStmtsMustUseBraces

Code style
Warning

Avoid using if statements without curly braces

LocalVariableNamingConventions

Code style
Warning

Check local variable names conventions

MethodNamingConventions

Code style
Warning

Method name does not begin with a lower case character.

OneDeclarationPerLine

Code style
Warning

Use one statement for each line

PropertyNamingConventions

Code style
Warning

Ensure property name conventions

ForLoopsMustUseBraces

Code style
Informational

Avoid using for statements without curly braces

WhileLoopsMustUseBraces

Code style
Informational

Avoid using while statements without curly braces.

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.