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
521600

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_PRACTICE204Medium

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

BugCategoryDetailsLinePriority
new org.apache.maven.report.projectinfo.AbstractProjectInfoReport$CustomI18N(MavenProject, Settings, File, Locale, I18N) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivilegedMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED385Medium
L'appel de méthode dans new org.apache.maven.report.projectinfo.AbstractProjectInfoReport$CustomI18N(MavenProject, Settings, File, Locale, I18N) passe null à un paramètre de java.util.ResourceBundle.getBundle(String, Locale, ClassLoader) déréférencé de façon inconditionnelleCORRECTNESSNP_NULL_PARAM_DEREF391Medium

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 implémente Comparator mais pas SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE596-602Medium

org.apache.maven.report.projectinfo.HelpMojo

BugCategoryDetailsLinePriority
org.apache.maven.report.projectinfo.HelpMojo.build() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION68Medium

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_CTOR1302Medium

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_EQUALS1890-1893Medium
La classe org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat définit le champ d'instance org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat.i18n non transient et non sérialisableBAD_PRACTICESE_BAD_FIELDNot availableMedium