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
37 24 0 0

org.apache.maven.plugin.javadoc.AbstractFixJavadocMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractFixJavadocMojo.executeClirr() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 669 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractFixJavadocMojo.processFix(JavaClass) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1061 Medium

org.apache.maven.plugin.javadoc.AbstractJavadocMojo

Bug Category Details Line Priority
Test for floating point equality in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.addStandardDocletOptions(File, List) STYLE FE_FLOATING_POINT_EQUALITY 4756 Medium
Redundant nullcheck of org.apache.maven.plugin.javadoc.AbstractJavadocMojo.dependencyJavadocBundles, which is known to be non-null in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.resolveDependencyBundles() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 4153 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(Locale) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 2084 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(Locale) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1956 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getDependencySourcePaths() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 2260 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getJavadocOptionsFile() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 5896 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.getModulesLinks() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 5455 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.writeDebugJavadocScript(String, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 5750 Medium
Usage of GetResource in org.apache.maven.plugin.javadoc.AbstractJavadocMojo.fixFrameInjectionBug(File, String) may be unsafe if class is extended BAD_PRACTICE UI_INHERITANCE_UNSAFE_GETRESOURCE 5182 Medium

org.apache.maven.plugin.javadoc.JavadocJar

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.javadoc.JavadocJar.generateArchive(File, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 256 Medium

org.apache.maven.plugin.javadoc.JavadocUtil

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.plugin.javadoc.JavadocUtil.isValidPackageList(URL, Settings, boolean): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 1697 High
org.apache.maven.plugin.javadoc.JavadocUtil.getTagletClassNames(File) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 850 Medium
Null passed for nonnull parameter of new java.io.File(String) in org.apache.maven.plugin.javadoc.JavadocUtil.getMavenHome(Log) CORRECTNESS NP_NULL_PARAM_DEREF 1284 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugin.javadoc.JavadocUtil.copyJavadocResources(File, File, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 393 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.JavadocUtil.copyResource(URL, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 901 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.JavadocUtil.invoke(Log, Invoker, InvocationRequest, File, List, Properties, String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1200 Medium
org.apache.maven.plugin.javadoc.JavadocUtil.quotedPathArgument(String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 315 Medium

org.apache.maven.plugin.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive org.apache.maven.plugin.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 373 High
Boxing/unboxing to parse a primitive org.apache.maven.plugin.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 403 High
Private method org.apache.maven.plugin.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 158 Medium
Private method org.apache.maven.plugin.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getDateValue(String, String, XmlPullParser) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 246 Medium

org.apache.maven.plugin.javadoc.resolver.ResourceResolver

Bug Category Details Line Priority
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugin.javadoc.resolver.ResourceResolver.resolveAndUnpack(List, SourceResolverConfig, List, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 378 Medium