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 spotbugs extension to configure all tasks in your project:
spotbugs {
reportLevel = 'low'
Or via SpotBugsTask to configure the specific task in your project:
spotbugsMain { // or name of another task
reportLevel = 'high'
}See also SpotBugs Manual.
| Enum constant | Description |
|---|---|
DEFAULT |
The default level that provides the same feature with MEDIUM. |
HIGH |
The report level to report high priority detected bugs in the report. |
LOW |
The report level to report all detected bugs in the report. |
MEDIUM |
The report level to report medium and high priority detected bugs in the report. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
String |
toCommandLineOption() |
The default level that provides the same feature with MEDIUM.
The report level to report high priority detected bugs in the report.
The report level to report all detected bugs in the report.
The report level to report medium and high priority detected bugs in the report.
Groovy Documentation