Engines (Beta)
These engines are available with Salesforce Code Analyzer.
Code Analyzer v5 is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.
Rule Engine | Description | Engine Short Name to Use in CLI Commands |
---|---|---|
CPD | Identifies blocks of duplication across files. | cpd |
ESLint | Evaluates JavaScript and TypeScript code. | eslint |
Flowtest | Audits Salesforce Flows and reports detailed information about security issues. | flowtest |
PMD | Allows for static analysis of code written in a number of supported languages, such as Apex and Visualforce. Includes the PMD AppExchange rules. | pmd |
RetireJS | Analyzes a project’s third-party JavaScript dependencies and identifies security vulnerabilities. | retire-js |
Regex | Uses regular expressions (regex) to search your code base for patterns. | regex |