FindBugs Results

The following document contains the results of FindBugs.

Summary

Files Errors
6 10

Files

Files Violations
net.sf.sensor.meter.MeterData 1
net.sf.sensor.timer.TimerData 1
net.sf.sensor.filter.PropertyValueMatcher$ContainsValueMatcher 1
net.sf.sensor.filter.PropertyValueMatcher$EndsWithValueMatcher 1
net.sf.sensor.filter.PropertyValueMatcher$StartsWithValueMatcher 1
net.sf.sensor.filter.PropertyValueMatcher 5

net.sf.sensor.meter.MeterData

Violation Line
ICAST: Integer division result cast to double in net.sf.sensor.meter.MeterData.updateFromMeter(long) 145

net.sf.sensor.timer.TimerData

Violation Line
ICAST: Integer division result cast to double in net.sf.sensor.timer.TimerData.updateFromTimer(long) 291

net.sf.sensor.filter.PropertyValueMatcher$ContainsValueMatcher

Violation Line
Dm: Method net.sf.sensor.filter.PropertyValueMatcher$ContainsValueMatcher.matches(String,String,boolean) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead 137

net.sf.sensor.filter.PropertyValueMatcher$EndsWithValueMatcher

Violation Line
Dm: Method net.sf.sensor.filter.PropertyValueMatcher$EndsWithValueMatcher.matches(String,String,boolean) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead 191

net.sf.sensor.filter.PropertyValueMatcher$StartsWithValueMatcher

Violation Line
Dm: Method net.sf.sensor.filter.PropertyValueMatcher$StartsWithValueMatcher.matches(String,String,boolean) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead 164

net.sf.sensor.filter.PropertyValueMatcher

Violation Line
MS: net.sf.sensor.filter.PropertyValueMatcher.EXACT_MATCH isn't final but should be 0
MS: net.sf.sensor.filter.PropertyValueMatcher.CONTAINS isn't final but should be 0
MS: net.sf.sensor.filter.PropertyValueMatcher.STARTS_WITH isn't final but should be 0
MS: net.sf.sensor.filter.PropertyValueMatcher.ENDS_WITH isn't final but should be 0
MS: net.sf.sensor.filter.PropertyValueMatcher.REGULAR_EXPRESSION isn't final but should be 0