PMD Results
The following document contains the results of PMD 5.2.3.
Files
org/apache/ibatis/binding/MapperMethod.java
Violation |
Line |
Useless parentheses. |
231 |
Useless parentheses. |
233 |
org/apache/ibatis/builder/MapperBuilderAssistant.java
Violation |
Line |
Avoid empty catch blocks |
453–455 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Violation |
Line |
Avoid empty if statements |
112–114 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Violation |
Line |
Avoid empty catch blocks |
146–148 |
Avoid empty catch blocks |
162–164 |
Useless parentheses. |
523 |
Useless parentheses. |
525 |
org/apache/ibatis/builder/annotation/ProviderSqlSource.java
Violation |
Line |
These nested if statements could be combined |
46–50 |
org/apache/ibatis/builder/xml/XMLMapperBuilder.java
Violation |
Line |
Avoid empty catch blocks |
150–152 |
Avoid empty catch blocks |
165–167 |
Avoid empty catch blocks |
180–182 |
Avoid empty catch blocks |
245–247 |
These nested if statements could be combined |
385–388 |
Avoid empty catch blocks |
399–401 |
These nested if statements could be combined |
403–409 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Violation |
Line |
Avoid empty catch blocks |
106–108 |
org/apache/ibatis/datasource/pooled/PooledConnection.java
Violation |
Line |
Useless parentheses. |
216 |
org/apache/ibatis/datasource/pooled/PooledDataSource.java
Violation |
Line |
Avoid empty catch blocks |
296–298 |
Avoid empty catch blocks |
310–312 |
These nested if statements could be combined |
485–516 |
These nested if statements could be combined |
486–515 |
Avoid empty catch blocks |
507–509 |
org/apache/ibatis/executor/BaseExecutor.java
Violation |
Line |
Avoid empty catch blocks |
276–278 |
org/apache/ibatis/executor/CachingExecutor.java
Violation |
Line |
Avoid unused method parameters such as 'parameter'. |
127 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Violation |
Line |
Avoid empty catch blocks |
78–80 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Violation |
Line |
Avoid empty catch blocks |
86–88 |
Useless parentheses. |
185 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Violation |
Line |
Avoid empty catch blocks |
86–88 |
Useless parentheses. |
187 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Violation |
Line |
These nested if statements could be combined |
206–209 |
Useless parentheses. |
206 |
Useless parentheses. |
206 |
Avoid empty catch blocks |
211–213 |
Avoid empty catch blocks |
222–224 |
Useless parentheses. |
382 |
Useless parentheses. |
390 |
Method call on object which may be null |
393–395 |
Useless parentheses. |
836 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Violation |
Line |
Avoid empty catch blocks |
130–132 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Violation |
Line |
Avoid empty catch blocks |
34–36 |
Avoid empty catch blocks |
192–194 |
org/apache/ibatis/io/DefaultVFS.java
Violation |
Line |
Avoid empty catch blocks |
162–164 |
Avoid empty catch blocks |
233–235 |
Avoid empty catch blocks |
334–336 |
Avoid empty catch blocks |
340–342 |
org/apache/ibatis/io/ExternalResources.java
Violation |
Line |
Avoid empty catch blocks |
58–60 |
org/apache/ibatis/io/ResolverUtil.java
Violation |
Line |
Avoid modifiers which are implied by the context |
69–75 |
org/apache/ibatis/io/VFS.java
Violation |
Line |
These nested if statements could be combined |
69–72 |
org/apache/ibatis/jdbc/ScriptRunner.java
Violation |
Line |
Avoid empty catch blocks |
148–150 |
Avoid empty catch blocks |
178–180 |
Avoid empty catch blocks |
241–243 |
org/apache/ibatis/jdbc/SqlRunner.java
Violation |
Line |
Avoid empty catch blocks |
88–90 |
Avoid empty catch blocks |
123–125 |
Avoid empty catch blocks |
134–136 |
Avoid empty catch blocks |
156–158 |
Avoid empty catch blocks |
188–190 |
Avoid empty catch blocks |
197–199 |
Avoid empty catch blocks |
252–254 |
org/apache/ibatis/logging/LogFactory.java
Violation |
Line |
Avoid empty catch blocks |
124–126 |
org/apache/ibatis/logging/nologging/NoLoggingImpl.java
Violation |
Line |
Avoid unused constructor parameters such as 'clazz'. |
25 |
org/apache/ibatis/logging/slf4j/Slf4jImpl.java
Violation |
Line |
Avoid empty catch blocks |
41–43 |
Avoid empty catch blocks |
43–45 |
org/apache/ibatis/logging/stdout/StdOutImpl.java
Violation |
Line |
Avoid unused constructor parameters such as 'clazz'. |
25 |
org/apache/ibatis/mapping/Discriminator.java
Violation |
Line |
Avoid unused constructor parameters such as 'configuration'. |
37 |
org/apache/ibatis/mapping/ParameterMap.java
Violation |
Line |
Avoid unused constructor parameters such as 'configuration'. |
38 |
org/apache/ibatis/mapping/ResultMap.java
Violation |
Line |
Avoid unused constructor parameters such as 'configuration'. |
53 |
Useless parentheses. |
79 |
org/apache/ibatis/mapping/VendorDatabaseIdProvider.java
Violation |
Line |
Avoid empty catch blocks |
89–91 |
org/apache/ibatis/reflection/MetaClass.java
Violation |
Line |
Avoid empty catch blocks |
129–130 |
Avoid empty catch blocks |
130–131 |
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 |
37–39 |
org/apache/ibatis/reflection/property/PropertyNamer.java
Violation |
Line |
Useless parentheses. |
40 |
org/apache/ibatis/reflection/wrapper/CollectionWrapper.java
Violation |
Line |
Avoid unused constructor parameters such as 'metaObject'. |
32 |
org/apache/ibatis/reflection/wrapper/ObjectWrapper.java
Violation |
Line |
Avoid modifiers which are implied by the context |
51 |
Avoid modifiers which are implied by the context |
53 |
org/apache/ibatis/session/SqlSessionFactoryBuilder.java
Violation |
Line |
Avoid empty catch blocks |
59–61 |
Avoid empty catch blocks |
87–89 |
org/apache/ibatis/session/defaults/DefaultSqlSession.java
Violation |
Line |
Useless parentheses. |
268 |
org/apache/ibatis/session/defaults/DefaultSqlSessionFactory.java
Violation |
Line |
Avoid empty catch blocks |
139–141 |
org/apache/ibatis/type/DateOnlyTypeHandler.java
Violation |
Line |
Useless parentheses. |
32 |
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' |
40 |
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' |
50 |
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' |
60 |
org/apache/ibatis/type/DateTypeHandler.java
Violation |
Line |
Useless parentheses. |
33 |
org/apache/ibatis/type/TimeOnlyTypeHandler.java
Violation |
Line |
Unnecessary use of fully qualified name 'java.sql.Time' due to existing import 'java.sql.Time' |
39 |
Unnecessary use of fully qualified name 'java.sql.Time' due to existing import 'java.sql.Time' |
49 |
Unnecessary use of fully qualified name 'java.sql.Time' due to existing import 'java.sql.Time' |
59 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Violation |
Line |
Avoid empty catch blocks |
215–217 |
Avoid empty catch blocks |
306–308 |