PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/apache/ibatis/migration/Change.java

Violation Line
Useless parentheses. 88

org/apache/ibatis/migration/CommandLine.java

Violation Line
Useless parentheses. 75
Useless parentheses. 76

org/apache/ibatis/migration/Environment.java

Violation Line
Avoid empty catch blocks 124126

org/apache/ibatis/migration/JavaMigrationLoader.java

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

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

Violation Line
Avoid empty catch blocks 109111

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 6997

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

Violation Line
Useless parentheses. 58
Useless parentheses. 59
Useless parentheses. 71
Useless parentheses. 116
Useless parentheses. 118

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

Violation Line
Useless parentheses. 107

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/io/ExternalResources.java

Violation Line
Avoid empty catch blocks 5860