PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/apache/ibatis/migration/Change.java

Violation Line
Useless parentheses. 88

org/apache/ibatis/migration/CommandLine.java

Violation Line
No need to import a type that lives in the same package 29
Useless parentheses. 87
Useless parentheses. 88
Useless parentheses. 90
Useless parentheses. 93

org/apache/ibatis/migration/Environment.java

Violation Line
Avoid empty catch blocks 141143

org/apache/ibatis/migration/JavaMigrationLoader.java

Violation Line
Avoid using a branching statement as the last in a loop. 94
Avoid unused method parameters such as 'type'. 128

org/apache/ibatis/migration/MigrationReader.java

Violation Line
Useless parentheses. 114
Useless parentheses. 135
Avoid empty if statements 182184
Avoid empty if statements 199201
Avoid empty if statements 217219

org/apache/ibatis/migration/commands/InfoCommand.java

Violation Line
Avoid empty catch blocks 3941
Avoid empty catch blocks 4446
Unnecessary final modifier in final class 6088

org/apache/ibatis/migration/commands/ScriptCommand.java

Violation Line
Useless parentheses. 58
Useless parentheses. 59
Useless parentheses. 72
Useless parentheses. 117
Useless parentheses. 119

org/apache/ibatis/migration/hook/Jsr223HookScript.java

Violation Line
Useless parentheses. 106

org/apache/ibatis/migration/hook/MigrationHook.java

Violation Line
Avoid modifiers which are implied by the context 22

org/apache/ibatis/migration/hook/SqlHookScript.java

Violation Line
Avoid empty catch blocks 7678

org/apache/ibatis/migration/utils/Util.java

Violation Line
Avoid unused imports such as 'java.io.FileNotFoundException' 20