PMD Results

The following document contains the results of PMD 4.1.

Files

pl/edu/agh/cast/converter/PrefixConverter.java

Violation Line
Avoid unused private fields such as 'prefix'. 34

pl/edu/agh/cast/model/base/AbstractModelDataLoader.java

Violation Line
Avoid empty catch blocks 204 - 207
Avoid empty catch blocks 217 - 220

pl/edu/agh/cast/model/base/DataImporter.java

Violation Line
Avoid empty catch blocks 147 - 150
Avoid empty catch blocks 160 - 163

pl/edu/agh/cast/model/mapper/Link.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 535
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 723
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 741

pl/edu/agh/cast/model/mapper/Node.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 209
Avoid unused private fields such as 'findAttributeByIdStmt'. 488
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 691
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 733
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 793

pl/edu/agh/cast/model/mapper/internal/DBLoader.java

Violation Line
Avoid empty if statements 186 - 196

pl/edu/agh/cast/model/mapper/internal/DBSaver.java

Violation Line
Avoid unused imports such as 'java.sql.SQLException' 23

pl/edu/agh/cast/model/mapper/internal/Helper.java

Violation Line
These nested if statements could be combined 176 - 178
Avoid empty catch blocks 267 - 269
Avoid empty catch blocks 274 - 276

pl/edu/agh/cast/model/mapper/internal/ModelParser.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 201
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 203
These nested if statements could be combined 213 - 221