PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

org/apache/ibatis/builder/MapperBuilderAssistant.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks533535

org/apache/ibatis/builder/SqlSourceBuilder.java

RuleViolationLine
EmptyIfStmtAvoid empty if statements132134

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks154156
EmptyCatchBlockAvoid empty catch blocks173175

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks153155
EmptyCatchBlockAvoid empty catch blocks168170
EmptyCatchBlockAvoid empty catch blocks183185
EmptyCatchBlockAvoid empty catch blocks247249
EmptyCatchBlockAvoid empty catch blocks424426

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks8082

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks117119

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks343345
EmptyCatchBlockAvoid empty catch blocks357359
EmptyCatchBlockAvoid empty catch blocks568570

org/apache/ibatis/executor/BaseExecutor.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks284286

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

RuleViolationLine
EmptyIfStmtAvoid empty if statements8284
EmptyIfStmtAvoid empty if statements267269

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks7981

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks7981

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

RuleViolationLine
CollapsibleIfStatementsThese nested if statements could be combined259266
EmptyCatchBlockAvoid empty catch blocks268270
EmptyCatchBlockAvoid empty catch blocks279281

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks141143

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks133135

org/apache/ibatis/io/ClassLoaderWrapper.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks188190

org/apache/ibatis/io/DefaultVFS.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks163165
EmptyCatchBlockAvoid empty catch blocks340342

org/apache/ibatis/jdbc/ScriptRunner.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks170172
EmptyCatchBlockAvoid empty catch blocks200202

org/apache/ibatis/jdbc/SqlRunner.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks118120
EmptyCatchBlockAvoid empty catch blocks130132
EmptyCatchBlockAvoid empty catch blocks183185

org/apache/ibatis/logging/LogFactory.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks9496

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 blocks4143

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 blocks3739
EmptyCatchBlockAvoid empty catch blocks5456
EmptyCatchBlockAvoid empty catch blocks7173

org/apache/ibatis/reflection/MetaClass.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks129131

org/apache/ibatis/reflection/Reflector.java

RuleViolationLine
EmptyIfStmtAvoid empty if statements113115

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks4749

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 blocks5759
EmptyCatchBlockAvoid empty catch blocks8587

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

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks139141

org/apache/ibatis/type/TypeHandlerRegistry.java

RuleViolationLine
EmptyCatchBlockAvoid empty catch blocks350352

Priority 4

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

RuleViolationLine
UselessParenthesesUseless parentheses.479
UselessParenthesesUseless parentheses.493
UselessParenthesesUseless parentheses.565

org/apache/ibatis/mapping/ResultMap.java

RuleViolationLine
UselessParenthesesUseless parentheses.94

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

RuleViolationLine
UselessParenthesesUseless parentheses.40
UselessParenthesesUseless parentheses.52
UselessParenthesesUseless parentheses.52

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

RuleViolationLine
UselessParenthesesUseless parentheses.313

Files

org/apache/ibatis/builder/MapperBuilderAssistant.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3533535

org/apache/ibatis/builder/SqlSourceBuilder.java

RuleViolationPriorityLine
EmptyIfStmtAvoid empty if statements3132134

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3154156
EmptyCatchBlockAvoid empty catch blocks3173175

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3153155
EmptyCatchBlockAvoid empty catch blocks3168170
EmptyCatchBlockAvoid empty catch blocks3183185
EmptyCatchBlockAvoid empty catch blocks3247249
EmptyCatchBlockAvoid empty catch blocks3424426

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks38082

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3117119

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3343345
EmptyCatchBlockAvoid empty catch blocks3357359
EmptyCatchBlockAvoid empty catch blocks3568570

org/apache/ibatis/executor/BaseExecutor.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3284286

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

RuleViolationPriorityLine
EmptyIfStmtAvoid empty if statements38284
EmptyIfStmtAvoid empty if statements3267269

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks37981

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks37981

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

RuleViolationPriorityLine
CollapsibleIfStatementsThese nested if statements could be combined3259266
EmptyCatchBlockAvoid empty catch blocks3268270
EmptyCatchBlockAvoid empty catch blocks3279281
UselessParenthesesUseless parentheses.4479
UselessParenthesesUseless parentheses.4493
UselessParenthesesUseless parentheses.4565

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3141143

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3133135

org/apache/ibatis/io/ClassLoaderWrapper.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3188190

org/apache/ibatis/io/DefaultVFS.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3163165
EmptyCatchBlockAvoid empty catch blocks3340342

org/apache/ibatis/jdbc/ScriptRunner.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3170172
EmptyCatchBlockAvoid empty catch blocks3200202

org/apache/ibatis/jdbc/SqlRunner.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3118120
EmptyCatchBlockAvoid empty catch blocks3130132
EmptyCatchBlockAvoid empty catch blocks3183185

org/apache/ibatis/logging/LogFactory.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks39496

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 blocks34143

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/mapping/ResultMap.java

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.494

org/apache/ibatis/reflection/Jdk.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks33739
EmptyCatchBlockAvoid empty catch blocks35456
EmptyCatchBlockAvoid empty catch blocks37173

org/apache/ibatis/reflection/MetaClass.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3129131

org/apache/ibatis/reflection/Reflector.java

RuleViolationPriorityLine
EmptyIfStmtAvoid empty if statements3113115

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks34749

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

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.440
UselessParenthesesUseless parentheses.452
UselessParenthesesUseless parentheses.452

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 blocks35759
EmptyCatchBlockAvoid empty catch blocks38587

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

RuleViolationPriorityLine
UselessParenthesesUseless parentheses.4313

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

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3139141

org/apache/ibatis/type/TypeHandlerRegistry.java

RuleViolationPriorityLine
EmptyCatchBlockAvoid empty catch blocks3350352