SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 3.1.11

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
63 57 0 0

Files

Class Bugs
it.tidalwave.northernwind.core.impl.filter.MacroFilter 2
it.tidalwave.northernwind.core.impl.filter.XsltMacroFilter 2
it.tidalwave.northernwind.core.impl.model.DefaultContent 2
it.tidalwave.northernwind.core.impl.model.DefaultRequestContext 2
it.tidalwave.northernwind.core.impl.model.DefaultRequestLocaleManager 2
it.tidalwave.northernwind.core.impl.model.DefaultResource 2
it.tidalwave.northernwind.core.impl.model.DefaultResourceProperties 2
it.tidalwave.northernwind.core.impl.model.DefaultSite 2
it.tidalwave.northernwind.core.impl.model.DefaultSiteFinder 1
it.tidalwave.northernwind.core.impl.model.DefaultSiteNode 4
it.tidalwave.northernwind.core.impl.model.FilterSetExpander 2
it.tidalwave.northernwind.core.impl.model.PathFinderSupport 4
it.tidalwave.northernwind.core.impl.model.TextResourcePropertyResolver 2
it.tidalwave.northernwind.core.impl.text.St4TemplateFactory 2
it.tidalwave.northernwind.core.impl.util.CachedURIResolver 1
it.tidalwave.northernwind.core.model.spi.AvailabilityEnforcerRequestProcessor 3
it.tidalwave.northernwind.core.model.spi.DefaultContentRequestProcessor 2
it.tidalwave.northernwind.core.model.spi.DefaultLibraryRequestProcessor 2
it.tidalwave.northernwind.core.model.spi.DefaultRedirectProcessor 2
it.tidalwave.northernwind.core.model.spi.HeaderLanguageOverrideRequestProcessor 2
it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideLinkPostProcessor 2
it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideRequestProcessor 2
it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout 7
it.tidalwave.northernwind.frontend.impl.ui.ViewBuilder 3

it.tidalwave.northernwind.core.impl.filter.MacroFilter

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.filter.MacroFilter(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 60 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.filter.MacroFilter(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 60 Low

it.tidalwave.northernwind.core.impl.filter.XsltMacroFilter

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.filter.XsltMacroFilter() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 76 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.filter.XsltMacroFilter() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 76 Low

it.tidalwave.northernwind.core.impl.model.DefaultContent

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultContent(Content$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 105 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultContent(Content$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 105 Low

it.tidalwave.northernwind.core.impl.model.DefaultRequestContext

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultRequestContext() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 50 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultRequestContext() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 50 Low

it.tidalwave.northernwind.core.impl.model.DefaultRequestLocaleManager

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultRequestLocaleManager() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 52 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultRequestLocaleManager() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 52 Low

it.tidalwave.northernwind.core.impl.model.DefaultResource

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultResource(Resource$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 80 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultResource(Resource$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 80 Low

it.tidalwave.northernwind.core.impl.model.DefaultResourceProperties

Bug Category Details Line Priority
Unchecked/unconfirmed cast from it.tidalwave.northernwind.core.model.ResourceProperties to it.tidalwave.northernwind.core.impl.model.DefaultResourceProperties in it.tidalwave.northernwind.core.impl.model.DefaultResourceProperties.merged(ResourceProperties) STYLE BC_UNCONFIRMED_CAST 268 Low
Unchecked/unconfirmed cast from it.tidalwave.northernwind.core.model.ResourceProperties to it.tidalwave.northernwind.core.impl.model.DefaultResourceProperties in it.tidalwave.northernwind.core.impl.model.DefaultResourceProperties.withProperties(ResourceProperties) STYLE BC_UNCONFIRMED_CAST 256 Low

it.tidalwave.northernwind.core.impl.model.DefaultSite

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultSite(Site$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 146 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultSite(Site$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 146 Low

it.tidalwave.northernwind.core.impl.model.DefaultSiteFinder

Bug Category Details Line Priority
mapByRelativePath must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 79 High

it.tidalwave.northernwind.core.impl.model.DefaultSiteNode

Bug Category Details Line Priority
it.tidalwave.northernwind.core.impl.model.DefaultSiteNode.getRelativeUri() may return null, but is declared @Nonnull CORRECTNESS NP_NONNULL_RETURN_VIOLATION 141 High
Possible null pointer dereference of DefaultSiteNode.relativeUri in it.tidalwave.northernwind.core.impl.model.DefaultSiteNode.getRelativeUri() CORRECTNESS NP_NULL_ON_SOME_PATH 129 High
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultSiteNode(ModelFactory, InternalSite, ResourceFile) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 97 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.DefaultSiteNode(ModelFactory, InternalSite, ResourceFile) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 97 Low

it.tidalwave.northernwind.core.impl.model.FilterSetExpander

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.FilterSetExpander() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 43 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.FilterSetExpander() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 43 Low

it.tidalwave.northernwind.core.impl.model.PathFinderSupport

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.PathFinderSupport(PathFinderSupport, Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 101 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.PathFinderSupport(Resource) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 80 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.PathFinderSupport(PathFinderSupport, Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 101 Low
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.PathFinderSupport(Resource) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 80 Low

it.tidalwave.northernwind.core.impl.model.TextResourcePropertyResolver

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.TextResourcePropertyResolver(ResourceFile) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 93 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.impl.model.TextResourcePropertyResolver(ResourceFile) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 93 Low

it.tidalwave.northernwind.core.impl.text.St4TemplateFactory

Bug Category Details Line Priority
Found reliance on default encoding in it.tidalwave.northernwind.core.impl.text.St4TemplateFactory.getEmbeddedTemplate(String): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 105 High
it.tidalwave.northernwind.core.impl.text.St4TemplateFactory.getEmbeddedTemplate(String) ignores result of java.io.Reader.read(char[]) BAD_PRACTICE RR_NOT_CHECKED 108 Medium

it.tidalwave.northernwind.core.impl.util.CachedURIResolver

Bug Category Details Line Priority
Redundant nullcheck of channel, which is known to be non-null in it.tidalwave.northernwind.core.impl.util.CachedURIResolver.cacheDocument(File, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 114 Low

it.tidalwave.northernwind.core.model.spi.AvailabilityEnforcerRequestProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.AvailabilityEnforcerRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 53 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.AvailabilityEnforcerRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 53 Low
Format string should use %n rather than \n in it.tidalwave.northernwind.core.model.spi.AvailabilityEnforcerRequestProcessor.process(Request) BAD_PRACTICE VA_FORMAT_STRING_USES_NEWLINE 72 Medium

it.tidalwave.northernwind.core.model.spi.DefaultContentRequestProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.DefaultContentRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 54 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.DefaultContentRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 54 Low

it.tidalwave.northernwind.core.model.spi.DefaultLibraryRequestProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.DefaultLibraryRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 55 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.DefaultLibraryRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 55 Low

it.tidalwave.northernwind.core.model.spi.DefaultRedirectProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.DefaultRedirectProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 57 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.DefaultRedirectProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 57 Low

it.tidalwave.northernwind.core.model.spi.HeaderLanguageOverrideRequestProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.HeaderLanguageOverrideRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 49 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.HeaderLanguageOverrideRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 49 Low

it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideLinkPostProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideLinkPostProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 41 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideLinkPostProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 41 Low

it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideRequestProcessor

Bug Category Details Line Priority
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 49 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.core.model.spi.ParameterLanguageOverrideRequestProcessor() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 49 Low

it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout

Bug Category Details Line Priority
it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 162 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 126 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout(Layout$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 149 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout(Id, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 138 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 126 Low
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout(Layout$Builder) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 149 Low
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.DefaultLayout(Id, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 138 Low

it.tidalwave.northernwind.frontend.impl.ui.ViewBuilder

Bug Category Details Line Priority
Unchecked/unconfirmed cast from Throwable to it.tidalwave.northernwind.core.model.HttpStatusException of return value in it.tidalwave.northernwind.frontend.impl.ui.ViewBuilder.createViewAndController(Id, SiteNode) STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 114 Low
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.ViewBuilder(Class, Class) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 77 Medium
Redundant nullcheck of this, which is known to be non-null in new it.tidalwave.northernwind.frontend.impl.ui.ViewBuilder(Class, Class) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 77 Low