SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.5.0

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
16 9 0 0

Files

Class Bugs
it.tidalwave.northernwind.frontend.filesystem.basic.LocalCopyFileSystemProvider 1
it.tidalwave.northernwind.frontend.filesystem.basic.layered.LayeredResourceFileSystem 1
it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform 7

it.tidalwave.northernwind.frontend.filesystem.basic.LocalCopyFileSystemProvider

Bug Category Details Line Priority
Non-null field sourceProvider is not initialized by new it.tidalwave.northernwind.frontend.filesystem.basic.LocalCopyFileSystemProvider() CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 56 High

it.tidalwave.northernwind.frontend.filesystem.basic.layered.LayeredResourceFileSystem

Bug Category Details Line Priority
Possible null pointer dereference in it.tidalwave.northernwind.frontend.filesystem.basic.layered.LayeredResourceFileSystem.getRoot() due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 71 Medium

it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform

Bug Category Details Line Priority
Unchecked/unconfirmed cast from it.tidalwave.northernwind.core.model.ResourceFile to it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform in it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform.copyTo(ResourceFile) STYLE BC_UNCONFIRMED_CAST 182 Low
new it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform(ResourceFileSystemNetBeansPlatform, FileObject) may expose internal representation by storing an externally mutable object into ResourceFileNetBeansPlatform.delegate MALICIOUS_CODE EI_EXPOSE_REP2 96 Medium
Overridable method ajc$afterReturning$org_springframework_beans_factory_aspectj_AbstractDependencyInjectionAspect$2$1ea6722c is called from constructor new it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform(ResourceFileSystemNetBeansPlatform, FileObject). MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR 94 Low
Overridable method ajc$before$org_springframework_beans_factory_aspectj_AbstractDependencyInjectionAspect$1$e854fa65 is called from constructor new it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform(ResourceFileSystemNetBeansPlatform, FileObject). MALICIOUS_CODE MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR 94 Low
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform(ResourceFileSystemNetBeansPlatform, FileObject) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 94 Medium
Redundant nullcheck of file, which is known to be non-null in it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform.getLatestModificationTime() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 167 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.filesystem.impl.ResourceFileNetBeansPlatform(ResourceFileSystemNetBeansPlatform, FileObject) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 94 Low