PMD Results

The following document contains the results of PMD 4.1.

Files

org/sourceforge/mbeanmonitoring/report/BatchGraph.java

Violation Line
Avoid instantiating Integer objects. Call Integer.valueOf() instead. 128

org/sourceforge/mbeanmonitoring/report/Capture.java

Violation Line
Avoid unused imports such as 'java.io.InputStream' 24
Avoid unused imports such as 'java.io.InputStreamReader' 25
Method call on object which may be null 71 - 79
Method call on object which may be null 81 - 85
Avoid instantiating Integer objects. Call Integer.valueOf() instead. 105

org/sourceforge/mbeanmonitoring/report/Graph.java

Violation Line
Avoid instantiating Long objects.Call Long.valueOf() instead 54
Method call on object which may be null 216 - 218

org/sourceforge/mbeanmonitoring/report/MServer.java

Violation Line
Avoid instantiating Long objects.Call Long.valueOf() instead 108
Avoid instantiating Long objects.Call Long.valueOf() instead 110
Avoid instantiating Long objects.Call Long.valueOf() instead 114
Avoid instantiating Long objects.Call Long.valueOf() instead 116
Avoid instantiating Long objects.Call Long.valueOf() instead 118
Avoid instantiating Long objects.Call Long.valueOf() instead 120
Avoid instantiating Long objects.Call Long.valueOf() instead 125
Avoid appending characters as strings in StringBuffer.append. 134

org/sourceforge/mbeanmonitoring/report/castor/descriptors/ServerParamDescriptor.java

Violation Line
Avoid instantiating Short objects. Call Short.valueOf() instead 116
Avoid instantiating Integer objects. Call Integer.valueOf() instead. 271
Avoid instantiating Integer objects. Call Integer.valueOf() instead. 315
Avoid instantiating Integer objects. Call Integer.valueOf() instead. 359

org/sourceforge/mbeanmonitoring/report/castor/types/MbeanDomainType.java

Violation Line
Consider replacing this Hashtable with the newer java.util.Map 268

org/sourceforge/mbeanmonitoring/report/castor/types/MethodStatNameType.java

Violation Line
Consider replacing this Hashtable with the newer java.util.Map 168

org/sourceforge/mbeanmonitoring/report/castor/types/descriptors/MbeanDomainTypeDescriptor.java

Violation Line
Avoid unused imports such as 'org.sourceforge.mbeanmonitoring.report.castor.types.MbeanDomainType' 14

org/sourceforge/mbeanmonitoring/report/castor/types/descriptors/MethodStatNameTypeDescriptor.java

Violation Line
Avoid unused imports such as 'org.sourceforge.mbeanmonitoring.report.castor.types.MethodStatNameType' 14