The CodeNarc Eclipse plug-in integrates the source code analyzer CodeNarc into Eclipse.

CodeNarc is a static analysis tool for Groovy source code, enabling monitoring and enforcement of many coding standards and best practices. CodeNarc applies predefined and/or custom rules to each Groovy file, and generates an HTML or XML report.


  1. Inside Eclipse select "Help" → "Install New Software..." → "Add..."
  2. Enter "CodeNarc" into the Name field and one of the update site URLs into the Location field.
  3. Click through the rest of the dialog boxes to install the plugin. Ignore the warning that the plugin is not signed.
Update Sites


Supported Eclipse versions: 3.5, 3.6, 3.7 and 4.2

Currently all rulesets that ship with CodeNarc are used to check for violations.

CodeNarc is only enabled for projects having the Groovy nature.

You can mark .groovy files or a Groovy project and check the code with CodeNarc.

Check code with CodeNarc

In case of violations, CodeNarc markers are added to the editor and "Problems" view.

Violation Markers


Version 0.21.0 (2014-08-03)

Version 0.20.0 (2013-12-23)

Version 0.19.0 (2013-08-04)

Version 0.18.2 (2013-04-03)

Version 0.18.1 (2013-01-06)

Version 0.18.0 (2012-12-23)

Version 0.17.0 (2012-04-23)

Version 0.16.1 (2011-12-26)

Version 0.15.0 (2011-08-15)

Version 0.14.0 (not released)