FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
521700

org.apache.maven.report.projectinfo.AbstractProjectInfoReport

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.report.projectinfo.AbstractProjectInfoReport.execute()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE201Medium

org.apache.maven.report.projectinfo.AbstractProjectInfoReport$CustomI18N

BugCategoryDetailsLinePriority
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 blockMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED348Medium
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)CORRECTNESSNP_NULL_PARAM_DEREF354Medium

org.apache.maven.report.projectinfo.DependenciesReport

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.report.projectinfo.DependenciesReport.copyResources(File)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE256Medium

org.apache.maven.report.projectinfo.DependencyConvergenceReport$ReverseDependencyLinkComparator

BugCategoryDetailsLinePriority
org.apache.maven.report.projectinfo.DependencyConvergenceReport$ReverseDependencyLinkComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE596-602Medium

org.apache.maven.report.projectinfo.HelpMojo

BugCategoryDetailsLinePriority
Unwritten field: org.apache.maven.report.projectinfo.HelpMojo.goalCORRECTNESSUWF_UNWRITTEN_FIELD129Medium

org.apache.maven.report.projectinfo.ProjectInfoReportUtils

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getURLConnection(URL, MavenProject, Settings): new String(byte[])I18NDM_DEFAULT_ENCODING311High
Found reliance on default encoding in org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getURLConnection(URL, MavenProject, Settings): String.getBytes()I18NDM_DEFAULT_ENCODING311High

org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getGravatarUrl(String): String.getBytes()I18NDM_DEFAULT_ENCODING427High
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getRequiredContrHeaderArray(Map)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN468Medium
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getRequiredDevHeaderArray(Map)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN498Medium
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.renderTeamMember(Contributor, int, Map, StringBuilder)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN256Medium
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.setRequiredArray(Map, List, String, String, String, String, String, String, String, String, String, String)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN531Medium

org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer

BugCategoryDetailsLinePriority
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printArtifactsLocations(Map, List, List) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1313Medium
Bad attempt to compute absolute value of signed random integer in org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.getUUID()CORRECTNESSRV_ABSOLUTE_VALUE_OF_RANDOM_INT1480High

org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat

BugCategoryDetailsLinePriority
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat doesn't override java.text.DecimalFormat.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS1863-1866Medium
Class org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat defines non-transient non-serializable instance field i18nBAD_PRACTICESE_BAD_FIELDNot availableMedium