## PMD Results

The following document contains the results of PMD.

## Summary

Files | Errors
--- | ---
63 | 349

## Files

Files | Violations
--- | ---
groovy/lang/Closure.java | 4
groovy/lang/GroovyClassLoader.java | 2
groovy/lang/GroovyCodeSource.java | 1
groovy/lang/GroovyShell.java | 3
groovy/lang/MetaClassImpl.java | 11
groovy/lang/MetaMethod.java | 1
groovy/lang/SpreadMap.java | 3
groovy/servlet/ServletBinding.java | 1
groovy/servlet/TemplateServlet.java | 1
groovy/sql/Sql.java | 2
groovy/swing/SwingBuilder.java | 2
groovy/text/SimpleTemplateEngine.java | 1
groovy/ui/GroovyMain.java | 1
groovy/ui/InteractiveShell.java | 2
groovy/util/AntBuilder.java | 1
groovy/util/CharsetToolkit.java | 1
groovy/util/GroovyMBean.java | 9
groovy/util/GroovyScriptEngine.java | 3
groovy/util/GroovyTestCase.java | 1
groovy/util/slurpersupport/GPathResult.java | 1
groovy/xml/NamespaceBuilderSupport.java | 1
org/codehaus/groovy/ant/Groovy.java | 4
org/codehaus/groovy/antlr/AntlrASTProcessSnippets.java | 1
org/codehaus/groovy/antlr/AntlrParserPlugin.java | 2
org/codehaus/groovy/antlr/LexerFrame.java | 3
org/codehaus/groovy/antlr/parser/GroovyLexer.java | 95
org/codehaus/groovy/antlr/parser/GroovyRecognizer.java | 88
org/codehaus/groovy/antlr/parser/GroovyTokenTypes.java | 4
org/codehaus/groovy/antlr/treewalker/CompositeVisitor.java | 1
org/codehaus/groovy/antlr/treewalker/NodePrinter.java | 1
org/codehaus/groovy/antlr/treewalker/TraversalHelper.java | 1
org/codehaus/groovy/antlr/treewalker/VisitorAdapter.java | 1
org/codehaus/groovy/ast/ClassHelper.java | 2
org/codehaus/groovy/ast/ClassNode.java | 1
org/codehaus/groovy/ast/CodeVisitorSupport.java | 1
org/codehaus/groovy/ast/FieldNode.java | 1
org/codehaus/groovy/ast/PropertyNode.java | 1
org/codehaus/groovy/bsf/GroovyEngine.java | 1
org/codehaus/groovy/classgen/AsmClassGenerator.java | 12
org/codehaus/groovy/classgen/BytecodeHelper.java | 2
org/codehaus/groovy/classgen/CompileStack.java | 1
org/codehaus/groovy/classgen/DummyClassGenerator.java | 1
org/codehaus/groovy/classgen/VariableScopeVisitor.java | 3
org/codehaus/groovy/classgen/VerifierCodeVisitor.java | 1
org/codehaus/groovy/control/CompilationUnit.java | 8
org/codehaus/groovy/control/CompilerConfiguration.java | 4
org/codehaus/groovy/control/Janitor.java | 1
org/codehaus/groovy/control/ParserPluginFactory.java | 1
org/codehaus/groovy/control/ResolveVisitor.java | 6
org/codehaus/groovy/control/SourceUnit.java | 1
org/codehaus/groovy/control/io/AbstractReaderSource.java | 2
org/codehaus/groovy/runtime/DefaultGroovyMethods.java | 18
org/codehaus/groovy/runtime/Invoker.java | 5
org/codehaus/groovy/runtime/InvokerHelper.java | 5
org/codehaus/groovy/runtime/MetaClassHelper.java | 2
org/codehaus/groovy/runtime/NullObject.java | 1
org/codehaus/groovy/runtime/ScriptBytecodeAdapter.java | 4
org/codehaus/groovy/syntax/ASTHelper.java | 3
org/codehaus/groovy/syntax/CSTNode.java | 3
org/codehaus/groovy/syntax/ParserException.java | 2
org/codehaus/groovy/syntax/Reduction.java | 1
org/codehaus/groovy/syntax/RuntimeParserException.java | 1
org/codehaus/groovy/tools/RootLoader.java | 1

