CodeNarc source
Groovy HTML Java CSS JavaScript Shell
Latest commit 53f670e Jul 21, 2017 Chris Mair Update CHANGELOG for pull request #213

CodeNarc (

Maven Central

CodeNarc is a static analysis tool for Groovy source code, enabling monitoring and enforcement of many coding standards and best practices. CodeNarc applies a set of Rules (predefined and/or custom) that are applied to each Groovy file, and generates an HTML or XML report of the results, including a list of rules violated for each source file, and a count of the number of violations per package and for the whole project.

CodeNarc is similar to popular static analysis tools such as PMD or Checkstyle. Unlike those tools which analyze Java code, CodeNarc analyzes Groovy code.


CodeNarc requires


For projects built using Gradle or Maven, CodeNarc is available from the Maven Central Repository.

  • groupId = org.codenarc
  • artifactId = CodeNarc