An open API service indexing awesome lists of open source software.

https://github.com/forcedotcom/sfdx-scanner


https://github.com/forcedotcom/sfdx-scanner

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

[![License](https://img.shields.io/npm/l/scanner.svg)](https://github.com/forcedotcom/sfdx-scanner/blob/master/package.json)

# 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](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review_code_analyzer_scan.htm) and [AppExchange Security Review](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review_overview.htm).

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](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview) 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](https://github.com/forcedotcom/sfdx-scanner/blob/dev/CONTRIBUTING.md)