Skip to content

forcedotcom/sfdx-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License

Salesforce Code Analyzer

Salesforce Code Analyzer is a unified tool for static analysis of source code. 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 Scan Your Code with Salesforce Code Analyzer and AppExchange Security Review.

Code Analyzer current 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.

Salesforce Code Analyzer Documentation

Read Salesforce Code Analyzer documentation to learn:

  • how to install Code Analyzer
  • what is included in the Code Analyzer command reference
  • the structure of Code Analyzer architecture
  • how to write and manage custom rules

Contribute to Salesforce Code Analyzer

Read these instructions to contribute to Code Analyzer