PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/mybatis/generator/codegen/mybatis3/javamapper/elements/AbstractJavaMapperMethodGenerator.java

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

org/mybatis/generator/config/Context.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 524526

org/mybatis/generator/internal/ObjectFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 115117
EmptyCatchBlock Avoid empty catch blocks 144146

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

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 16649
EmptyCatchBlock Avoid empty catch blocks 105107
EmptyCatchBlock Avoid empty catch blocks 116118

org/mybatis/generator/logging/LogFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9193

org/mybatis/generator/logging/slf4j/Slf4jImpl.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 3840

Priority 4

org/mybatis/generator/internal/DomWriter.java

Rule Violation Line
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 138

Files

org/mybatis/generator/codegen/mybatis3/javamapper/elements/AbstractJavaMapperMethodGenerator.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16375

org/mybatis/generator/config/Context.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 524526

org/mybatis/generator/internal/DomWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 138

org/mybatis/generator/internal/ObjectFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 115117
EmptyCatchBlock Avoid empty catch blocks 3 144146

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

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 16649
EmptyCatchBlock Avoid empty catch blocks 3 105107
EmptyCatchBlock Avoid empty catch blocks 3 116118

org/mybatis/generator/logging/LogFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9193

org/mybatis/generator/logging/slf4j/Slf4jImpl.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 3840