- PMD Results
- Violations By Priority
- Priority 3
- org/apache/ibatis/builder/MapperBuilderAssistant.java
- org/apache/ibatis/builder/SqlSourceBuilder.java
- org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
- org/apache/ibatis/builder/xml/XMLMapperBuilder.java
- org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
- org/apache/ibatis/cursor/defaults/DefaultCursor.java
- org/apache/ibatis/datasource/pooled/PooledDataSource.java
- org/apache/ibatis/executor/BaseExecutor.java
- org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
- org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
- org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
- org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
- org/apache/ibatis/executor/resultset/ResultSetWrapper.java
- org/apache/ibatis/executor/statement/BaseStatementHandler.java
- org/apache/ibatis/io/ClassLoaderWrapper.java
- org/apache/ibatis/io/DefaultVFS.java
- org/apache/ibatis/jdbc/ScriptRunner.java
- org/apache/ibatis/jdbc/SqlRunner.java
- org/apache/ibatis/logging/LogFactory.java
- org/apache/ibatis/logging/nologging/NoLoggingImpl.java
- org/apache/ibatis/logging/slf4j/Slf4jImpl.java
- org/apache/ibatis/logging/stdout/StdOutImpl.java
- org/apache/ibatis/mapping/Discriminator.java
- org/apache/ibatis/mapping/ParameterMap.java
- org/apache/ibatis/reflection/Jdk.java
- org/apache/ibatis/reflection/MetaClass.java
- org/apache/ibatis/reflection/Reflector.java
- org/apache/ibatis/reflection/property/PropertyCopier.java
- org/apache/ibatis/reflection/wrapper/CollectionWrapper.java
- org/apache/ibatis/session/SqlSessionFactoryBuilder.java
- org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
- org/apache/ibatis/type/TypeHandlerRegistry.java
- Priority 4
- Priority 3
- Files
- org/apache/ibatis/builder/MapperBuilderAssistant.java
- org/apache/ibatis/builder/SqlSourceBuilder.java
- org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
- org/apache/ibatis/builder/xml/XMLMapperBuilder.java
- org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
- org/apache/ibatis/cursor/defaults/DefaultCursor.java
- org/apache/ibatis/datasource/pooled/PooledDataSource.java
- org/apache/ibatis/executor/BaseExecutor.java
- org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
- org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
- org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
- org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
- org/apache/ibatis/executor/resultset/ResultSetWrapper.java
- org/apache/ibatis/executor/statement/BaseStatementHandler.java
- org/apache/ibatis/io/ClassLoaderWrapper.java
- org/apache/ibatis/io/DefaultVFS.java
- org/apache/ibatis/jdbc/ScriptRunner.java
- org/apache/ibatis/jdbc/SqlRunner.java
- org/apache/ibatis/logging/LogFactory.java
- org/apache/ibatis/logging/nologging/NoLoggingImpl.java
- org/apache/ibatis/logging/slf4j/Slf4jImpl.java
- org/apache/ibatis/logging/stdout/StdOutImpl.java
- org/apache/ibatis/mapping/Discriminator.java
- org/apache/ibatis/mapping/ParameterMap.java
- org/apache/ibatis/mapping/ResultMap.java
- org/apache/ibatis/reflection/Jdk.java
- org/apache/ibatis/reflection/MetaClass.java
- org/apache/ibatis/reflection/Reflector.java
- org/apache/ibatis/reflection/property/PropertyCopier.java
- org/apache/ibatis/reflection/property/PropertyNamer.java
- org/apache/ibatis/reflection/wrapper/CollectionWrapper.java
- org/apache/ibatis/session/SqlSessionFactoryBuilder.java
- org/apache/ibatis/session/defaults/DefaultSqlSession.java
- org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
- org/apache/ibatis/type/TypeHandlerRegistry.java
PMD Results
The following document contains the results of PMD 6.21.0.
Violations By Priority
Priority 3
org/apache/ibatis/builder/MapperBuilderAssistant.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 533–535 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 132–134 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 154–156 |
EmptyCatchBlock | Avoid empty catch blocks | 173–175 |
org/apache/ibatis/builder/xml/XMLMapperBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 153–155 |
EmptyCatchBlock | Avoid empty catch blocks | 168–170 |
EmptyCatchBlock | Avoid empty catch blocks | 183–185 |
EmptyCatchBlock | Avoid empty catch blocks | 247–249 |
EmptyCatchBlock | Avoid empty catch blocks | 424–426 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 80–82 |
org/apache/ibatis/cursor/defaults/DefaultCursor.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 117–119 |
org/apache/ibatis/datasource/pooled/PooledDataSource.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 343–345 |
EmptyCatchBlock | Avoid empty catch blocks | 357–359 |
EmptyCatchBlock | Avoid empty catch blocks | 568–570 |
org/apache/ibatis/executor/BaseExecutor.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 284–286 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 82–84 |
EmptyIfStmt | Avoid empty if statements | 267–269 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 79–81 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 79–81 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 259–266 |
EmptyCatchBlock | Avoid empty catch blocks | 268–270 |
EmptyCatchBlock | Avoid empty catch blocks | 279–281 |
org/apache/ibatis/executor/resultset/ResultSetWrapper.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 141–143 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 133–135 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 188–190 |
org/apache/ibatis/io/DefaultVFS.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 163–165 |
EmptyCatchBlock | Avoid empty catch blocks | 340–342 |
org/apache/ibatis/jdbc/ScriptRunner.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 170–172 |
EmptyCatchBlock | Avoid empty catch blocks | 200–202 |
org/apache/ibatis/jdbc/SqlRunner.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 118–120 |
EmptyCatchBlock | Avoid empty catch blocks | 130–132 |
EmptyCatchBlock | Avoid empty catch blocks | 183–185 |
org/apache/ibatis/logging/LogFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 94–96 |
org/apache/ibatis/logging/nologging/NoLoggingImpl.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘clazz’. | 25 |
org/apache/ibatis/logging/slf4j/Slf4jImpl.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 41–43 |
org/apache/ibatis/logging/stdout/StdOutImpl.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘clazz’. | 25 |
org/apache/ibatis/mapping/Discriminator.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘configuration’. | 37 |
org/apache/ibatis/mapping/ParameterMap.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘configuration’. | 38 |
org/apache/ibatis/reflection/Jdk.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 37–39 |
EmptyCatchBlock | Avoid empty catch blocks | 54–56 |
EmptyCatchBlock | Avoid empty catch blocks | 71–73 |
org/apache/ibatis/reflection/MetaClass.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 129–131 |
org/apache/ibatis/reflection/Reflector.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 113–115 |
org/apache/ibatis/reflection/property/PropertyCopier.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 47–49 |
org/apache/ibatis/reflection/wrapper/CollectionWrapper.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘metaObject’. | 32 |
org/apache/ibatis/session/SqlSessionFactoryBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 57–59 |
EmptyCatchBlock | Avoid empty catch blocks | 85–87 |
org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 139–141 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 350–352 |
Priority 4
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 479 |
UselessParentheses | Useless parentheses. | 493 |
UselessParentheses | Useless parentheses. | 565 |
org/apache/ibatis/mapping/ResultMap.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 94 |
org/apache/ibatis/reflection/property/PropertyNamer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 40 |
UselessParentheses | Useless parentheses. | 52 |
UselessParentheses | Useless parentheses. | 52 |
org/apache/ibatis/session/defaults/DefaultSqlSession.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 313 |
Files
org/apache/ibatis/builder/MapperBuilderAssistant.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 533–535 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 132–134 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 154–156 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 173–175 |
org/apache/ibatis/builder/xml/XMLMapperBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 153–155 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 168–170 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 183–185 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 247–249 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 424–426 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 80–82 |
org/apache/ibatis/cursor/defaults/DefaultCursor.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 117–119 |
org/apache/ibatis/datasource/pooled/PooledDataSource.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 343–345 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 357–359 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 568–570 |
org/apache/ibatis/executor/BaseExecutor.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 284–286 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 82–84 |
EmptyIfStmt | Avoid empty if statements | 3 | 267–269 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 79–81 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 79–81 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 259–266 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 268–270 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 279–281 |
UselessParentheses | Useless parentheses. | 4 | 479 |
UselessParentheses | Useless parentheses. | 4 | 493 |
UselessParentheses | Useless parentheses. | 4 | 565 |
org/apache/ibatis/executor/resultset/ResultSetWrapper.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 141–143 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 133–135 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 188–190 |
org/apache/ibatis/io/DefaultVFS.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 163–165 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 340–342 |
org/apache/ibatis/jdbc/ScriptRunner.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 170–172 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 200–202 |
org/apache/ibatis/jdbc/SqlRunner.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 118–120 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 130–132 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 183–185 |
org/apache/ibatis/logging/LogFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 94–96 |
org/apache/ibatis/logging/nologging/NoLoggingImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘clazz’. | 3 | 25 |
org/apache/ibatis/logging/slf4j/Slf4jImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 41–43 |
org/apache/ibatis/logging/stdout/StdOutImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘clazz’. | 3 | 25 |
org/apache/ibatis/mapping/Discriminator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘configuration’. | 3 | 37 |
org/apache/ibatis/mapping/ParameterMap.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘configuration’. | 3 | 38 |
org/apache/ibatis/mapping/ResultMap.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 94 |
org/apache/ibatis/reflection/Jdk.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 37–39 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 54–56 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 71–73 |
org/apache/ibatis/reflection/MetaClass.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 129–131 |
org/apache/ibatis/reflection/Reflector.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 113–115 |
org/apache/ibatis/reflection/property/PropertyCopier.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 47–49 |
org/apache/ibatis/reflection/property/PropertyNamer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 40 |
UselessParentheses | Useless parentheses. | 4 | 52 |
UselessParentheses | Useless parentheses. | 4 | 52 |
org/apache/ibatis/reflection/wrapper/CollectionWrapper.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as ‘metaObject’. | 3 | 32 |
org/apache/ibatis/session/SqlSessionFactoryBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 57–59 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 85–87 |
org/apache/ibatis/session/defaults/DefaultSqlSession.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 313 |
org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 139–141 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 350–352 |