### groovy/lang/Closure.java

Violation | Line
--- | ---
Avoid unused private fields such as 'noParameters' | 67
Avoid unused private fields such as 'emptyArrayParameter' | 69
Avoid empty catch blocks | 126
Avoid empty catch blocks | 152

### groovy/lang/GroovyClassLoader.java

Violation | Line
--- | ---
Avoid empty catch blocks | 199
Avoid empty catch blocks | 818

### groovy/lang/GroovyCodeSource.java

Violation | Line
--- | ---
Avoid empty catch blocks | 144

### groovy/lang/GroovyShell.java

Violation | Line
--- | ---
Avoid empty catch blocks | 162
Avoid empty catch blocks | 358
Avoid empty catch blocks | 361

### groovy/lang/MetaClassImpl.java

Violation | Line
--- | ---
Avoid unused imports such as 'Invoker' | 82
Avoid empty catch blocks | 373
Avoid empty catch blocks | 628
Avoid empty catch blocks | 719
Avoid unused local variables such as 'answer' | 1004
Avoid empty catch blocks | 1083
Avoid empty catch blocks | 1134
Avoid unused local variables such as 'gcl' | 1176
Avoid unnecessary return statements | 1289
Avoid unused formal parameters such as 'object' | 1350
Avoid unused local variables such as 'wrappedArguments' | 1468

### groovy/lang/MetaMethod.java

Violation | Line
--- | ---
Avoid unused private fields such as 'log' | 56

### groovy/lang/SpreadMap.java

Violation | Line
--- | ---
This for loop could be simplified to a while loop | 113
This for loop could be simplified to a while loop | 128
This for loop could be simplified to a while loop | 148

### groovy/servlet/ServletBinding.java

Violation | Line
--- | ---
Avoid unused private fields such as 'request' | 94

### groovy/servlet/TemplateServlet.java

Violation | Line
--- | ---
Avoid empty catch blocks | 280

### groovy/sql/Sql.java

Violation | Line
--- | ---
Avoid unused local variables such as 'hasResultSet' | 652
Avoid unused local variables such as 'hasResultSet' | 755

### groovy/swing/SwingBuilder.java

Violation | Line
--- | ---
Avoid empty catch blocks | 190
Avoid empty 'if' statements | 228

### groovy/text/SimpleTemplateEngine.java

Violation | Line
--- | ---
Avoid unused local variables such as 'start' | 144

### groovy/ui/GroovyMain.java

Violation | Line
--- | ---
Avoid unused private methods such as 'getLoader' | 443

### groovy/ui/InteractiveShell.java

Violation | Line
--- | ---
Avoid unused private fields such as 'in' | 83
Avoid empty catch blocks | 276

### groovy/util/AntBuilder.java

Violation | Line
--- | ---
Avoid unused private fields such as 'addTaskParamTypes' | 78

### groovy/util/CharsetToolkit.java

Violation | Line
--- | ---
Avoid empty catch blocks | 407

### groovy/util/GroovyMBean.java

Violation | Line
--- | ---
Avoid empty catch blocks | 208
Avoid empty finally blocks | 210
Avoid empty catch blocks | 234
Avoid empty catch blocks | 255
Avoid empty finally blocks | 257
Avoid empty catch blocks | 301
Avoid empty catch blocks | 320
Avoid empty catch blocks | 340
Avoid empty catch blocks | 363

### groovy/util/GroovyScriptEngine.java

Violation | Line
--- | ---
Avoid unused private fields such as 'scriptClass' | 99
Avoid unused private fields such as 'lastModified' | 100
Avoid unused private fields such as 'dependencies' | 101

### groovy/util/GroovyTestCase.java

Violation | Line
--- | ---
Avoid empty catch blocks | 371

### groovy/util/slurpersupport/GPathResult.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 178

### groovy/xml/NamespaceBuilderSupport.java

