Menu

CodeNarc 0.5 Released

http://codenarc.sourceforge.net

CodeNarc is a static analysis tool for Groovy source code.

Version 0.5 adds
- A new "grails" ruleset and nine new rules:
* GrailsStatelessServiceRule (grails)
* GrailsPublicControllerMethodRule (grails)
* GrailsServletContextReferenceRule (grails)
* GrailsSessionReferenceRule (grails)
* StatelessClassRule (generic)
* EmptySynchronizedStatementRule (basic).
* EmptySwitchStatementRule (basic).
* EqualsAndHashCodeRule (basic)
* JUnitPublicNonTestMethodRule (junit).
- Run CodeNarc as a command-line application (org.codenarc.CodeNarc).
- Create new rules using Groovy scripts.
- Filter rules based on class and/or package (applyToClassNames and doNotApplyToClassNames)
- Normalize all separators (/,\) in SourceCode paths to '/'.
- Enable setting violationMessage of a rule to an empty string to turn it off.
- Deprecate applyToFilenames and doNotApplyToFilenames; rename to applyToFileNames and doNotApplyToFileNames.

Posted by Chris Mair 2009-05-25

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.