FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
429 44 0 0

Files

Class Bugs
de.schlichtherle.truezip.entry.EntryName 2
de.schlichtherle.truezip.fs.FsAbstractCompositeDriver 1
de.schlichtherle.truezip.fs.FsArchiveDriver 3
de.schlichtherle.truezip.fs.FsArchiveFileSystem 1
de.schlichtherle.truezip.fs.FsDefaultManager$ManagedModel 1
de.schlichtherle.truezip.fs.FsFalsePositiveArchiveException 1
de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeInputStream 1
de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeOutputStream 1
de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeReadOnlyFile 1
de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeSeekableByteChannel 1
de.schlichtherle.truezip.fs.FsFinalizeController$Input 1
de.schlichtherle.truezip.fs.FsMountPoint 4
de.schlichtherle.truezip.fs.FsNeedsLockRetryException 1
de.schlichtherle.truezip.fs.FsNeedsSyncException 1
de.schlichtherle.truezip.fs.FsNeedsWriteLockException 1
de.schlichtherle.truezip.fs.FsPath 10
de.schlichtherle.truezip.fs.FsPersistentFalsePositiveArchiveException 1
de.schlichtherle.truezip.fs.FsResourceController$ResourceInputStream 1
de.schlichtherle.truezip.io.DisconnectingInputStream 1
de.schlichtherle.truezip.io.DisconnectingOutputStream 1
de.schlichtherle.truezip.io.DisconnectingSeekableByteChannel 1
de.schlichtherle.truezip.io.Paths$Normalizer 1
de.schlichtherle.truezip.io.Paths$Splitter 1
de.schlichtherle.truezip.io.SequentialIOExceptionBuilder 2
de.schlichtherle.truezip.io.Streams 1
de.schlichtherle.truezip.io.Streams$1ReaderTask 1
de.schlichtherle.truezip.rof.DisconnectingReadOnlyFile 1
de.schlichtherle.truezip.util.ControlFlowException 1

de.schlichtherle.truezip.entry.EntryName

Bug Category Details Line Priority
Nonnull field uri is not initialized by new de.schlichtherle.truezip.entry.EntryName(String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 194-196 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.entry.EntryName(URI) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 206-208 Medium

de.schlichtherle.truezip.fs.FsAbstractCompositeDriver

Bug Category Details Line Priority
Possible null pointer dereference in de.schlichtherle.truezip.fs.FsAbstractCompositeDriver.newController(FsManager, FsModel, FsController) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 29 Medium

de.schlichtherle.truezip.fs.FsArchiveDriver

Bug Category Details Line Priority
Method de.schlichtherle.truezip.fs.FsArchiveDriver.newController(FsModel, FsController) overrides the nullness annotation of parameter parent in an incompatible way STYLE NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION 79-82 High
Possible null pointer dereference in de.schlichtherle.truezip.fs.FsArchiveDriver.newController(FsModel, FsController) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 79 Medium
parent must be nonnull but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 57-58 High

de.schlichtherle.truezip.fs.FsArchiveFileSystem

Bug Category Details Line Priority
de.schlichtherle.truezip.fs.FsArchiveFileSystem.getTouchListener() may return null, but is declared @NonNull CORRECTNESS NP_NONNULL_RETURN_VIOLATION 227 High

de.schlichtherle.truezip.fs.FsDefaultManager$ManagedModel

Bug Category Details Line Priority
Nonnull field controller is not initialized by new de.schlichtherle.truezip.fs.FsDefaultManager$ManagedModel(FsDefaultManager, FsMountPoint, FsModel) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 112-114 Medium

de.schlichtherle.truezip.fs.FsFalsePositiveArchiveException

Bug Category Details Line Priority
Class de.schlichtherle.truezip.fs.FsFalsePositiveArchiveException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 22-33 Medium

de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeInputStream

Bug Category Details Line Priority
Nonnull field close is not initialized by new de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeInputStream(InputStream) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 283-284 Medium

de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeOutputStream

Bug Category Details Line Priority
Nonnull field close is not initialized by new de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeOutputStream(OutputStream) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 314-315 Medium

de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeReadOnlyFile

Bug Category Details Line Priority
Nonnull field close is not initialized by new de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeReadOnlyFile(ReadOnlyFile) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 221-222 Medium

de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeSeekableByteChannel

Bug Category Details Line Priority
Nonnull field close is not initialized by new de.schlichtherle.truezip.fs.FsFinalizeController$FinalizeSeekableByteChannel(SeekableByteChannel) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 252-253 Medium

de.schlichtherle.truezip.fs.FsFinalizeController$Input

Bug Category Details Line Priority
de.schlichtherle.truezip.fs.FsFinalizeController$Input.newInputStream() may fail to clean up de.schlichtherle.truezip.io.DecoratingInputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 178 Medium

de.schlichtherle.truezip.fs.FsMountPoint

Bug Category Details Line Priority
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsMountPoint(String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 255-257 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsMountPoint(String, FsUriModifier) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 273-275 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsMountPoint(URI) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 280-282 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsMountPoint(URI, FsUriModifier) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 293-295 Medium

de.schlichtherle.truezip.fs.FsNeedsLockRetryException

Bug Category Details Line Priority
Class de.schlichtherle.truezip.fs.FsNeedsLockRetryException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 23-28 Medium

de.schlichtherle.truezip.fs.FsNeedsSyncException

Bug Category Details Line Priority
Class de.schlichtherle.truezip.fs.FsNeedsSyncException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 25-30 Medium

de.schlichtherle.truezip.fs.FsNeedsWriteLockException

Bug Category Details Line Priority
Class de.schlichtherle.truezip.fs.FsNeedsWriteLockException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 22-27 Medium

de.schlichtherle.truezip.fs.FsPath

Bug Category Details Line Priority
Nonnull field entryName is not initialized by new de.schlichtherle.truezip.fs.FsPath(File) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 255-261 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsPath(File) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 255-261 Medium
Nonnull field entryName is not initialized by new de.schlichtherle.truezip.fs.FsPath(String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 229-231 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsPath(String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 229-231 Medium
Nonnull field entryName is not initialized by new de.schlichtherle.truezip.fs.FsPath(String, FsUriModifier) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 247-249 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsPath(String, FsUriModifier) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 247-249 Medium
Nonnull field entryName is not initialized by new de.schlichtherle.truezip.fs.FsPath(URI) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 266-268 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsPath(URI) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 266-268 Medium
Nonnull field entryName is not initialized by new de.schlichtherle.truezip.fs.FsPath(URI, FsUriModifier) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 279-281 Medium
Nonnull field uri is not initialized by new de.schlichtherle.truezip.fs.FsPath(URI, FsUriModifier) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 279-281 Medium

de.schlichtherle.truezip.fs.FsPersistentFalsePositiveArchiveException

Bug Category Details Line Priority
Class de.schlichtherle.truezip.fs.FsPersistentFalsePositiveArchiveException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 29-30 Medium

de.schlichtherle.truezip.fs.FsResourceController$ResourceInputStream

Bug Category Details Line Priority
new de.schlichtherle.truezip.fs.FsResourceController$ResourceInputStream(FsResourceController, InputStream) may fail to clean up de.schlichtherle.truezip.io.DecoratingInputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 323 Medium

de.schlichtherle.truezip.io.DisconnectingInputStream

Bug Category Details Line Priority
new de.schlichtherle.truezip.io.DisconnectingInputStream(InputStream) may fail to clean up de.schlichtherle.truezip.io.DecoratingInputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 23 Medium

de.schlichtherle.truezip.io.DisconnectingOutputStream

Bug Category Details Line Priority
new de.schlichtherle.truezip.io.DisconnectingOutputStream(OutputStream) may fail to clean up java.io.OutputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 23 Medium

de.schlichtherle.truezip.io.DisconnectingSeekableByteChannel

Bug Category Details Line Priority
new de.schlichtherle.truezip.io.DisconnectingSeekableByteChannel(SeekableByteChannel) may fail to clean up de.schlichtherle.truezip.io.DecoratingSeekableByteChannel EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 24 Medium

de.schlichtherle.truezip.io.Paths$Normalizer

Bug Category Details Line Priority
Nonnull field path is not initialized by new de.schlichtherle.truezip.io.Paths$Normalizer(char) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 40-42 Medium

de.schlichtherle.truezip.io.Paths$Splitter

Bug Category Details Line Priority
Nonnull field memberName is not initialized by new de.schlichtherle.truezip.io.Paths$Splitter(char, boolean) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 190-193 Medium

de.schlichtherle.truezip.io.SequentialIOExceptionBuilder

Bug Category Details Line Priority
Nonnull field assemblyConstructor is not initialized by new de.schlichtherle.truezip.io.SequentialIOExceptionBuilder(Class, Class) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 54-62 Medium
Redundant nullcheck of ctor, which is known to be non-null in de.schlichtherle.truezip.io.SequentialIOExceptionBuilder.assemblyConstructor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 68 Medium

de.schlichtherle.truezip.io.Streams

Bug Category Details Line Priority
Redundant nullcheck of ex, which is known to be non-null in de.schlichtherle.truezip.io.Streams.cat(InputStream, OutputStream) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 254 Medium

de.schlichtherle.truezip.io.Streams$1ReaderTask

Bug Category Details Line Priority
Nonnull field exception is not initialized by new de.schlichtherle.truezip.io.Streams$1ReaderTask(InputStream, Streams$Buffer[], Lock, Condition) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 129 Medium

de.schlichtherle.truezip.rof.DisconnectingReadOnlyFile

Bug Category Details Line Priority
new de.schlichtherle.truezip.rof.DisconnectingReadOnlyFile(ReadOnlyFile) may fail to clean up de.schlichtherle.truezip.rof.ReadOnlyFile EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 22 Medium

de.schlichtherle.truezip.util.ControlFlowException

Bug Category Details Line Priority
Class de.schlichtherle.truezip.util.ControlFlowException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 23-57 Medium