# Date: Fri Jan 13 00:14:48 EST 2006
# Module: aggagent
# Repository: /cvsroot/aggagent
# Tag: HEAD
# Rulesets: unusedcode.xml
| Rule name | Number of violations |
|---|---|
| EmptyWhileStmt | 1 |
| CollapsibleIfStatements | 1 |
| UnusedPrivateMethod | 2 |
| EmptyIfStmt | 1 |
| OverrideBothEqualsAndHashcode | 2 |
| BooleanInstantiation | 1 |
| EmptyCatchBlock | 4 |
| UnusedPrivateField | 2 |
| # | File | Line | Problem |
|---|---|---|---|
| 1 | org/cougaar/lib/aggagent/client/AggregationClient.java | 70 | Avoid unused private fields such as 'logger' |
| 2 | org/cougaar/lib/aggagent/client/Monitor.java | 175 | Avoid empty 'while' statements |
| 3 | org/cougaar/lib/aggagent/plugin/RemoteSubscriptionPlugin.java | 319 | These nested if statements could be combined |
| 4 | org/cougaar/lib/aggagent/query/AggregationResultSet.java | 73 | Avoid unused private fields such as 'resultSetChangeListeners' |
| 5 | org/cougaar/lib/aggagent/script/NoErrorPython.java | 76 | Avoid empty catch blocks |
| 6 | org/cougaar/lib/aggagent/servlet/AggregationKeepAliveComponent.java | 103 | Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead. |
| 7 | org/cougaar/lib/aggagent/servlet/AggregationServletInterface.java | 159 | Ensure you override both equals() and hashCode() |
| 8 | org/cougaar/lib/aggagent/servlet/AggregationServletInterface.java | 230 | Avoid empty 'if' statements |
| 9 | org/cougaar/lib/aggagent/test/AggressiveClient.java | 67 | Avoid unused private methods such as 'report(String)' |
| 10 | org/cougaar/lib/aggagent/test/AggressiveClient.java | 157 | Avoid empty catch blocks |
| 11 | org/cougaar/lib/aggagent/test/AggressiveClient.java | 168 | Avoid unused private methods such as 'scenario_2(String)' |
| 12 | org/cougaar/lib/aggagent/test/CycleSizeAlert.java | 71 | Avoid empty catch blocks |
| 13 | org/cougaar/lib/aggagent/util/Enum.java | 51 | Ensure you override both equals() and hashCode() |
| 14 | org/cougaar/lib/aggagent/util/InverseSax.java | 337 | Avoid empty catch blocks |