Apache Commons logo Commons IO

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
176 9 0 0

Files

Class Bugs
org.apache.commons.io.file.CleaningPathVisitor 1
org.apache.commons.io.file.CopyDirectoryVisitor 1
org.apache.commons.io.file.DeletingPathVisitor 1
org.apache.commons.io.input.InfiniteCircularInputStream 1
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream 3
org.apache.commons.io.monitor.FileAlterationObserver 1
org.apache.commons.io.output.NullPrintStream 1

org.apache.commons.io.file.CleaningPathVisitor

Bug Category Details Line Priority
org.apache.commons.io.file.CleaningPathVisitor doesn't override CountingPathVisitor.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.commons.io.file.CopyDirectoryVisitor

Bug Category Details Line Priority
org.apache.commons.io.file.CopyDirectoryVisitor doesn't override CountingPathVisitor.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.commons.io.file.DeletingPathVisitor

Bug Category Details Line Priority
org.apache.commons.io.file.DeletingPathVisitor doesn't override CountingPathVisitor.equals(Object) STYLE EQ_DOESNT_OVERRIDE_EQUALS 1 Medium

org.apache.commons.io.input.InfiniteCircularInputStream

Bug Category Details Line Priority
new org.apache.commons.io.input.InfiniteCircularInputStream(byte[]) may expose internal representation by storing an externally mutable object into InfiniteCircularInputStream.repeatedContent MALICIOUS_CODE EI_EXPOSE_REP2 43 Medium

org.apache.commons.io.input.UnsynchronizedByteArrayInputStream

Bug Category Details Line Priority
new org.apache.commons.io.input.UnsynchronizedByteArrayInputStream(byte[]) may expose internal representation by storing an externally mutable object into UnsynchronizedByteArrayInputStream.data MALICIOUS_CODE EI_EXPOSE_REP2 66 Medium
new org.apache.commons.io.input.UnsynchronizedByteArrayInputStream(byte[], int) may expose internal representation by storing an externally mutable object into UnsynchronizedByteArrayInputStream.data MALICIOUS_CODE EI_EXPOSE_REP2 85 Medium
new org.apache.commons.io.input.UnsynchronizedByteArrayInputStream(byte[], int, int) may expose internal representation by storing an externally mutable object into UnsynchronizedByteArrayInputStream.data MALICIOUS_CODE EI_EXPOSE_REP2 109 Medium

org.apache.commons.io.monitor.FileAlterationObserver

Bug Category Details Line Priority
Class org.apache.commons.io.monitor.FileAlterationObserver defines non-transient non-serializable instance field listeners BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.commons.io.output.NullPrintStream

Bug Category Details Line Priority
Found reliance on default encoding in new org.apache.commons.io.output.NullPrintStream(): new org.apache.commons.io.output.NullPrintStream(OutputStream) I18N DM_DEFAULT_ENCODING 42 High