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.

AvoidHardcodingId

Error prone
Warning

Avoid hardcoding IDs

Learn more

EmptyCatchBlock

Error prone
Warning

Avoid empty catch blocks

EmptyIfStmt

Error prone
Warning

Avoid empty if statements

EmptyStatementBlock

Error prone
Warning

Avoid empty block statements.

MethodWithSameNameAsEnclosingClass

Error prone
Warning

Non-constructor methods should not have the same name as the enclosing class.

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.