Violation | Line
--- | ---
Avoid unused private fields such as 'builder' | 61

### org/codehaus/groovy/ant/Groovy.java

Violation | Line
--- | ---
Avoid unused private fields such as 'print' | 126
Avoid unused local variables such as 'srcDir' | 323
Avoid unused local variables such as 'srcFiles' | 325
Avoid empty finally blocks | 364

### org/codehaus/groovy/antlr/AntlrASTProcessSnippets.java

Violation | Line
--- | ---
Avoid unused private fields such as 'sourceBuffer' | 33

### org/codehaus/groovy/antlr/AntlrParserPlugin.java

Violation | Line
--- | ---
Avoid empty 'if' statements | 1620
Avoid unused local variables such as 'leftexp' | 1627

### org/codehaus/groovy/antlr/LexerFrame.java

Violation | Line
--- | ---
Avoid empty catch blocks | 76
Avoid empty catch blocks | 133
Avoid empty catch blocks | 172

### org/codehaus/groovy/antlr/parser/GroovyLexer.java

Violation | Line
--- | ---
Avoid duplicate imports such as 'java.io.InputStream' | 11
Avoid unused imports such as 'ANTLRException' | 17
Avoid duplicate imports such as 'java.io.Reader' | 18
Avoid duplicate imports such as 'java.util.Hashtable' | 19
Avoid unused imports such as 'CharScanner' | 20
Avoid duplicate imports such as 'antlr.InputBuffer' | 21
Avoid unused imports such as 'CommonToken' | 25
Avoid duplicate imports such as 'antlr.LexerSharedInputState' | 31
Avoid empty catch blocks | 273
Avoid unused local variables such as 'theRetToken' | 364
Avoid unused local variables such as '_token' | 367
Avoid unused local variables such as '_saveIndex' | 704
Avoid unused local variables such as '_saveIndex' | 717
Avoid unused local variables such as '_saveIndex' | 733
Avoid unused local variables such as '_saveIndex' | 749
Avoid unused local variables such as '_saveIndex' | 765
Avoid unused local variables such as '_saveIndex' | 781
Avoid unused local variables such as '_saveIndex' | 797
Avoid unused local variables such as '_saveIndex' | 813
Avoid unused local variables such as '_saveIndex' | 826
Avoid unused local variables such as '_saveIndex' | 839
Avoid unused local variables such as '_saveIndex' | 852
Avoid unused local variables such as '_saveIndex' | 865
Avoid unused local variables such as '_saveIndex' | 878
Avoid unused local variables such as '_saveIndex' | 891
Avoid unused local variables such as '_saveIndex' | 904
Avoid unused local variables such as '_saveIndex' | 917
Avoid unused local variables such as '_saveIndex' | 930
Avoid unused local variables such as '_saveIndex' | 943
Avoid unused local variables such as '_saveIndex' | 956
Avoid unused local variables such as '_saveIndex' | 969
Avoid unused local variables such as '_saveIndex' | 982
Avoid unused local variables such as '_saveIndex' | 995
Avoid unused local variables such as '_saveIndex' | 1008
Avoid unused local variables such as '_saveIndex' | 1021
Avoid unused local variables such as '_saveIndex' | 1034
Avoid unused local variables such as '_saveIndex' | 1047
Avoid unused local variables such as '_saveIndex' | 1060
Avoid unused local variables such as '_saveIndex' | 1073
Avoid unused local variables such as '_saveIndex' | 1086
Avoid unused local variables such as '_saveIndex' | 1099
Avoid unused local variables such as '_saveIndex' | 1112
Avoid unused local variables such as '_saveIndex' | 1125
Avoid unused local variables such as '_saveIndex' | 1138
Avoid unused local variables such as '_saveIndex' | 1151
Avoid unused local variables such as '_saveIndex' | 1164
Avoid unused local variables such as '_saveIndex' | 1177
Avoid unused local variables such as '_saveIndex' | 1190
Avoid unused local variables such as '_saveIndex' | 1203
Avoid unused local variables such as '_saveIndex' | 1216
Avoid unused local variables such as '_saveIndex' | 1229
Avoid unused local variables such as '_saveIndex' | 1242
Avoid unused local variables such as '_saveIndex' | 1255
Avoid unused local variables such as '_saveIndex' | 1268
Avoid unused local variables such as '_saveIndex' | 1281
Avoid unused local variables such as '_saveIndex' | 1294
Avoid unused local variables such as '_saveIndex' | 1307
Avoid unused local variables such as '_saveIndex' | 1320
Avoid unused local variables such as '_saveIndex' | 1333
Avoid unused local variables such as '_saveIndex' | 1346
Avoid unused local variables such as '_saveIndex' | 1359
Avoid unused local variables such as '_saveIndex' | 1372
Avoid unused local variables such as '_saveIndex' | 1385
Avoid unused local variables such as '_saveIndex' | 1398
Avoid unused local variables such as '_saveIndex' | 1411
Avoid unused local variables such as '_saveIndex' | 1424
Avoid unused local variables such as '_saveIndex' | 1437
Avoid unused local variables such as '_saveIndex' | 1450
Avoid unused local variables such as '_saveIndex' | 1463
Avoid unused local variables such as '_saveIndex' | 1476
Avoid unused local variables such as '_saveIndex' | 1489
Avoid unused local variables such as '_saveIndex' | 1569
Avoid empty 'if' statements | 1604
Avoid empty 'if' statements | 1609
Avoid unused local variables such as '_saveIndex' | 1630
Avoid unused local variables such as '_saveIndex' | 1660
Avoid unused local variables such as '_saveIndex' | 1714
Avoid unused local variables such as '_saveIndex' | 1934
Avoid empty 'if' statements | 2055
Avoid empty 'if' statements | 2063
Avoid empty 'if' statements | 2082
Avoid unused local variables such as '_saveIndex' | 2125
Avoid unused local variables such as '_saveIndex' | 2470
Avoid unused local variables such as '_saveIndex' | 2509
Avoid unused local variables such as '_saveIndex' | 2522
Avoid unused local variables such as '_saveIndex' | 2587
Avoid unused local variables such as '_saveIndex' | 2663
Avoid unused local variables such as '_saveIndex' | 2676
Avoid empty 'if' statements | 2821
Avoid empty 'if' statements | 2970
Avoid empty 'if' statements | 3059
Avoid unused local variables such as '_saveIndex' | 3073
Avoid unused local variables such as '_saveIndex' | 3141
Avoid unused local variables such as '_saveIndex' | 3179
Avoid unused local variables such as '_saveIndex' | 3207

