PMD Results

The following document contains the results of PMD 4.2.2.

Files

name/angoca/db2sa/cli/jline/JlineInterfaceController.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 72
Found non-transient, non-static member. Please mark as transient or provide accessors. 76

name/angoca/db2sa/cli/system/SystemInterfaceController.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 63
Found non-transient, non-static member. Please mark as transient or provide accessors. 67

name/angoca/db2sa/cli/system/SystemOutputWriter.java

Violation Line
System.out.print is used 65
System.out.print is used 79

name/angoca/db2sa/Configurator.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 104

name/angoca/db2sa/Constants.java

Violation Line
An Interface should be used only to model a behaviour; consider converting this to a class. 46 - 87

name/angoca/db2sa/core/executer/Executer.java

Violation Line
The class 'Executer' has a Cyclomatic Complexity of 4 (Highest = 10). 68 - 213
Found non-transient, non-static member. Please mark as transient or provide accessors. 83
Avoid throwing raw exception types. 92
The method 'execute' has a Cyclomatic Complexity of 10. 124 - 189
Avoid printStackTrace(); use a logger call instead. 166
Avoid printStackTrace(); use a logger call instead. 175
Avoid printStackTrace(); use a logger call instead. 184

name/angoca/db2sa/core/lexical/ImplLexicalAnalyzer.java

Violation Line
The class 'ImplLexicalAnalyzer' has a Cyclomatic Complexity of 4 (Highest = 10). 66 - 245
Found non-transient, non-static member. Please mark as transient or provide accessors. 82
The method 'processPhrase' has a Cyclomatic Complexity of 10. 138 - 213
Position literals first in String comparisons 161
Avoid instantiating new objects inside loops 162
Prefer StringBuffer over += for concatenating strings 182

name/angoca/db2sa/core/ReturnOptions.java

Violation Line
Deeply nested if..then statements are hard to read 102 - 104

name/angoca/db2sa/core/syntax/graph/exception/DuplicateNodeException.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 55

name/angoca/db2sa/core/syntax/graph/GraphConstructor.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 93
Deeply nested if..then statements are hard to read 204 - 206
Avoid throwing raw exception types. 238
Avoid throwing raw exception types. 242
Avoid throwing raw exception types. 339
Avoid throwing raw exception types. 393
Avoid throwing raw exception types. 409

name/angoca/db2sa/core/syntax/graph/GraphToken.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 87

name/angoca/db2sa/core/syntax/ImplSyntaxAnalyzer.java

Violation Line
The class 'ImplSyntaxAnalyzer' has a Cyclomatic Complexity of 4 (Highest = 12). 76 - 356
Found non-transient, non-static member. Please mark as transient or provide accessors. 93
The method 'getOptions' has a Cyclomatic Complexity of 12. 184 - 264
Avoid catching NullPointerException; consider removing the cause of the NPE. 256
Avoid throwing raw exception types. 259

name/angoca/db2sa/Main.java

Violation Line
Avoid throwing raw exception types. 124

name/angoca/db2sa/readers/ConfigurationReader.java

Violation Line
Avoid printStackTrace(); use a logger call instead. 105

name/angoca/db2sa/readers/exceptions/ConfigurationFileCorruptException.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 55

name/angoca/db2sa/readers/exceptions/ConfigurationFileNotFoundException.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 57

name/angoca/db2sa/readers/GrammarReader.java

Violation Line
Avoid throwing raw exception types. 76