PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 3

org/apache/ibatis/builder/MapperBuilderAssistant.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks441443

org/apache/ibatis/builder/SqlSourceBuilder.java

RuleViolationLine
EmptyControlStatementEmpty if statement134141

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks154156
EmptyCatchBlockAvoid empty catch blocks173175
EmptyCatchBlockAvoid empty catch blocks654656

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks159161
EmptyCatchBlockAvoid empty catch blocks174176
EmptyCatchBlockAvoid empty catch blocks189191
EmptyCatchBlockAvoid empty catch blocks255257
EmptyCatchBlockAvoid empty catch blocks437439

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks8284

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks117119

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks357359
EmptyCatchBlockAvoid empty catch blocks371373
EmptyCatchBlockAvoid empty catch blocks592594

org/apache/ibatis/executor/BaseExecutor.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks287289

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

RuleViolationLine
EmptyControlStatementEmpty if statement8286
EmptyControlStatementEmpty if statement267272

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks8991

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks8587

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks271273
EmptyCatchBlockAvoid empty catch blocks282284

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks140142

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks135137

org/apache/ibatis/io/ClassLoaderWrapper.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks218220

org/apache/ibatis/io/DefaultVFS.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks162164
EmptyCatchBlockAvoid empty catch blocks347349

org/apache/ibatis/jdbc/ScriptRunner.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks172174
EmptyCatchBlockAvoid empty catch blocks202204

org/apache/ibatis/jdbc/SqlRunner.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks133135
EmptyCatchBlockAvoid empty catch blocks145147
EmptyCatchBlockAvoid empty catch blocks210212

org/apache/ibatis/logging/LogFactory.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks98100

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks104106

org/apache/ibatis/logging/nologging/NoLoggingImpl.java

RuleViolationLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘clazz’.25

org/apache/ibatis/logging/slf4j/Slf4jImpl.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks4244

org/apache/ibatis/logging/stdout/StdOutImpl.java

RuleViolationLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘clazz’.25

org/apache/ibatis/mapping/Discriminator.java

RuleViolationLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘configuration’.37

org/apache/ibatis/mapping/ParameterMap.java

RuleViolationLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘configuration’.38

org/apache/ibatis/reflection/Jdk.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks3840
EmptyCatchBlockAvoid empty catch blocks5557
EmptyCatchBlockAvoid empty catch blocks7274

org/apache/ibatis/reflection/MetaClass.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks129131

org/apache/ibatis/reflection/Reflector.java

RuleViolationLine
EmptyControlStatementEmpty if statement127134

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks4648

org/apache/ibatis/reflection/wrapper/CollectionWrapper.java

RuleViolationLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘metaObject’.32

org/apache/ibatis/session/SqlSessionFactoryBuilder.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks5961
EmptyCatchBlockAvoid empty catch blocks8991

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks140142

org/apache/ibatis/type/TypeHandlerRegistry.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks354356

Priority 4

org/apache/ibatis/cache/CacheKey.java

RuleViolationLine
UselessParenthesesUseless parentheses.103
UselessParenthesesUseless parentheses.103
UselessParenthesesUseless parentheses.103

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

RuleViolationLine
UselessParenthesesUseless parentheses.55

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

RuleViolationLine
UselessParenthesesUseless parentheses.264

org/apache/ibatis/jdbc/ScriptRunner.java

RuleViolationLine
UselessParenthesesUseless parentheses.251
UselessParenthesesUseless parentheses.251

org/apache/ibatis/parsing/GenericTokenParser.java

RuleViolationLine
UselessParenthesesUseless parentheses.62
UselessParenthesesUseless parentheses.62

org/apache/ibatis/reflection/Reflector.java

RuleViolationLine
UselessParenthesesUseless parentheses.246
UselessParenthesesUseless parentheses.276

Files

org/apache/ibatis/builder/MapperBuilderAssistant.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3441443

org/apache/ibatis/builder/SqlSourceBuilder.java

RuleViolationPriorityLine
EmptyControlStatementEmpty if statement3134141

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3154156
EmptyCatchBlockAvoid empty catch blocks3173175
EmptyCatchBlockAvoid empty catch blocks3654656

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3159161
EmptyCatchBlockAvoid empty catch blocks3174176
EmptyCatchBlockAvoid empty catch blocks3189191
EmptyCatchBlockAvoid empty catch blocks3255257
EmptyCatchBlockAvoid empty catch blocks3437439

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks38284

org/apache/ibatis/cache/CacheKey.java

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.4103
UselessParenthesesUseless parentheses.4103
UselessParenthesesUseless parentheses.4103

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

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.455

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3117119

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3357359
EmptyCatchBlockAvoid empty catch blocks3371373
EmptyCatchBlockAvoid empty catch blocks3592594

org/apache/ibatis/executor/BaseExecutor.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3287289

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

RuleViolationPriorityLine
EmptyControlStatementEmpty if statement38286
EmptyControlStatementEmpty if statement3267272

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks38991

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks38587

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

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.4264
EmptyCatchBlockAvoid empty catch blocks3271273
EmptyCatchBlockAvoid empty catch blocks3282284

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3140142

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3135137

org/apache/ibatis/io/ClassLoaderWrapper.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3218220

org/apache/ibatis/io/DefaultVFS.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3162164
EmptyCatchBlockAvoid empty catch blocks3347349

org/apache/ibatis/jdbc/ScriptRunner.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3172174
EmptyCatchBlockAvoid empty catch blocks3202204
UselessParenthesesUseless parentheses.4251
UselessParenthesesUseless parentheses.4251

org/apache/ibatis/jdbc/SqlRunner.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3133135
EmptyCatchBlockAvoid empty catch blocks3145147
EmptyCatchBlockAvoid empty catch blocks3210212

org/apache/ibatis/logging/LogFactory.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks398100

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3104106

org/apache/ibatis/logging/nologging/NoLoggingImpl.java

RuleViolationPriorityLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘clazz’.325

org/apache/ibatis/logging/slf4j/Slf4jImpl.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks34244

org/apache/ibatis/logging/stdout/StdOutImpl.java

RuleViolationPriorityLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘clazz’.325

org/apache/ibatis/mapping/Discriminator.java

RuleViolationPriorityLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘configuration’.337

org/apache/ibatis/mapping/ParameterMap.java

RuleViolationPriorityLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘configuration’.338

org/apache/ibatis/parsing/GenericTokenParser.java

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.462
UselessParenthesesUseless parentheses.462

org/apache/ibatis/reflection/Jdk.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks33840
EmptyCatchBlockAvoid empty catch blocks35557
EmptyCatchBlockAvoid empty catch blocks37274

org/apache/ibatis/reflection/MetaClass.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3129131

org/apache/ibatis/reflection/Reflector.java

RuleViolationPriorityLine
EmptyControlStatementEmpty if statement3127134
UselessParenthesesUseless parentheses.4246
UselessParenthesesUseless parentheses.4276

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks34648

org/apache/ibatis/reflection/wrapper/CollectionWrapper.java

RuleViolationPriorityLine
UnusedFormalParameterAvoid unused constructor parameters such as ‘metaObject’.332

org/apache/ibatis/session/SqlSessionFactoryBuilder.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks35961
EmptyCatchBlockAvoid empty catch blocks38991

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3140142

org/apache/ibatis/type/TypeHandlerRegistry.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3354356