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
521500

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) créé un chargeur de classes java.net.URLClassLoader en dehors d'un block doPrivilegedMALICIOUS_CODEDP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED348Medium
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_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 implémente Comparator mais pas SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE596-602Medium

org.apache.maven.report.projectinfo.HelpMojo

BugCategoryDetailsLinePriority
Champ jamais écrit : 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
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getRequiredDevHeaderArray(Map)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN403Medium
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.renderTeamMember(Contributor, int, Map, StringBuffer)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN247Medium
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)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN431Medium

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_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