Apache Commons logo Commons IO

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.2.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
200 7 0 0

Files

Class Bugs
org.apache.commons.io.file.PathUtils 1
org.apache.commons.io.filefilter.DelegateFileFilter 2
org.apache.commons.io.filefilter.RegexFileFilter 1
org.apache.commons.io.input.ReadAheadInputStream 1
org.apache.commons.io.monitor.FileAlterationObserver 2

org.apache.commons.io.file.PathUtils

Bug Category Details Line Priority
org.apache.commons.io.file.PathUtils.NOFOLLOW_LINK_OPTION_ARRAY should be package protected MALICIOUS_CODE MS_PKGPROTECT 163 Medium

org.apache.commons.io.filefilter.DelegateFileFilter

Bug Category Details Line Priority
Class org.apache.commons.io.filefilter.DelegateFileFilter defines non-transient non-serializable instance field fileFilter BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class org.apache.commons.io.filefilter.DelegateFileFilter defines non-transient non-serializable instance field filenameFilter BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.commons.io.filefilter.RegexFileFilter

Bug Category Details Line Priority
Class org.apache.commons.io.filefilter.RegexFileFilter defines non-transient non-serializable instance field pathToString BAD_PRACTICE SE_BAD_FIELD Not available Medium

org.apache.commons.io.input.ReadAheadInputStream

Bug Category Details Line Priority
org.apache.commons.io.input.ReadAheadInputStream.waitForAsyncReadComplete() does not release lock on all exception paths MT_CORRECTNESS UL_UNRELEASED_LOCK_EXCEPTION_PATH 443 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 fileFilter BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class org.apache.commons.io.monitor.FileAlterationObserver defines non-transient non-serializable instance field listeners BAD_PRACTICE SE_BAD_FIELD Not available Medium