PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/mybatis/generator/api/FullyQualifiedTable.java

Violation Line
Too many static imports may lead to messy code 16375

org/mybatis/generator/api/dom/java/InitializationBlock.java

Violation Line
Useless parentheses. 106

org/mybatis/generator/api/dom/java/Method.java

Violation Line
Useless parentheses. 249

org/mybatis/generator/codegen/mybatis3/javamapper/elements/annotated/AnnotatedSelectByPrimaryKeyMethodGenerator.java

Violation Line
Too many static imports may lead to messy code 16189

org/mybatis/generator/config/Context.java

Violation Line
Avoid empty catch blocks 749751

org/mybatis/generator/config/TableConfiguration.java

Violation Line
Too many static imports may lead to messy code 16867

org/mybatis/generator/internal/DomWriter.java

Violation Line
Useless parentheses. 191
Useless parentheses. 192

org/mybatis/generator/internal/ObjectFactory.java

Violation Line
Avoid empty catch blocks 117119
Avoid empty catch blocks 162164

org/mybatis/generator/internal/db/DatabaseIntrospector.java

Violation Line
Too many static imports may lead to messy code 16751
Avoid empty catch blocks 135137
Avoid empty catch blocks 152154

org/mybatis/generator/internal/util/JavaBeansUtil.java

Violation Line
These nested if statements could be combined 6769
These nested if statements could be combined 98100