SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.5
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
17 |
4 |
0 |
3 |
org.apache.rat.anttasks.Report
Bug |
Category |
Details |
Line |
Priority |
org.apache.rat.anttasks.Report.getConfiguration() may expose internal representation by returning Report.configuration |
MALICIOUS_CODE |
EI_EXPOSE_REP |
216 |
Medium |
org.apache.rat.anttasks.Report$AddLicenseHeaders
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.apache.rat.anttasks.Report$AddLicenseHeaders at new org.apache.rat.anttasks.Report$AddLicenseHeaders(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
265 |
Medium |
org.apache.rat.anttasks.Report$ApprovalFilter
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.apache.rat.anttasks.Report$ApprovalFilter at new org.apache.rat.anttasks.Report$ApprovalFilter(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
287 |
Medium |
org.apache.rat.anttasks.Report$Logger
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.rat.anttasks.Report$Logger.write(int, String): new java.io.PrintWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
304 |
High |