FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
75 11 0 1

de.smartics.maven.plugin.jboss.modules.FileSet

Bug Category Details Line Priority
The class name de.smartics.maven.plugin.jboss.modules.FileSet shadows the simple name of the superclass org.apache.maven.model.FileSet BAD_PRACTICE NM_SAME_SIMPLE_NAME_AS_SUPERCLASS 21 High

de.smartics.maven.plugin.jboss.modules.JBossModulesArchiveMojo

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in de.smartics.maven.plugin.jboss.modules.JBossModulesArchiveMojo.attach() STYLE REC_CATCH_EXCEPTION 559 Low
JBossModulesArchiveMojo.modulesDescriptors not initialized in constructor and dereferenced in de.smartics.maven.plugin.jboss.modules.JBossModulesArchiveMojo.initModules() STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 391 Low

de.smartics.maven.plugin.jboss.modules.JandexMojo

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in de.smartics.maven.plugin.jboss.modules.JandexMojo.writeIndex(Indexer) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 234 Medium

de.smartics.maven.plugin.jboss.modules.descriptor.ApplyToModule

Bug Category Details Line Priority
Useless control flow in de.smartics.maven.plugin.jboss.modules.descriptor.ApplyToModule.merge(String, Map, Map) STYLE UCF_USELESS_CONTROL_FLOW 297 Low

de.smartics.maven.plugin.jboss.modules.domain.ExecutionContext

Bug Category Details Line Priority
Redundant nullcheck of module, which is known to be non-null in de.smartics.maven.plugin.jboss.modules.domain.ExecutionContext.getModule(Dependency) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 336 Medium

de.smartics.maven.plugin.jboss.modules.index.Indexer

Bug Category Details Line Priority
exceptional return value of java.io.File.mkdirs() ignored in de.smartics.maven.plugin.jboss.modules.index.Indexer.writeIndex() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 99 Medium

de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$1

Bug Category Details Line Priority
The class de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 167-172 Low

de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$2

Bug Category Details Line Priority
The class de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 175-180 Low

de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$3

Bug Category Details Line Priority
The class de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$3 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 226-231 Low

de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$4

Bug Category Details Line Priority
The class de.smartics.maven.plugin.jboss.modules.parser.ModulesDescriptorBuilder$4 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 234-239 Low