FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
66 8 0 0

org.opentrafficsim.base.CompressedFileWriter

Bug Category Details Line Priority
Found reliance on default encoding in org.opentrafficsim.base.CompressedFileWriter.create(String, boolean): new java.io.OutputStreamWriter(OutputStream) I18N DM_DEFAULT_ENCODING 60 High

org.opentrafficsim.base.modelproperties.AbstractProperty$PropertyIterator

Bug Category Details Line Priority
org.opentrafficsim.base.modelproperties.AbstractProperty$PropertyIterator is serializable and an inner class BAD_PRACTICE SE_INNER_CLASS 168-232 Medium

org.opentrafficsim.base.modelproperties.ContinuousProperty

Bug Category Details Line Priority
Suspicious comparison of Double references in org.opentrafficsim.base.modelproperties.ContinuousProperty.setValue(Double) CORRECTNESS RC_REF_COMPARISON 120 High
Suspicious comparison of Double references in org.opentrafficsim.base.modelproperties.ContinuousProperty.setValue(Double) CORRECTNESS RC_REF_COMPARISON 120 High
Suspicious comparison of Double references in org.opentrafficsim.base.modelproperties.ContinuousProperty.setValue(Double) CORRECTNESS RC_REF_COMPARISON 120 High

org.opentrafficsim.base.modelproperties.PickList

Bug Category Details Line Priority
Class org.opentrafficsim.base.modelproperties.PickList defines non-transient non-serializable instance field items BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.opentrafficsim.base.parameters.ParameterSet

Bug Category Details Line Priority
org.opentrafficsim.base.parameters.ParameterSet.setAllOneByOne(Parameters) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 298 Medium

org.opentrafficsim.base.parameters.constraint.NumericConstraint

Bug Category Details Line Priority
Return value of String.format(String, Object[]) ignored in new org.opentrafficsim.base.parameters.constraint.NumericConstraint(String, int, String) CORRECTNESS RV_RETURN_VALUE_IGNORED 102 Medium