FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
46 |
26 |
0 |
0 |
org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.executeClirr() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
697 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractFixJavadocMojo.processFix(JavaClass) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
1120 |
Medium |
org.apache.maven.plugins.javadoc.AbstractJavadocMojo
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getDefaultJavadocApiLink() due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
6307 |
Medium |
Redundant nullcheck of org.apache.maven.plugins.javadoc.AbstractJavadocMojo.dependencyJavadocBundles, which is known to be non-null in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.resolveDependencyBundles() |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
4329 |
Medium |
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport(Locale) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
2171 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport(Locale) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
2022 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getDependencySourcePaths() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
2438 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getJavadocOptionsFile() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
6624 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.getModulesLinks() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
6089 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.writeDebugJavadocScript(String, File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
6477 |
Medium |
Usage of GetResource in org.apache.maven.plugins.javadoc.AbstractJavadocMojo.fixFrameInjectionBug(File, String) may be unsafe if class is extended |
BAD_PRACTICE |
UI_INHERITANCE_UNSAFE_GETRESOURCE |
5815 |
Medium |
org.apache.maven.plugins.javadoc.JavadocJar
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.javadoc.JavadocJar.generateArchive(File, String) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
264 |
Medium |
org.apache.maven.plugins.javadoc.JavadocUtil
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.plugins.javadoc.JavadocUtil.getReader(URL, Settings): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
1661 |
High |
org.apache.maven.plugins.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 |
716 |
Medium |
Null passed for non-null parameter of new java.io.File(String) in org.apache.maven.plugins.javadoc.JavadocUtil.getMavenHome(Log) |
CORRECTNESS |
NP_NULL_PARAM_DEREF |
1126 |
Medium |
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.javadoc.JavadocUtil.copyJavadocResources(File, File, String) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
334 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.JavadocUtil.invoke(Log, Invoker, InvocationRequest, File, List, Properties, String) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
1042 |
Medium |
org.apache.maven.plugins.javadoc.JavadocUtil.quotedPathArgument(String) concatenates strings using + in a loop |
PERFORMANCE |
SBSC_USE_STRINGBUFFER_CONCATENATION |
272 |
Medium |
org.apache.maven.plugins.javadoc.JavadocUtil$1
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference in org.apache.maven.plugins.javadoc.JavadocUtil$1.visitFile(Path, BasicFileAttributes) due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
407 |
Medium |
org.apache.maven.plugins.javadoc.JavadocVersion
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.plugins.javadoc.JavadocVersion defines compareTo(JavadocVersion) and uses Object.equals() |
BAD_PRACTICE |
EQ_COMPARETO_USE_OBJECT_EQUALS |
63-81 |
Medium |
org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getIntegerValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
399 |
High |
Boxing/unboxing to parse a primitive org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getLongValue(String, String, XmlPullParser, boolean) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
429 |
High |
Private method org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getBooleanValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
184 |
Medium |
Private method org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Reader.getDateValue(String, String, XmlPullParser) is never called |
PERFORMANCE |
UPM_UNCALLED_PRIVATE_METHOD |
272 |
Medium |
org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Writer
Bug |
Category |
Details |
Line |
Priority |
Unread field: org.apache.maven.plugins.javadoc.options.io.xpp3.JavadocOptionsXpp3Writer.fileComment |
PERFORMANCE |
URF_UNREAD_FIELD |
49 |
Medium |
org.apache.maven.plugins.javadoc.resolver.ResourceResolver
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.javadoc.resolver.ResourceResolver.resolveAndUnpack(List, SourceResolverConfig, List, boolean) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
405 |
Medium |