SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
41 3 0 0

Files

Class Bugs
org.apache.rat.anttasks.Help$AntHelpFormatter 1
org.apache.rat.anttasks.Report$AddLicenseHeaders 1
org.apache.rat.anttasks.Report$ApprovalFilter 1

org.apache.rat.anttasks.Help$AntHelpFormatter

Bug Category Details Line Priority
Dead store to lpad in org.apache.rat.anttasks.Help$AntHelpFormatter.renderOptions(StringBuffer, int, Options, int, int) STYLE DLS_DEAD_LOCAL_STORE 171 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 495 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 520 Medium