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 |
50 |
8 |
0 |
0 |
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 |
470 |
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.aether.filter.GaExclusionFilter
Bug |
Category |
Details |
Line |
Priority |
Class de.smartics.maven.plugin.jboss.modules.aether.filter.GaExclusionFilter defines non-transient non-serializable instance field exclusions |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
High |
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 |
375 |
Medium |
de.smartics.maven.plugin.jboss.modules.domain.SlotStrategy
Bug |
Category |
Details |
Line |
Priority |
Argument of type de.smartics.maven.plugin.jboss.modules.domain.SlotStrategy[] formatted in useless way in de.smartics.maven.plugin.jboss.modules.domain.SlotStrategy.fromString(String) |
CORRECTNESS |
VA_FORMAT_STRING_BAD_CONVERSION_FROM_ARRAY |
90 |
High |
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.xml.ModuleXmlBuilder$SortElement
Bug |
Category |
Details |
Line |
Priority |
de.smartics.maven.plugin.jboss.modules.xml.ModuleXmlBuilder$SortElement defines compareTo(ModuleXmlBuilder$SortElement) and uses Object.equals() |
BAD_PRACTICE |
EQ_COMPARETO_USE_OBJECT_EQUALS |
137 |
Medium |