### org/codehaus/groovy/antlr/parser/GroovyRecognizer.java

Violation | Line
--- | ---
Avoid unused imports such as 'TokenStreamIOException' | 13
Avoid unused imports such as 'ANTLRException' | 14
Avoid unused imports such as 'LLkParser' | 15
Avoid unused imports such as 'MismatchedTokenException' | 20
Avoid duplicate imports such as 'java.util.Hashtable' | 25
Avoid unused imports such as 'Hashtable' | 25
Avoid unused private fields such as 'dummyVariableToforceClassLoaderToFindASTClass' | 225
Avoid unused private fields such as 'sourceBuffer' | 237
Avoid empty catch blocks | 285
Avoid empty catch blocks | 294
Avoid unused private fields such as 'ANTLR_LOOP_EXIT' | 373
Avoid unused local variables such as 'currentAST' | 714
Avoid empty 'if' statements | 721
Avoid empty 'if' statements | 876
Avoid unused local variables such as 'currentAST' | 1117
Avoid unused local variables such as 'isStatic' | 1434
Avoid unused local variables such as 'tmp44_AST' | 1784
Avoid empty 'if' statements | 1847
Avoid empty 'if' statements | 2062
Avoid empty 'if' statements | 2094
Avoid empty 'if' statements | 2158
Avoid unused local variables such as 'currentAST' | 2322
Avoid unused local variables such as 'tmp52_AST' | 2349
Avoid unused local variables such as 'tmp53_AST' | 2352
Avoid unused local variables such as 'tmp54_AST' | 2388
Avoid unused local variables such as 'tmp55_AST' | 2392
Avoid unused local variables such as 'tmp56_AST' | 2402
Avoid unused local variables such as 'currentAST' | 2667
Avoid unused local variables such as 'tmp80_AST' | 2670
Avoid unused local variables such as 'tmp81_AST' | 2677
Avoid unused local variables such as 'tmp82_AST' | 2680
Avoid unused local variables such as 'tmp83_AST' | 2690
Avoid unused local variables such as 'currentAST' | 2700
Avoid unused local variables such as 'currentAST' | 2728
Avoid unused local variables such as 'id_AST' | 2731
Avoid empty 'if' statements | 2757
Avoid unused local variables such as 'currentAST' | 2780
Avoid unused local variables such as 'tmp89_AST' | 2803
Avoid empty 'if' statements | 3226
Avoid empty 'if' statements | 3447
Avoid unused local variables such as 'i_AST' | 4194
Avoid unused local variables such as 'e_AST' | 4382
Avoid empty 'if' statements | 4866
Avoid empty 'if' statements | 5886
Avoid empty 'if' statements | 6138
Avoid unused local variables such as 'currentAST' | 6366
Avoid empty 'if' statements | 6394
Avoid empty 'if' statements | 6477
Avoid empty 'if' statements | 6614
Avoid unused local variables such as 'currentAST' | 6752
Avoid unused local variables such as 'tmp161_AST' | 6758
Avoid unused local variables such as 'tmp162_AST' | 6765
Avoid unused local variables such as 'tmp163_AST' | 6772
Avoid unused local variables such as 'tmp164_AST' | 6776
Avoid unused local variables such as 'tmp165_AST' | 6780
Avoid unused local variables such as 'tmp166_AST' | 6798
Avoid unused local variables such as 'currentAST' | 7051
Avoid unused local variables such as 'tmp176_AST' | 7076
Avoid empty 'if' statements | 7238
Avoid empty 'if' statements | 7264
Avoid empty 'if' statements | 7529
Avoid empty 'if' statements | 7670
Avoid empty 'if' statements | 7783
Avoid empty 'if' statements | 8459
Avoid unused local variables such as 'currentAST' | 9198
Avoid unused local variables such as 'tmp228_AST' | 9207
Avoid unused local variables such as 'tmp229_AST' | 9215
Avoid unused local variables such as 'tmp230_AST' | 9222
Avoid unused local variables such as 'tmp231_AST' | 9229
Avoid unused local variables such as 'tmp232_AST' | 9236
Avoid unused local variables such as 'tmp233_AST' | 9243
Avoid unused local variables such as 'tmp234_AST' | 9250
Avoid empty 'if' statements | 11235
Avoid empty 'if' statements | 11418
Avoid empty 'if' statements | 11833
Avoid unused local variables such as 'currentAST' | 11858
Avoid unused local variables such as 'tmp316_AST' | 11865
Avoid unused local variables such as 'tmp317_AST' | 11909
Avoid unused local variables such as 'tmp318_AST' | 11928
Avoid unused local variables such as 'currentAST' | 12088
Avoid unused local variables such as 'tmp325_AST' | 12094
Avoid unused local variables such as 'tmp326_AST' | 12098
Avoid unused local variables such as 'tmp327_AST' | 12105
Avoid unused local variables such as 'tmp328_AST' | 12109
Avoid unused local variables such as 'tmp329_AST' | 12116
Avoid unused local variables such as 'tmp330_AST' | 12120
Avoid unused local variables such as 'tmp331_AST' | 12127
Avoid unused local variables such as 'tmp332_AST' | 12131

### org/codehaus/groovy/antlr/parser/GroovyTokenTypes.java

Violation | Line
--- | ---
Avoid unused imports such as 'InputStream' | 6
Avoid unused imports such as 'Reader' | 7
Avoid unused imports such as 'InputBuffer' | 8
Avoid unused imports such as 'LexerSharedInputState' | 9

### org/codehaus/groovy/antlr/treewalker/CompositeVisitor.java

Violation | Line
--- | ---
Avoid unused private fields such as 'stack' | 41

### org/codehaus/groovy/antlr/treewalker/NodePrinter.java

Violation | Line
--- | ---
Avoid unused imports such as 'Stack' | 21

### org/codehaus/groovy/antlr/treewalker/TraversalHelper.java

Violation | Line
--- | ---
Avoid unused imports such as 'Stack' | 22

### org/codehaus/groovy/antlr/treewalker/VisitorAdapter.java

Violation | Line
--- | ---
Avoid unused imports such as 'Stack' | 22

### org/codehaus/groovy/ast/ClassHelper.java

Violation | Line
--- | ---
Avoid unused private fields such as 'names' | 73
Avoid unused private fields such as 'numbers' | 135

### org/codehaus/groovy/ast/ClassNode.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 546

### org/codehaus/groovy/ast/CodeVisitorSupport.java

Violation | Line
--- | ---
Avoid unused local variables such as 'expr3' | 575

### org/codehaus/groovy/ast/FieldNode.java

Violation | Line
--- | ---
Avoid unused private fields such as 'closureShare' | 68

### org/codehaus/groovy/ast/PropertyNode.java

Violation | Line
--- | ---
Avoid unused private fields such as 'closureShare' | 64

### org/codehaus/groovy/bsf/GroovyEngine.java

Violation | Line
--- | ---
Avoid unused private fields such as 'EMPTY_ARGS' | 68

### org/codehaus/groovy/classgen/AsmClassGenerator.java

Violation | Line
--- | ---
Avoid unused private fields such as 'log' | 144
Avoid unused private fields such as 'MARK_START' | 250
Avoid unused private fields such as 'lineNumber' | 273
Avoid unused private fields such as 'columnNumber' | 274
Avoid unused private fields such as 'dummyGen' | 277
Avoid unnecessary return statements | 1282
Avoid empty 'if' statements | 1713
Avoid empty 'if' statements | 1896
Avoid empty 'if' statements | 1921
Avoid unused local variables such as 'scope' | 2055
Avoid empty switch statements | 2139
Do not use 'if' statements that are always true or always false | 2512

### org/codehaus/groovy/classgen/BytecodeHelper.java

Violation | Line
--- | ---
Avoid empty 'if' statements | 507
Avoid unused local variables such as 'type' | 540

### org/codehaus/groovy/classgen/CompileStack.java

Violation | Line
--- | ---
Do not use 'if' statements that are always true or always false | 294

### org/codehaus/groovy/classgen/DummyClassGenerator.java

Violation | Line
--- | ---
Avoid unused private fields such as 'sourceFile' | 59

### org/codehaus/groovy/classgen/VariableScopeVisitor.java

Violation | Line
--- | ---
Avoid unused local variables such as 'methodName' | 206
Avoid unused local variables such as 'name' | 226
Avoid unused local variables such as 'dummyStart' | 260

### org/codehaus/groovy/classgen/VerifierCodeVisitor.java

Violation | Line
--- | ---
Avoid unused private fields such as 'verifier' | 67

### org/codehaus/groovy/control/CompilationUnit.java

Violation | Line
--- | ---
Avoid unused formal parameters such as 'classLoader' | 229
Avoid unused formal parameters such as 'configuration' | 229
Avoid unused local variables such as 'failures' | 627
Avoid empty catch blocks | 656
Avoid unused local variables such as 'start' | 868
Avoid empty catch blocks | 903
Avoid unused local variables such as 'failures' | 934
Avoid empty catch blocks | 946

### org/codehaus/groovy/control/CompilerConfiguration.java

Violation | Line
--- | ---
Avoid empty catch blocks | 161
Avoid empty catch blocks | 166
Avoid empty catch blocks | 180
Avoid empty catch blocks | 540

### org/codehaus/groovy/control/Janitor.java

Violation | Line
--- | ---
Avoid empty catch blocks | 80

### org/codehaus/groovy/control/ParserPluginFactory.java

