Salesforce Code Analyzer

Salesforce Code Analyzer

Salesforce Code Analyzer

Salesforce Code Analyzer (Code Analyzer) is a unified tool for source code analysis. Code Analyzer analyzes multiple languages. It relies on a consistent command-line interface and produces a results file of rule violations. Use the results to review and improve your code.

If you’re listing a managed package on AppExchange, it must pass security review. You’re also required to upload your Salesforce Code Analyzer scan reports. Attach your Code Analyzer reports to your submission in the AppExchange Security Review Wizard. For more info, read about the AppExchange Security Review and Scan Your Code with Salesforce Code Analyzer.

Code Analyzer currently supports the PMD rule engine, PMD Copy Paste Detector, ESLint, RetireJS, and Salesforce Graph Engine.

Integrate Code Analyzer into your Continuous Integration/Continuous Development (CI/CD) process to enforce rules that you define and to produce high-quality code.

Bugs, Feedback, and Feature Requests

To report Code Analyzer issues, create a bug on GitHub. To suggest a feature enhancement, create a request on GitHub or provide feedback here.

See Also

Feedback or Bugs | Edit this Article