PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/ibatis/builder/MapperBuilderAssistant.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 441443

org/apache/ibatis/builder/SqlSourceBuilder.java

Rule Violation Line
EmptyControlStatement Empty if statement 134141

org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 154156
EmptyCatchBlock Avoid empty catch blocks 173175
EmptyCatchBlock Avoid empty catch blocks 654656

org/apache/ibatis/builder/xml/XMLMapperBuilder.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 158160
EmptyCatchBlock Avoid empty catch blocks 173175
EmptyCatchBlock Avoid empty catch blocks 188190
EmptyCatchBlock Avoid empty catch blocks 254256
EmptyCatchBlock Avoid empty catch blocks 436438

org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8284

org/apache/ibatis/cursor/defaults/DefaultCursor.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 117119

org/apache/ibatis/datasource/pooled/PooledDataSource.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 357359
EmptyCatchBlock Avoid empty catch blocks 371373
EmptyCatchBlock Avoid empty catch blocks 593595

org/apache/ibatis/executor/BaseExecutor.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 290292

org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java

Rule Violation Line
EmptyControlStatement Empty if statement 8286
EmptyControlStatement Empty if statement 267272

org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8991

org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8587

org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 266273
EmptyCatchBlock Avoid empty catch blocks 275277
EmptyCatchBlock Avoid empty catch blocks 286288

org/apache/ibatis/executor/resultset/ResultSetWrapper.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 140142

org/apache/ibatis/executor/statement/BaseStatementHandler.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 135137

org/apache/ibatis/io/ClassLoaderWrapper.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 218220

org/apache/ibatis/io/DefaultVFS.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 162164
EmptyCatchBlock Avoid empty catch blocks 347349

org/apache/ibatis/jdbc/ScriptRunner.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 172174
EmptyCatchBlock Avoid empty catch blocks 202204

org/apache/ibatis/jdbc/SqlRunner.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 133135
EmptyCatchBlock Avoid empty catch blocks 145147
EmptyCatchBlock Avoid empty catch blocks 210212

org/apache/ibatis/logging/LogFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 98100

org/apache/ibatis/logging/jdbc/BaseJdbcLogger.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 104106

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 4244

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 3840
EmptyCatchBlock Avoid empty catch blocks 5557
EmptyCatchBlock Avoid empty catch blocks 7274

org/apache/ibatis/reflection/MetaClass.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 129131

org/apache/ibatis/reflection/Reflector.java

Rule Violation Line
EmptyControlStatement Empty if statement 127134

org/apache/ibatis/reflection/property/PropertyCopier.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 4648

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 5961
EmptyCatchBlock Avoid empty catch blocks 8991

org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 140142

org/apache/ibatis/type/TypeHandlerRegistry.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 356358

Priority 4

org/apache/ibatis/cache/CacheKey.java

Rule Violation Line
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 103

org/apache/ibatis/cache/decorators/SerializedCache.java

Rule Violation Line
UselessParentheses Useless parentheses. 55

org/apache/ibatis/parsing/GenericTokenParser.java

Rule Violation Line
UselessParentheses Useless parentheses. 62
UselessParentheses Useless parentheses. 62

org/apache/ibatis/reflection/Reflector.java

Rule Violation Line
UselessParentheses Useless parentheses. 246
UselessParentheses Useless parentheses. 276

Files

org/apache/ibatis/builder/MapperBuilderAssistant.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 441443

org/apache/ibatis/builder/SqlSourceBuilder.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 134141

org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 154156
EmptyCatchBlock Avoid empty catch blocks 3 173175
EmptyCatchBlock Avoid empty catch blocks 3 654656

org/apache/ibatis/builder/xml/XMLMapperBuilder.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 158160
EmptyCatchBlock Avoid empty catch blocks 3 173175
EmptyCatchBlock Avoid empty catch blocks 3 188190
EmptyCatchBlock Avoid empty catch blocks 3 254256
EmptyCatchBlock Avoid empty catch blocks 3 436438

org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8284

org/apache/ibatis/cache/CacheKey.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 103

org/apache/ibatis/cache/decorators/SerializedCache.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 55

org/apache/ibatis/cursor/defaults/DefaultCursor.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 117119

org/apache/ibatis/datasource/pooled/PooledDataSource.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 357359
EmptyCatchBlock Avoid empty catch blocks 3 371373
EmptyCatchBlock Avoid empty catch blocks 3 593595

org/apache/ibatis/executor/BaseExecutor.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 290292

org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 8286
EmptyControlStatement Empty if statement 3 267272

org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8991

org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8587

org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 266273
EmptyCatchBlock Avoid empty catch blocks 3 275277
EmptyCatchBlock Avoid empty catch blocks 3 286288

org/apache/ibatis/executor/resultset/ResultSetWrapper.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 140142

org/apache/ibatis/executor/statement/BaseStatementHandler.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 135137

org/apache/ibatis/io/ClassLoaderWrapper.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 218220

org/apache/ibatis/io/DefaultVFS.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 162164
EmptyCatchBlock Avoid empty catch blocks 3 347349

org/apache/ibatis/jdbc/ScriptRunner.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 172174
EmptyCatchBlock Avoid empty catch blocks 3 202204

org/apache/ibatis/jdbc/SqlRunner.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 133135
EmptyCatchBlock Avoid empty catch blocks 3 145147
EmptyCatchBlock Avoid empty catch blocks 3 210212

org/apache/ibatis/logging/LogFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 98100

org/apache/ibatis/logging/jdbc/BaseJdbcLogger.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 104106

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 4244

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/parsing/GenericTokenParser.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 62
UselessParentheses Useless parentheses. 4 62

org/apache/ibatis/reflection/Jdk.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 3840
EmptyCatchBlock Avoid empty catch blocks 3 5557
EmptyCatchBlock Avoid empty catch blocks 3 7274

org/apache/ibatis/reflection/MetaClass.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 129131

org/apache/ibatis/reflection/Reflector.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 127134
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 4648

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 5961
EmptyCatchBlock Avoid empty catch blocks 3 8991

org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 140142

org/apache/ibatis/type/TypeHandlerRegistry.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 356358