FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
9 11 0 0

org.apache.maven.plugins.pdf.DateBean

Bug Category Details Line Priority
new org.apache.maven.plugins.pdf.DateBean(Date) may expose internal representation by storing an externally mutable object into DateBean.date MALICIOUS_CODE EI_EXPOSE_REP2 84 Medium
org.apache.maven.plugins.pdf.DateBean.setDate(Date) may expose internal representation by storing an externally mutable object into DateBean.date MALICIOUS_CODE EI_EXPOSE_REP2 94 Medium
Inconsistent synchronization of org.apache.maven.plugins.pdf.DateBean.date; locked 90% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 94 Medium

org.apache.maven.plugins.pdf.PdfMojo

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.pdf.PdfMojo.copyGeneratedPdf() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 501 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfMojo.copySiteDir(File, File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 682 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfMojo.debugLogGeneratedModel(DocumentModel) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 958 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfMojo.generateMavenReport(MavenReport, Artifact, Locale) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1213 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfMojo.generateMavenReports(Locale) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1047 Medium
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.pdf.PdfMojo.prepareTempSiteDirectory(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 626 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfMojo.prepareTempSiteDirectory(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 604 Medium
org.apache.maven.plugins.pdf.PdfMojo.getDefaultExcludesWithLocales(List, Locale) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 1705 Medium