PMD Results
The following document contains the results of PMD 4.3.
Files
org/apache/ibatis/builder/MapperBuilderAssistant.java
Violation | Line |
---|
Avoid empty catch blocks | 464 - 466 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Violation | Line |
---|
Avoid empty if statements | 108 - 110 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Violation | Line |
---|
Avoid empty catch blocks | 138 - 140 |
Avoid empty catch blocks | 154 - 156 |
org/apache/ibatis/builder/annotation/ProviderSqlSource.java
Violation | Line |
---|
These nested if statements could be combined | 43 - 47 |
org/apache/ibatis/builder/xml/XMLMapperBuilder.java
Violation | Line |
---|
Avoid empty catch blocks | 147 - 149 |
Avoid empty catch blocks | 162 - 164 |
Avoid empty catch blocks | 177 - 179 |
Avoid empty catch blocks | 241 - 243 |
These nested if statements could be combined | 378 - 381 |
Avoid empty catch blocks | 392 - 394 |
These nested if statements could be combined | 396 - 402 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Violation | Line |
---|
Avoid empty catch blocks | 99 - 101 |
org/apache/ibatis/datasource/pooled/PooledDataSource.java
Violation | Line |
---|
Avoid empty catch blocks | 284 - 286 |
Avoid empty catch blocks | 298 - 300 |
These nested if statements could be combined | 476 - 507 |
These nested if statements could be combined | 477 - 506 |
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 484 |
Avoid empty catch blocks | 498 - 500 |
org/apache/ibatis/executor/BaseExecutor.java
Violation | Line |
---|
Avoid empty catch blocks | 232 - 234 |
org/apache/ibatis/executor/CachingExecutor.java
Violation | Line |
---|
Avoid unused method parameters such as 'parameter'. | 129 - 137 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Violation | Line |
---|
Avoid empty catch blocks | 68 - 70 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 78 - 80 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 78 - 80 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Violation | Line |
---|
These nested if statements could be combined | 195 - 198 |
Avoid empty catch blocks | 200 - 202 |
Avoid empty catch blocks | 211 - 213 |
Avoid unused method parameters such as 'rowKey'. | 327 - 342 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Violation | Line |
---|
Avoid empty catch blocks | 119 - 121 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Violation | Line |
---|
Avoid empty catch blocks | 32 - 34 |
Avoid empty catch blocks | 180 - 182 |
org/apache/ibatis/io/DefaultVFS.java
Violation | Line |
---|
Avoid empty catch blocks | 146 - 147 |
Avoid empty catch blocks | 205 - 207 |
Avoid empty catch blocks | 294 - 296 |
Avoid empty catch blocks | 299 - 300 |
org/apache/ibatis/io/ExternalResources.java
Violation | Line |
---|
Avoid empty catch blocks | 55 - 57 |
org/apache/ibatis/jdbc/ScriptRunner.java
Violation | Line |
---|
Avoid empty catch blocks | 143 - 145 |
Avoid empty catch blocks | 173 - 175 |
Avoid empty catch blocks | 230 - 232 |
org/apache/ibatis/jdbc/SqlRunner.java
Violation | Line |
---|
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 80 |
Avoid empty catch blocks | 85 - 87 |
Avoid empty catch blocks | 120 - 122 |
Avoid empty catch blocks | 131 - 133 |
Avoid empty catch blocks | 153 - 155 |
Avoid empty catch blocks | 185 - 187 |
Avoid empty catch blocks | 194 - 196 |
Avoid empty catch blocks | 248 - 250 |
org/apache/ibatis/logging/LogFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 114 - 116 |
org/apache/ibatis/logging/nologging/NoLoggingImpl.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'clazz'. | 22 - 23 |
org/apache/ibatis/logging/slf4j/Slf4jImpl.java
Violation | Line |
---|
Avoid empty catch blocks | 37 - 39 |
Avoid empty catch blocks | 39 - 41 |
org/apache/ibatis/logging/stdout/StdOutImpl.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'clazz'. | 22 - 23 |
org/apache/ibatis/mapping/Discriminator.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'configuration'. | 34 - 37 |
org/apache/ibatis/mapping/ParameterMap.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'configuration'. | 35 - 39 |
org/apache/ibatis/mapping/ResultMap.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'configuration'. | 50 - 55 |
org/apache/ibatis/mapping/VendorDatabaseIdProvider.java
Violation | Line |
---|
Avoid empty catch blocks | 83 - 85 |
org/apache/ibatis/metadata/DatabaseFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 71 |
org/apache/ibatis/reflection/MetaClass.java
Violation | Line |
---|
Avoid empty catch blocks | 132 - 133 |
Avoid empty catch blocks | 133 - 134 |
org/apache/ibatis/reflection/Reflector.java
Violation | Line |
---|
Avoid empty catch blocks | 82 - 84 |
These nested if statements could be combined | 104 - 107 |
Avoid empty if statements | 130 - 132 |
These nested if statements could be combined | 159 - 162 |
Avoid empty catch blocks | 224 - 226 |
Avoid empty catch blocks | 307 - 309 |
org/apache/ibatis/reflection/property/PropertyCopier.java
Violation | Line |
---|
Avoid empty catch blocks | 30 - 32 |
org/apache/ibatis/reflection/wrapper/CollectionWrapper.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'metaObject'. | 29 - 31 |
org/apache/ibatis/scripting/xmltags/TrimSqlNode.java
Violation | Line |
---|
An empty statement (semicolon) not part of a loop | 37 |
org/apache/ibatis/session/SqlSessionFactoryBuilder.java
Violation | Line |
---|
Avoid empty catch blocks | 56 - 58 |
Avoid empty catch blocks | 84 - 86 |
org/apache/ibatis/session/defaults/DefaultSqlSession.java
Violation | Line |
---|
Avoid unused constructor parameters such as 'autoCommit'. | 46 - 48 |
org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 119 - 121 |
org/apache/ibatis/type/DateOnlyTypeHandler.java
Violation | Line |
---|
Avoid using java.lang.ThreadGroup; it is not thread safe | 29 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 37 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 47 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 57 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Violation | Line |
---|
Avoid empty catch blocks | 227 - 229 |
Avoid empty catch blocks | 321 - 323 |