The Grails CodeNarc Plugin runs CodeNarc static analysis rules for Groovy source code within a Grails project.
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. See http://codenarc.sourceforge.net/index.html.
Plugin page: http://grails.org/plugin/codenarc GitHub repository: https://github.com/chrismair/GrailsCodeNarcPlugin CodeNarc: http://codenarc.sourceforge.net/index.html