# Date: Fri Jan 13 00:18:27 EST 2006
# Module: toolkit
# Repository: /cvsroot/glm
# Tag: HEAD
# Rulesets: unusedcode.xml
PMD

Summary

Rule nameNumber of violations
ForLoopShouldBeWhileLoop9
CollapsibleIfStatements12
UnusedPrivateMethod1
EmptyIfStmt2
BooleanInstantiation1
EmptyCatchBlock5
EmptyFinallyBlock2
UnusedPrivateField8

Detail

#FileLineProblem
1 org/cougaar/lib/callback/UTILBufferingCallback.java 157 These nested if statements could be combined
2 org/cougaar/lib/filter/UTILBufferingThread.java 336 Avoid empty finally blocks
3 org/cougaar/lib/filter/UTILExpanderPluginAdapter.java 72 Avoid empty catch blocks
4 org/cougaar/lib/filter/UTILPluginAdapter.java 253 Avoid empty catch blocks
5 org/cougaar/lib/filter/UTILPluginAdapter.java 301 Avoid empty catch blocks
6 org/cougaar/lib/filter/UTILPluginAdapter.java 398 These nested if statements could be combined
7 org/cougaar/lib/filter/UTILTimeoutBufferingThread.java 131 These nested if statements could be combined
8 org/cougaar/lib/filter/UTILTimeoutBufferingThread.java 181 Avoid empty finally blocks
9 org/cougaar/lib/param/ParamHandler.java 91 Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.
10 org/cougaar/lib/plugin/UTILEntityResolver.java 62 Avoid empty catch blocks
11 org/cougaar/lib/plugin/UTILLdmXMLPlugin.java 341 Avoid empty 'if' statements
12 org/cougaar/lib/util/UTILAggregate.java 60 Avoid unused private fields such as 'myName'
13 org/cougaar/lib/util/UTILAllocate.java 64 Avoid unused private fields such as 'ONE_OVER_ONE_DAY'
14 org/cougaar/lib/util/UTILAllocate.java 390 This for loop could be simplified to a while loop
15 org/cougaar/lib/util/UTILAllocate.java 782 This for loop could be simplified to a while loop
16 org/cougaar/lib/util/UTILAllocate.java 797 This for loop could be simplified to a while loop
17 org/cougaar/lib/util/UTILAllocate.java 809 This for loop could be simplified to a while loop
18 org/cougaar/lib/util/UTILAllocate.java 890 This for loop could be simplified to a while loop
19 org/cougaar/lib/util/UTILAsset.java 55 Avoid unused private fields such as 'myName'
20 org/cougaar/lib/util/UTILAsset.java 213 Avoid unused private methods such as 'expandAssetGroup(AssetGroup,Vector)'
21 org/cougaar/lib/util/UTILEndDateScoringFunction.java 44 Avoid unused private fields such as 'logger'
22 org/cougaar/lib/util/UTILExpand.java 339 This for loop could be simplified to a while loop
23 org/cougaar/lib/util/UTILExpand.java 362 This for loop could be simplified to a while loop
24 org/cougaar/lib/util/UTILParamTable.java 109 Avoid empty 'if' statements
25 org/cougaar/lib/util/UTILPreference.java 60 Avoid unused private fields such as 'myName'
26 org/cougaar/lib/util/UTILPreference.java 63 Avoid unused private fields such as 'fiftyYears'
27 org/cougaar/lib/util/UTILPreference.java 495 This for loop could be simplified to a while loop
28 org/cougaar/lib/util/UTILPreference.java 554 This for loop could be simplified to a while loop
29 org/cougaar/lib/util/UTILPrepPhrase.java 53 Avoid unused private fields such as 'myName'
30 org/cougaar/lib/xml/parser/AggregateAssetParser.java 45 Avoid unused private fields such as 'testing'
31 org/cougaar/lib/xml/parser/AggregateAssetParser.java 145 These nested if statements could be combined
32 org/cougaar/lib/xml/parser/FieldParser.java 187 Avoid empty catch blocks
33 org/cougaar/lib/xml/parser/FieldParser.java 365 These nested if statements could be combined
34 org/cougaar/lib/xml/parser/FieldParser.java 374 These nested if statements could be combined
35 org/cougaar/lib/xml/parser/FieldParser.java 401 These nested if statements could be combined
36 org/cougaar/lib/xml/parser/FieldParser.java 433 These nested if statements could be combined
37 org/cougaar/lib/xml/parser/FieldParser.java 457 These nested if statements could be combined
38 org/cougaar/lib/xml/parser/ObjectParser.java 215 These nested if statements could be combined
39 org/cougaar/lib/xml/parser/PreferencesParser.java 100 These nested if statements could be combined
40 org/cougaar/lib/xml/parser/PrototypeParser.java 104 These nested if statements could be combined