ApexCRUDViolation
Validate CRUD permission before SOQL/DML operation
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.
Validate CRUD permission before SOQL/DML operation
Unexpected doc
Apex callouts should use encrypted communication channels
Apex classes should declare a sharing model if DML or SOQL is used
Apex classes should escape variables merged in DML query
Consider using named credentials for authenticated callouts
Apex unit test classes should have at least one System.assert() or assertEquals() or AssertNotEquals() call
Deeply nested if..else statements are hard to read
Avoid using global modifier
Avoid hardcoding IDs
Avoid logic in triggers
Class names should begin with an uppercase character
Cyclomatic complexity too high
Calls to System.debug should specify a logging level.
Avoid empty catch blocks
Avoid empty if statements
Avoid empty block statements.
Avoid long parameter lists
This class has too many public methods and attributes
Check name conventions
Check name conventions for formal parameters
Avoid using if...else statements without curly braces
Avoid using if statements without curly braces
Check local variable names conventions
Method name does not begin with a lower case character.
Too many lines of code in a method
Use one statement for each line
Avoid operations in loops that may hit governor limits
Ensure property name conventions
Check cyclomatic complexity
Too many fields
The constructor has a high NCSS line count
The type has a high NCSS line count
Non-constructor methods should not have the same name as the enclosing class.
Apex unit tests should not use @isTest(seeAllData=true) because it opens up the existing database data for unexpected modification by tests.
Avoid empty try or finally blocks
Class shouldn't be extended, mixed in, or implemented because it's sealed.
Ensure no IAM policies documents allow "*" as a statement's actions
Ensure web app redirects all HTTP traffic to HTTPS in Azure App Service
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.