Language: Salesforce.com Apex
Categories: Complexity, Security, Performance and Style
Keep your Salesforce.com Apex code clean and enforce coding standards across your team. ApexMetrics runs sophisticated static code analysis to find technical debt, identify hot spots for refactoring and show improvements.
To enable ApexMetrics analysis, add the following to your
.codeclimate.yml configuration file:
engines apexmetrics enabledtrue ratings paths "**.cls" "**.trigger"
You can also enable the engine via the CLI with
codeclimate engines:enable apexmetrics. This will create a default configuration file for you if you don’t already have one.
More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate
Configuration documentation is available here: https://github.com/Up2Go/codeclimate-apexmetrics#enable-and-configure-the-engine
For more information about all the checks available and their configuration options, please check out the documentation here: https://github.com/Up2Go/codeclimate-apexmetrics#pmd-rule-customization-optional