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) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block | MALICIOUS_CODE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 348 | Medium |
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) | 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 implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 596-602 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: 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 |
---|---|---|---|---|
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 | 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 | 1863-1866 | Medium |
Class org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer$FileDecimalFormat defines non-transient non-serializable instance field i18n | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |