FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.2

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
37 23 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 662 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 1050 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 4689 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 4087 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 2023 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 1907 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 2197 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 5818 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 5380 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 5672 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 5107 Medium

org.apache.maven.plugin.javadoc.HelpMojo

Bug Category Details Line Priority
org.apache.maven.plugin.javadoc.HelpMojo.build() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 68 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 255 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 1672 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 827 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 1259 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 392 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 878 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 1175 Medium
org.apache.maven.plugin.javadoc.JavadocUtil.quotedPathArgument(String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 314 Medium

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

Bug Category Details Line Priority
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 365 Medium