SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.4

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
20 5 0 0

Files

Class Bugs
org.forgerock.guice.core.GuiceModuleFilter 1
org.forgerock.guice.core.GuiceModuleServiceLoader 1
org.forgerock.guice.core.InjectorConfiguration 3

org.forgerock.guice.core.GuiceModuleFilter

Bug Category Details Line Priority
org.forgerock.guice.core.GuiceModuleFilter.filter(Collection) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 78 Medium

org.forgerock.guice.core.GuiceModuleServiceLoader

Bug Category Details Line Priority
Redundant nullcheck of abstractModuleLoader, which is known to be non-null in org.forgerock.guice.core.GuiceModuleServiceLoader.getGuiceModules(Class, Class) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 76 Medium

org.forgerock.guice.core.InjectorConfiguration

Bug Category Details Line Priority
org.forgerock.guice.core.InjectorConfiguration.setGuiceModuleLoader(GuiceModuleLoader) unconditionally sets the field guiceModuleLoader BAD_PRACTICE ME_ENUM_FIELD_SETTER 99 Medium
org.forgerock.guice.core.InjectorConfiguration.setModuleAnnotation(Class) unconditionally sets the field moduleAnnotation BAD_PRACTICE ME_ENUM_FIELD_SETTER 81 Medium
org.forgerock.guice.core.InjectorConfiguration.setStage(Stage) unconditionally sets the field stage BAD_PRACTICE ME_ENUM_FIELD_SETTER 118 Medium