# CodeNarc Report

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

## Summary by Package

Package | Total Files | Files with Violations | Priority 1 | Priority 2 | Priority 3
--- | --- | --- | --- | --- | ---
All Packages | 10 | 3 | - | 2 | 3
src/main | 1 | 1 | - | 1 | 2
src/main/code | 2 | 1 | - | - | 1
src/main/test | 3 | 1 | - | 1 | -
src/main/test/noviolations | 4 | - | - | - | -

## Package: src.main

### ➥ MyAction.groovy

Rule Name | Priority | Line # | Source Line / Message
--- | --- | --- | ---
RULE2 | 2 | 222 | [MSG]bad stuff
RULE3 | 3 | 333 | [SRC]throw new Exception() // Some very long message 12345678..901234567890 [MSG]Other info
RULE3 | 3 | 333 | [SRC]throw new Exception() // Some very long message 12345678..901234567890 [MSG]Other info
RULE4 | 4 | 111 | [SRC]if (file) {
RULE4 | 4 | 111 | [SRC]if (file) {

## Package: src.main.code

### ➥ src/main/MyAction2.groovy

Rule Name | Priority | Line # | Source Line / Message
--- | --- | --- | ---
RULE3 | 3 | 333 | [SRC]throw new Exception() // Some very long message 12345678..901234567890 [MSG]Other info

## Package: src.main.test

### ➥ src/main/MyActionTest.groovy

Rule Name | Priority | Line # | Source Line / Message
--- | --- | --- | ---
RULE2 | 2 | 222 | [MSG]bad stuff
RULE4 | 4 | 111 | [SRC]if (file) {

## Rule Descriptions

# | Rule Name | Description
--- | --- | ---
1 | MyRuleXX | HTML Rule XX
2 | MyRuleYY | My Rule YY
3 | UnnecessaryBooleanInstantiation | Use 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).