The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
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 | 201 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
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 doPrivileged | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 348 | Medium |
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 inconditionnelle | CORRECTNESS | NP_NULL_PARAM_DEREF | 354 | Medium |
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 | 256 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.report.projectinfo.DependencyConvergenceReport$ReverseDependencyLinkComparator implémente Comparator mais pas Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 596-602 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Champ jamais écrit : org.apache.maven.report.projectinfo.HelpMojo.goal | CORRECTNESS | UWF_UNWRITTEN_FIELD | 129 | Medium |
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 | 311 | High |
Found reliance on default encoding in org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getURLConnection(URL, MavenProject, Settings): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 311 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getRequiredDevHeaderArray(Map) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 403 | Medium |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.renderTeamMember(Contributor, int, Map, StringBuffer) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 247 | Medium |
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_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 431 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printArtifactsLocations(Map, List, List) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 1313 | Medium |
Bad attempt to compute absolute value of signed random integer in org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.getUUID() | CORRECTNESS | RV_ABSOLUTE_VALUE_OF_RANDOM_INT | 1480 | High |
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 | 1890-1893 | Medium |
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érialisable | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |