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
59 5 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.compressedfiles.Reader

Bug Category Details Line Priority
org.opentrafficsim.base.compressedfiles.Reader.autoDetectCompressionType(String) ignores result of java.io.BufferedInputStream.read(byte[]) BAD_PRACTICE RR_NOT_CHECKED 101 Medium

org.opentrafficsim.base.compressedfiles.Writer

Bug Category Details Line Priority
org.opentrafficsim.base.compressedfiles.Writer.createOutputStream(String, CompressionType) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 52 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 297 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