Violation | Line
--- | ---
Avoid empty catch blocks | 47

### org/codehaus/groovy/control/ResolveVisitor.java

Violation | Line
--- | ---
Avoid unused imports such as 'CodeVisitorSupport' | 55
Avoid unused imports such as 'GroovyClassVisitor' | 92
Avoid unused imports such as 'SyntaxErrorMessage' | 95
Avoid unused imports such as 'SyntaxException' | 96
Avoid unused local variables such as 'name' | 218
Avoid empty catch blocks | 315

### org/codehaus/groovy/control/SourceUnit.java

Violation | Line
--- | ---
Avoid empty catch blocks | 290

### org/codehaus/groovy/control/io/AbstractReaderSource.java

Violation | Line
--- | ---
Avoid empty catch blocks | 128
Avoid empty catch blocks | 174

### org/codehaus/groovy/runtime/DefaultGroovyMethods.java

Violation | Line
--- | ---
Avoid unused private fields such as 'ZERO_CHAR' | 85
Avoid empty catch blocks | 1056
Avoid unused local variables such as 'nlgnSort' | 2632
Avoid unused local variables such as 'nlgnSort' | 2659
Ensure you override both equals() and hashCode() | 2690
Avoid unused local variables such as 'zero' | 2762
Avoid empty catch blocks | 4982
Avoid empty catch blocks | 4989
Avoid empty catch blocks | 5036
Avoid empty catch blocks | 5087
Avoid empty catch blocks | 5311
Avoid empty catch blocks | 5334
Avoid empty catch blocks | 5931
Avoid empty catch blocks | 5965
Avoid empty catch blocks | 6135
Avoid empty catch blocks | 6140
Avoid empty catch blocks | 6187
Avoid empty 'while' statements | 6495

### org/codehaus/groovy/runtime/Invoker.java

Violation | Line
--- | ---
Avoid unused local variables such as 'argumentList' | 185
Avoid empty catch blocks | 430
Avoid empty catch blocks | 694
Avoid empty catch blocks | 840
Avoid empty catch blocks | 1059

### org/codehaus/groovy/runtime/InvokerHelper.java

Violation | Line
--- | ---
This for loop could be simplified to a while loop | 309
This for loop could be simplified to a while loop | 343
This for loop could be simplified to a while loop | 417
This for loop could be simplified to a while loop | 432
This for loop could be simplified to a while loop | 467

### org/codehaus/groovy/runtime/MetaClassHelper.java

Violation | Line
--- | ---
Avoid unused local variables such as 'oldbd' | 375
Avoid unused local variables such as 'numberOfVargs' | 631

### org/codehaus/groovy/runtime/NullObject.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 106

### org/codehaus/groovy/runtime/ScriptBytecodeAdapter.java

Violation | Line
--- | ---
This for loop could be simplified to a while loop | 102
This for loop could be simplified to a while loop | 189
This for loop could be simplified to a while loop | 253
This for loop could be simplified to a while loop | 312

### org/codehaus/groovy/syntax/ASTHelper.java

Violation | Line
--- | ---
Avoid unused imports such as 'ClassHelper' | 20
Avoid unused private fields such as 'EMPTY_STRING_ARRAY' | 42
Avoid unused private fields such as 'NOT_RESOLVED' | 60

### org/codehaus/groovy/syntax/CSTNode.java

Violation | Line
--- | ---
No need to import a type that's in the same package | 50
No need to import a type that's in the same package | 51
No need to import a type that's in the same package | 52

### org/codehaus/groovy/syntax/ParserException.java

Violation | Line
--- | ---
No need to import a type that's in the same package | 3
No need to import a type that's in the same package | 4

### org/codehaus/groovy/syntax/Reduction.java

Violation | Line
--- | ---
No need to import a type that's in the same package | 50

### org/codehaus/groovy/syntax/RuntimeParserException.java

Violation | Line
--- | ---
No need to import a type that's in the same package | 6

### org/codehaus/groovy/tools/RootLoader.java

Violation | Line
--- | ---
Avoid empty catch blocks | 144