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 | 204 | 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 | 385 | 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 | 391 | 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 |
---|---|---|---|---|
org.apache.maven.report.projectinfo.HelpMojo.build() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 68 | 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 |
---|---|---|---|---|
Found reliance on default encoding in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getGravatarUrl(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 427 | High |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getRequiredContrHeaderArray(Map) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 468 | Medium |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.getRequiredDevHeaderArray(Map) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 498 | Medium |
Suspicious comparison of Boolean references in org.apache.maven.report.projectinfo.TeamListReport$TeamListRenderer.renderTeamMember(Contributor, int, Map, StringBuilder) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 256 | 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, String) | BAD_PRACTICE | RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN | 531 | 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 | 1302 | Medium |
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 |