CodeNarc

CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues and more

CodeNarc

Language: Groovy
Checks: 164
Categories: Duplication, Bug Risk, Style, Complexity
CodeNarc Version: 1.4

CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues and more. A flexible framework for rules, rulesets and custom rules means it's easy to configure CodeNarc to fit into your project.

Enable the Plugin

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

plugins:
  codenarc:
    enabled: true

More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate.


Configure the Plugin

Configuration documentation is available from CodeNarc's documentation here.

Understand the Plugin

For more information about all the checks available and their configuration options, please check out the documentation here: http://codenarc.sourceforge.net.