The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.apache.maven.plugins.pdf.DateBean | 3 |
org.apache.maven.plugins.pdf.PdfAggregateMojo | 2 |
org.apache.maven.plugins.pdf.PdfMojo | 6 |
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 | 82 | 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 | 92 | Medium |
Inconsistent synchronization of org.apache.maven.plugins.pdf.DateBean.date; locked 90% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 92 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of dstSiteTmp in org.apache.maven.plugins.pdf.PdfAggregateMojo.appendGeneratedReports(DocumentModel, Locale) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 111 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfAggregateMojo.prepareTempSiteDirectory(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 90 | Medium |
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 | 439 | 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 | 608 | 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 | 877 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.pdf.PdfMojo.generateMavenReport(MavenReportExecution, Locale) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 981 | 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 | 550 | 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 | 528 | Medium |