Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

ApexMetrics

Language: Salesforce.com Apex
Checks: 29
Categories: Complexity, Security, Performance and Style

ApexMetrics is a Code Climate engine for the programming language Apex of the Force.com cloud platform by Salesforce.com.

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.

Enable the Engine

To enable ApexMetrics analysis, add the following to your .codeclimate.yml configuration file:

engines:
 apexmetrics:
    enabled: true
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

Configure the Engine

Understanding 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

ApexMetrics