The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of userExpression, which is known to be non-null in org.apache.maven.plugin.javadoc.AbstractFixJavadocMojo.preCheck() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 626 | Medium |
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 | 674 | 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 | 1064 | Medium |
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 | 4685 | 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 | 4083 | 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 | 2018 | 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 | 1902 | 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 | 2192 | 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 | 5825 | 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 | 5391 | 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 | 5679 | 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 | 5118 | Medium |
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 |
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 | 249 | Medium |
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 | 1699 | High |
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 | 1726 | 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 |
Load of known null value in org.apache.maven.plugin.javadoc.JavadocUtil.copyResource(URL, File) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 886 | 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 | 1282 | 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 | 1197 | Medium |
org.apache.maven.plugin.javadoc.JavadocUtil.quotedPathArgument(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 315 | Medium |
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 | 160 | Medium |
Private method org.apache.maven.plugin.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getDateValue(String, String, XmlPullParser) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 248 | Medium |
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 | 362 | Medium |