FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
15 14 0 0

org.apache.maven.plugin.doap.DoapMojo

Bug Category Details Line Priority
Call to method of static java.text.DateFormat in org.apache.maven.plugin.doap.DoapMojo.writeCreated(XMLWriter, MavenProject) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 909 Medium
Call to method of static java.text.DateFormat in org.apache.maven.plugin.doap.DoapMojo.writeReleases(XMLWriter, MavenProject) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 1547 Medium
Call to method of static java.text.DateFormat in org.apache.maven.plugin.doap.DoapMojo.writeReleases(XMLWriter, MavenProject) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 1534 Medium

org.apache.maven.plugin.doap.DoapMojo$1

Bug Category Details Line Priority
Unchecked/unconfirmed cast from org.apache.maven.model.Contributor to org.apache.maven.model.Developer in org.apache.maven.plugin.doap.DoapMojo$1.compare(Contributor, Contributor) STYLE BC_UNCONFIRMED_CAST 2485 Medium
Unchecked/unconfirmed cast from org.apache.maven.model.Contributor to org.apache.maven.model.Developer in org.apache.maven.plugin.doap.DoapMojo$1.compare(Contributor, Contributor) STYLE BC_UNCONFIRMED_CAST 2486 Medium
Redundant nullcheck of contributor1, which is known to be non-null in org.apache.maven.plugin.doap.DoapMojo$1.compare(Contributor, Contributor) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2477 Medium
Redundant nullcheck of contributor2, which is known to be non-null in org.apache.maven.plugin.doap.DoapMojo$1.compare(Contributor, Contributor) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2473 Medium

org.apache.maven.plugin.doap.DoapUtil

Bug Category Details Line Priority
Load of known null value in org.apache.maven.plugin.doap.DoapUtil.getPluginVersion() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 826 Medium

org.apache.maven.plugin.doap.DoapUtil$ReflectionValueExtractor

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.maven.plugin.doap.DoapUtil$ReflectionValueExtractor.evaluate(String, Object, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 891 High

org.apache.maven.plugin.doap.options.ASFExtOptions

Bug Category Details Line Priority
Redundant nullcheck of org.apache.maven.plugin.doap.options.ASFExtOptions.getExtra(), which is known to be non-null in org.apache.maven.plugin.doap.options.ASFExtOptions.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 147 Medium

org.apache.maven.plugin.doap.options.ASFExtOptionsUtil

Bug Category Details Line Priority
org.apache.maven.plugin.doap.options.ASFExtOptionsUtil.CATEGORIES is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 84 High
org.apache.maven.plugin.doap.options.ASFExtOptionsUtil.PROGRAMMING_LANGUAGES is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 107 High

org.apache.maven.plugin.doap.options.DoapOptions

Bug Category Details Line Priority
Redundant nullcheck of org.apache.maven.plugin.doap.options.DoapOptions.getExtra(), which is known to be non-null in org.apache.maven.plugin.doap.options.DoapOptions.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 331 Medium

org.apache.maven.plugin.doap.options.ExtOptions

Bug Category Details Line Priority
Redundant nullcheck of org.apache.maven.plugin.doap.options.ExtOptions.getExtensions(), which is known to be non-null in org.apache.maven.plugin.doap.options.ExtOptions.equals(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 74 Medium