PMD Results

The following document contains the results of PMD 6.8.0.

Files

org/apache/ibatis/builder/MapperBuilderAssistant.java

Violation Priority Line
Avoid empty catch blocks 3 430432

org/apache/ibatis/builder/SqlSourceBuilder.java

Violation Priority Line
Avoid empty if statements 3 112114

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

Violation Priority Line
Avoid empty catch blocks 3 156158
Avoid empty catch blocks 3 175177

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

Violation Priority Line
Useless parentheses. 4 141

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

Violation Priority Line
Avoid empty catch blocks 3 152154
Avoid empty catch blocks 3 167169
Avoid empty catch blocks 3 182184
Avoid empty catch blocks 3 246248
These nested if statements could be combined 3 399403
Avoid empty catch blocks 3 426428
These nested if statements could be combined 3 430436

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

Violation Priority Line
Avoid empty catch blocks 3 7779

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

Violation Priority Line
Avoid empty catch blocks 3 117119

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

Violation Priority Line
Avoid empty catch blocks 3 333335
Avoid empty catch blocks 3 347349
These nested if statements could be combined 3 537567
These nested if statements could be combined 3 538566
Avoid empty catch blocks 3 558560

org/apache/ibatis/executor/BaseExecutor.java

Violation Priority Line
Avoid empty catch blocks 3 286288

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

Violation Priority Line
Avoid empty if statements 3 8284
Avoid empty if statements 3 272274

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

Violation Priority Line
Avoid empty catch blocks 3 7981

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

Violation Priority Line
Avoid empty catch blocks 3 7981

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

Violation Priority Line
These nested if statements could be combined 3 258265
Avoid empty catch blocks 3 267269
Avoid empty catch blocks 3 278280
Useless parentheses. 4 439
Useless parentheses. 4 453
Useless parentheses. 4 525

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

Violation Priority Line
Avoid empty catch blocks 3 138140

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

Violation Priority Line
Avoid empty catch blocks 3 133135

org/apache/ibatis/io/ClassLoaderWrapper.java

Violation Priority Line
Avoid empty catch blocks 3 192194

org/apache/ibatis/io/DefaultVFS.java

Violation Priority Line
Avoid empty catch blocks 3 162164
Avoid empty catch blocks 3 336338
Avoid empty catch blocks 3 342344

org/apache/ibatis/io/VFS.java

Violation Priority Line
These nested if statements could be combined 3 6265

org/apache/ibatis/jdbc/ScriptRunner.java

Violation Priority Line
Avoid empty catch blocks 3 161163
Avoid empty catch blocks 3 191193

org/apache/ibatis/jdbc/SqlRunner.java

Violation Priority Line
Avoid empty catch blocks 3 8890
Avoid empty catch blocks 3 123125
Avoid empty catch blocks 3 134136
Avoid empty catch blocks 3 156158
Avoid empty catch blocks 3 188190
Avoid empty catch blocks 3 201203
Avoid empty catch blocks 3 256258

org/apache/ibatis/logging/LogFactory.java

Violation Priority Line
Avoid empty catch blocks 3 9496

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

Violation Priority Line
Avoid unused constructor parameters such as 'clazz'. 3 25

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

Violation Priority Line
Avoid empty catch blocks 3 4143

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

Violation Priority Line
Avoid unused constructor parameters such as 'clazz'. 3 25

org/apache/ibatis/mapping/Discriminator.java

Violation Priority Line
Avoid unused constructor parameters such as 'configuration'. 3 37

org/apache/ibatis/mapping/ParameterMap.java

Violation Priority Line
Avoid unused constructor parameters such as 'configuration'. 3 38

org/apache/ibatis/mapping/ResultMap.java

Violation Priority Line
Useless parentheses. 4 94

org/apache/ibatis/reflection/Jdk.java

Violation Priority Line
Avoid empty catch blocks 3 3739
Avoid empty catch blocks 3 5456
Avoid empty catch blocks 3 7173

org/apache/ibatis/reflection/Reflector.java

Violation Priority Line
Avoid empty if statements 3 112114

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

Violation Priority Line
Avoid empty catch blocks 3 4749

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

Violation Priority Line
Useless parentheses. 4 40
Useless parentheses. 4 52
Useless parentheses. 4 52

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

Violation Priority Line
Avoid unused constructor parameters such as 'metaObject'. 3 32

org/apache/ibatis/session/SqlSessionFactoryBuilder.java

Violation Priority Line
Avoid empty catch blocks 3 5759
Avoid empty catch blocks 3 8587

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

Violation Priority Line
Useless parentheses. 4 316

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

Violation Priority Line
Avoid empty catch blocks 3 139141

org/apache/ibatis/type/TypeHandlerRegistry.java

Violation Priority Line
Avoid empty catch blocks 3 350352