Confidence
The Confidence is used to specify the level to report bugs. Lower level contains more bugs reported. To include all bugs to your report, use LOW.
Usage
Set via the SpotBugsExtension to configure all tasks in your project:
// require Gradle 8.2+
spotbugs {
reportLevel = com.github.spotbugs.snom.Confidence.LOW
}Content copied to clipboard
Or via SpotBugsTask to configure the specific task in your project:
// require Gradle 8.2+
spotbugsMain { // or name of another task
reportLevel = com.github.spotbugs.snom.Confidence.LOW
}Content copied to clipboard
See also SpotBugs Manual.
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.