FindBugs Report

Project Information

FindBugs version: 2.0.2


26274 lines of code analyzed, in 479 classes, in 39 packages.

Metric Total Density*
High Priority Warnings 1 0.04
Medium Priority Warnings 1 0.04
Total Warnings 2 0.08

(* Defects per Thousand lines of non-commenting source statements)



Warning Type Number
Internationalization Warnings 1
Performance Warnings 1
Total 2


Click on a warning row to see full context information.

Internationalization Warnings

Code Warning
Dm Found reliance on default encoding in, String): new String(byte[], int, int)

Performance Warnings

Code Warning
WMI makes inefficient use of keySet iterator instead of entrySet iterator


DM_DEFAULT_ENCODING: Reliance on default encoding

Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.

WMI_WRONG_MAP_ITERATOR: Inefficient use of keySet iterator instead of entrySet iterator

This method accesses the value of a Map entry, using a key that was retrieved from a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup.