PMD Results
The following document contains the results of PMD
4.1.
Files
com/salto/db/ant/DOGeneratorTask.java
| Violation |
Line |
| Avoid empty catch blocks |
173
- 175
|
com/salto/db/ant/RegisterPluginTask.java
| Violation |
Line |
| Avoid unused imports such as 'org.apache.tools.ant.Project' |
4
|
com/salto/db/generator/plugin/EJB3AndHibernateDAOPlugin.java
| Violation |
Line |
| Avoid unused local variables such as 't'. |
66
|
com/salto/db/generator/plugin/HibernateDialectHelper.java
| Violation |
Line |
| Unnecessary final modifier in final class |
24
- 37
|
com/salto/db/generator/plugin/SpringEJB3AndHibernateDAOAndTestCasesPlugin.java
| Violation |
Line |
| Avoid unused imports such as 'org.apache.velocity.Template' |
7
|
| Avoid unused imports such as 'org.apache.velocity.app.Velocity' |
8
|
com/salto/db/generator/plugin/SpringEJB3AndHibernateDAOPlugin.java
| Violation |
Line |
| Avoid unused imports such as 'org.apache.velocity.Template' |
7
|
| Avoid unused imports such as 'org.apache.velocity.app.Velocity' |
8
|
com/salto/db/generator/plugin/VelocityAbstractPlugin.java
| Violation |
Line |
| Avoid empty catch blocks |
74
- 75
|
| Avoid empty catch blocks |
78
- 79
|
salto/tool/jdo/DataObjectCreate.java
| Violation |
Line |
| The null check here is misplaced; if the variable is null therell be a NullPointerException |
241
|
| The null check here is misplaced; if the variable is null therell be a NullPointerException |
241
|
| The null check here is misplaced; if the variable is null therell be a NullPointerException |
241
|
salto/tool/jdo/data/JdoInfo.java
| Violation |
Line |
| Overriding method merely calls super |
165
- 168
|
salto/tool/jdo/util/DoJdbcConvert.java
| Violation |
Line |
| Avoid empty if statements |
179
- 181
|
| Avoid empty catch blocks |
185
|
salto/tool/sql/ConnectionInfo.java
| Violation |
Line |
| Avoid empty catch blocks |
182
- 183
|
salto/tool/sql/ConnectionMgr.java
| Violation |
Line |
| Avoid empty catch blocks |
33
- 34
|
| Avoid empty catch blocks |
44
- 45
|
| Avoid empty catch blocks |
132
- 133
|
| Avoid empty catch blocks |
147
- 148
|
| Avoid empty catch blocks |
177
- 178
|
salto/tool/sql/DatabaseInfo.java
| Violation |
Line |
| Avoid empty catch blocks |
69
- 70
|
| Avoid empty catch blocks |
70
- 71
|
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
82
|
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. |
94
|
| Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. |
115
|
| Avoid unused local variables such as 'count'. |
227
|
| Avoid empty catch blocks |
245
- 246
|
| Avoid empty catch blocks |
249
- 250
|
| Avoid empty catch blocks |
253
- 254
|
| Avoid empty catch blocks |
257
- 258
|
| Avoid empty catch blocks |
261
- 262
|
| Avoid empty catch blocks |
286
- 287
|
| Avoid empty catch blocks |
434
- 435
|
| Avoid empty catch blocks |
578
- 579
|
| Avoid empty catch blocks |
621
- 622
|
| Avoid empty catch blocks |
625
- 626
|
| Avoid empty catch blocks |
636
- 637
|
| Avoid empty catch blocks |
684
- 685
|
| Avoid empty catch blocks |
832
- 833
|
| Avoid empty catch blocks |
890
- 891
|
salto/tool/sql/PureClassLoader.java
| Violation |
Line |
| Avoid empty catch blocks |
153
|
| Avoid unused private fields such as 'generation'. |
390
|
salto/tool/sql/data/TypeInfo.java
| Violation |
Line |
| Avoid unused imports such as 'java.sql.Types' |
5
|
| Avoid empty catch blocks |
101
|
| Avoid empty catch blocks |
102
|
| Avoid empty catch blocks |
103
|
| Avoid empty catch blocks |
104
|
| Avoid empty catch blocks |
105
|
| Avoid empty catch blocks |
106
|
| Avoid empty catch blocks |
107
|
| Avoid empty catch blocks |
108
|
| Avoid empty catch blocks |
109
|
| Avoid empty catch blocks |
110
|
| Avoid empty catch blocks |
111
|
| Avoid empty catch blocks |
112
|
| Avoid empty catch blocks |
113
|
| Avoid empty catch blocks |
114
|
| Avoid empty catch blocks |
115
|
| Avoid empty catch blocks |
116
|
| Avoid empty catch blocks |
117
|
| Avoid empty catch blocks |
118
|