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 |
58 |
16 |
0 |
0 |
org.apache.maven.report.projectinfo.AbstractProjectInfoReport
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.report.projectinfo.AbstractProjectInfoReport.execute() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
230 |
Medium |
org.apache.maven.report.projectinfo.AbstractProjectInfoReport$CustomI18N
Bug |
Category |
Details |
Line |
Priority |
new org.apache.maven.report.projectinfo.AbstractProjectInfoReport$CustomI18N(MavenProject, Settings, File, Locale, I18N) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block |
MALICIOUS_CODE |
DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED |
443 |
Medium |
Null passed for non-null parameter of java.util.ResourceBundle.getBundle(String, Locale, ClassLoader) in new org.apache.maven.report.projectinfo.AbstractProjectInfoReport$CustomI18N(MavenProject, Settings, File, Locale, I18N) |
CORRECTNESS |
NP_NULL_PARAM_DEREF |
450 |
Medium |
org.apache.maven.report.projectinfo.DependenciesReport
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.report.projectinfo.DependenciesReport.copyResources(File) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
233 |
Medium |
org.apache.maven.report.projectinfo.DependencyConvergenceReport
Bug |
Category |
Details |
Line |
Priority |
Field only ever set to null: org.apache.maven.report.projectinfo.DependencyConvergenceReport.filter |
CORRECTNESS |
UWF_NULL_FIELD |
Not available |
Medium |
org.apache.maven.report.projectinfo.DependencyConvergenceReport$DependencyNodeComparator
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.report.projectinfo.DependencyConvergenceReport$DependencyNodeComparator implements Comparator but not Serializable |
BAD_PRACTICE |
SE_COMPARATOR_SHOULD_BE_SERIALIZABLE |
979-985 |
Medium |
org.apache.maven.report.projectinfo.ProjectInfoReportUtils
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getURLConnection(URL, MavenProject, Settings): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
341 |
High |
Found reliance on default encoding in org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getURLConnection(URL, MavenProject, Settings): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
341 |
High |
org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.getGravatarUrl(String): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
347 |
High |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.getRequiredContrHeaderArray(Map) |
BAD_PRACTICE |
RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN |
379 |
Medium |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.getRequiredDevHeaderArray(Map) |
BAD_PRACTICE |
RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN |
408 |
Medium |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.renderTeamMember(Contributor, Map) |
BAD_PRACTICE |
RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN |
240 |
Medium |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.setRequiredArray(Map, List, String, String, String, String, String, String, String, String) |
BAD_PRACTICE |
RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN |
440 |
Medium |
org.apache.maven.report.projectinfo.dependencies.SinkSerializingDependencyNodeVisitor$TreeTokens
Bug |
Category |
Details |
Line |
Priority |
Should org.apache.maven.report.projectinfo.dependencies.SinkSerializingDependencyNodeVisitor$TreeTokens be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
47-79 |
Medium |
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat
Bug |
Category |
Details |
Line |
Priority |
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat doesn't override java.text.DecimalFormat.equals(Object) |
STYLE |
EQ_DOESNT_OVERRIDE_EQUALS |
1 |
Medium |
Class org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat defines non-transient non-serializable instance field i18n |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |