PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
org/apache/ibatis/builder/MapperBuilderAssistant.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 441–443 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 134–141 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 157–159 |
EmptyCatchBlock | Avoid empty catch blocks | 638–640 |
org/apache/ibatis/builder/xml/XMLMapperBuilder.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 207–209 |
EmptyCatchBlock | Avoid empty catch blocks | 389–391 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 82–84 |
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 | 357–359 |
EmptyCatchBlock | Avoid empty catch blocks | 371–373 |
EmptyCatchBlock | Avoid empty catch blocks | 593–595 |
org/apache/ibatis/executor/BaseExecutor.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 290–292 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 82–86 |
EmptyControlStatement | Empty if statement | 267–272 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 90–92 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 86–88 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 266–273 |
EmptyCatchBlock | Avoid empty catch blocks | 275–277 |
EmptyCatchBlock | Avoid empty catch blocks | 286–288 |
org/apache/ibatis/executor/resultset/ResultSetWrapper.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 140–142 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 135–137 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 218–220 |
org/apache/ibatis/io/DefaultVFS.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 167–169 |
EmptyCatchBlock | Avoid empty catch blocks | 352–354 |
org/apache/ibatis/jdbc/ScriptRunner.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 172–174 |
EmptyCatchBlock | Avoid empty catch blocks | 202–204 |
org/apache/ibatis/jdbc/SqlRunner.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 133–135 |
EmptyCatchBlock | Avoid empty catch blocks | 145–147 |
EmptyCatchBlock | Avoid empty catch blocks | 210–212 |
org/apache/ibatis/logging/LogFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 100–102 |
org/apache/ibatis/logging/jdbc/BaseJdbcLogger.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 104–106 |
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 | 42–44 |
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 | 38–40 |
EmptyCatchBlock | Avoid empty catch blocks | 55–57 |
EmptyCatchBlock | Avoid empty catch blocks | 72–74 |
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 |
---|---|---|
EmptyControlStatement | Empty if statement | 127–134 |
org/apache/ibatis/reflection/property/PropertyCopier.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 46–48 |
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 | 59–61 |
EmptyCatchBlock | Avoid empty catch blocks | 89–91 |
org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 144–146 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 356–358 |
Priority 4
org/apache/ibatis/io/JBoss6VFS.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'JBoss6VFS': 'valid' is already in scope because it is declared in an enclosing type | 157 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'JBoss6VFS': 'valid' is already in scope because it is declared in an enclosing type | 159 |
org/apache/ibatis/reflection/MetaClass.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetaClass': 'forClass' is already in scope | 48 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetaClass': 'forClass' is already in scope | 92 |
org/apache/ibatis/reflection/MetaObject.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetaObject': 'forObject' is already in scope | 124 |
org/apache/ibatis/reflection/Reflector.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 246 |
UselessParentheses | Useless parentheses. | 276 |
org/apache/ibatis/type/JdbcType.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'JdbcType': 'values' is already in scope | 115 |
Files
org/apache/ibatis/builder/MapperBuilderAssistant.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 441–443 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 134–141 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 157–159 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 638–640 |
org/apache/ibatis/builder/xml/XMLMapperBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 207–209 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 389–391 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 82–84 |
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 | 357–359 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 371–373 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 593–595 |
org/apache/ibatis/executor/BaseExecutor.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 290–292 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 82–86 |
EmptyControlStatement | Empty if statement | 3 | 267–272 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 90–92 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 86–88 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 266–273 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 275–277 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 286–288 |
org/apache/ibatis/executor/resultset/ResultSetWrapper.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 140–142 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 135–137 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 218–220 |
org/apache/ibatis/io/DefaultVFS.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 167–169 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 352–354 |
org/apache/ibatis/io/JBoss6VFS.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'JBoss6VFS': 'valid' is already in scope because it is declared in an enclosing type | 4 | 157 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'JBoss6VFS': 'valid' is already in scope because it is declared in an enclosing type | 4 | 159 |
org/apache/ibatis/jdbc/ScriptRunner.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 172–174 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 202–204 |
org/apache/ibatis/jdbc/SqlRunner.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 133–135 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 145–147 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 210–212 |
org/apache/ibatis/logging/LogFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 100–102 |
org/apache/ibatis/logging/jdbc/BaseJdbcLogger.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 104–106 |
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 | 42–44 |
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/reflection/Jdk.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 38–40 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 55–57 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 72–74 |
org/apache/ibatis/reflection/MetaClass.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetaClass': 'forClass' is already in scope | 4 | 48 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetaClass': 'forClass' is already in scope | 4 | 92 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 129–131 |
org/apache/ibatis/reflection/MetaObject.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MetaObject': 'forObject' is already in scope | 4 | 124 |
org/apache/ibatis/reflection/Reflector.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 127–134 |
UselessParentheses | Useless parentheses. | 4 | 246 |
UselessParentheses | Useless parentheses. | 4 | 276 |
org/apache/ibatis/reflection/property/PropertyCopier.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 46–48 |
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 | 59–61 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 89–91 |
org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 144–146 |
org/apache/ibatis/type/JdbcType.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'JdbcType': 'values' is already in scope | 4 | 115 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 356–358 |