CodeNarc Report

Report title:
Date:Feb 24, 2011 9:32:38 PM
Generated with:CodeNarc v0.12

Summary by Package

PackageTotal FilesFiles with ViolationsPriority 1Priority 2Priority 3
All Packages103-23
src/main11-12
src/main/code21--1
src/main/test31-1-
src/main/test/noviolations4----

Package: src.main

➥ MyAction.groovy

Rule NamePriorityLine #Source Line / Message
RULE22222

[MSG]bad stuff

RULE33333

[SRC]throw new Exception() // Some very long message 12345678..901234567890

[MSG]Other info

RULE33333

[SRC]throw new Exception() // Some very long message 12345678..901234567890

[MSG]Other info

RULE44111

[SRC]if (file) {

RULE44111

[SRC]if (file) {

Package: src.main.code

➥ src/main/MyAction2.groovy

Rule NamePriorityLine #Source Line / Message
RULE33333

[SRC]throw new Exception() // Some very long message 12345678..901234567890

[MSG]Other info

Package: src.main.test

➥ src/main/MyActionTest.groovy

Rule NamePriorityLine #Source Line / Message
RULE22222

[MSG]bad stuff

RULE44111

[SRC]if (file) {

Rule Descriptions

#Rule NameDescription
1MyRuleXXHTML Rule XX
2MyRuleYYMy Rule YY
3UnnecessaryBooleanInstantiationUse Boolean.valueOf() for variable values or Boolean.TRUE and Boolean.FALSE for constant values instead of calling the Boolean() constructor directly or calling Boolean.valueOf(true) or Boolean.valueOf(false).