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
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 236 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 450 Medium
Null passed for nonnull 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 457 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 271 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 1011-1017 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 324 High
Found reliance on default encoding in org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getURLConnection(URL, MavenProject, Settings): String.getBytes() I18N DM_DEFAULT_ENCODING 324 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 354 High
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.getRequiredContrHeaderArray(Map) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 387 Medium
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.getRequiredDevHeaderArray(Map) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 417 Medium
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamReport$ProjectTeamRenderer.renderTeamMember(Contributor, int, Map, StringBuilder) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 246 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, String, String) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 451 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 1909-1912 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