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 |
430–432 |
org/apache/ibatis/builder/SqlSourceBuilder.java
Violation |
Priority |
Line |
Avoid empty if statements |
3 |
112–114 |
org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
156–158 |
Avoid empty catch blocks |
3 |
175–177 |
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 |
152–154 |
Avoid empty catch blocks |
3 |
167–169 |
Avoid empty catch blocks |
3 |
182–184 |
Avoid empty catch blocks |
3 |
246–248 |
These nested if statements could be combined |
3 |
399–403 |
Avoid empty catch blocks |
3 |
426–428 |
These nested if statements could be combined |
3 |
430–436 |
org/apache/ibatis/builder/xml/XMLMapperEntityResolver.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
77–79 |
org/apache/ibatis/cursor/defaults/DefaultCursor.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
117–119 |
org/apache/ibatis/datasource/pooled/PooledDataSource.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
333–335 |
Avoid empty catch blocks |
3 |
347–349 |
These nested if statements could be combined |
3 |
537–567 |
These nested if statements could be combined |
3 |
538–566 |
Avoid empty catch blocks |
3 |
558–560 |
org/apache/ibatis/executor/BaseExecutor.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
286–288 |
org/apache/ibatis/executor/keygen/Jdbc3KeyGenerator.java
Violation |
Priority |
Line |
Avoid empty if statements |
3 |
82–84 |
Avoid empty if statements |
3 |
272–274 |
org/apache/ibatis/executor/loader/cglib/CglibProxyFactory.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
79–81 |
org/apache/ibatis/executor/loader/javassist/JavassistProxyFactory.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
79–81 |
org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java
Violation |
Priority |
Line |
These nested if statements could be combined |
3 |
258–265 |
Avoid empty catch blocks |
3 |
267–269 |
Avoid empty catch blocks |
3 |
278–280 |
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 |
138–140 |
org/apache/ibatis/executor/statement/BaseStatementHandler.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
133–135 |
org/apache/ibatis/io/ClassLoaderWrapper.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
192–194 |
org/apache/ibatis/io/DefaultVFS.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
162–164 |
Avoid empty catch blocks |
3 |
336–338 |
Avoid empty catch blocks |
3 |
342–344 |
org/apache/ibatis/io/VFS.java
Violation |
Priority |
Line |
These nested if statements could be combined |
3 |
62–65 |
org/apache/ibatis/jdbc/ScriptRunner.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
161–163 |
Avoid empty catch blocks |
3 |
191–193 |
org/apache/ibatis/jdbc/SqlRunner.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
88–90 |
Avoid empty catch blocks |
3 |
123–125 |
Avoid empty catch blocks |
3 |
134–136 |
Avoid empty catch blocks |
3 |
156–158 |
Avoid empty catch blocks |
3 |
188–190 |
Avoid empty catch blocks |
3 |
201–203 |
Avoid empty catch blocks |
3 |
256–258 |
org/apache/ibatis/logging/LogFactory.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
94–96 |
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 |
41–43 |
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 |
37–39 |
Avoid empty catch blocks |
3 |
54–56 |
Avoid empty catch blocks |
3 |
71–73 |
org/apache/ibatis/reflection/Reflector.java
Violation |
Priority |
Line |
Avoid empty if statements |
3 |
112–114 |
org/apache/ibatis/reflection/property/PropertyCopier.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
47–49 |
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 |
57–59 |
Avoid empty catch blocks |
3 |
85–87 |
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 |
139–141 |
org/apache/ibatis/type/TypeHandlerRegistry.java
Violation |
Priority |
Line |
Avoid empty catch blocks |
3 |
350–352 |