Note: This Mojo should be used as a Maven report.
Full name:
org.codehaus.mojo:findbugs-maven-plugin:2.0-SNAPSHOT:findbugs
Description:
Generates a FindBugs Report when the site plugin is run. The HTML report is generated for site commands only. The optional report formats are generated for both the site commands.
Attributes:
compile.compile prior to executing itself.| Name | Type | Since | Description |
|---|---|---|---|
| classFilesDirectory | File |
- |
Directory containing the class files for FindBugs to analyze. Default value is: ${project.build.outputDirectory}. |
| findbugsXmlOutputDirectory | File |
1.2.0 |
Specifies the directory where the findbugs native xml output will
be generated. Default value is: ${project.build.directory}. |
| outputDirectory | String |
- |
Location where generated html will be created. Default value is: ${project.reporting.outputDirectory}. |
| xmlOutputDirectory | File |
1.0.0 |
Specifies the directory where the xml output will be generated. Default value is: ${project.build.directory}. |
| Name | Type | Since | Description |
|---|---|---|---|
| debug | Boolean |
- |
turn on Findbugs debugging Default value is: false. |
| effort | String |
1.0-beta-1 |
Effort of the bug finders. Valid values are Min, Default and Max. |
| excludeFilterFile | String |
1.0-beta-1 |
File name of the exclude filter. Bugs matching the filters are not reported. |
| findbugsXmlOutput | boolean |
1.2.0 |
Turn on and off findbugs native xml output of the Findbugs report. Default value is: false. |
| findbugsXmlWithMessages | boolean |
1.2.0 |
Turn on and off xml output of the Findbugs report. Default value is: false. |
| includeFilterFile | String |
1.0-beta-1 |
File name of the include filter. Only bugs in matching the filters are reported. |
| omitVisitors | String |
1.0-beta-1 |
The visitor list to omit. This is a comma-delimited list. |
| onlyAnalyze | String |
1.1 |
Restrict analysis to find bugs to given comma-separated list of classes and packages. |
| pluginList | String |
1.0-beta-1 |
The plugin list to include in the report. This is a comma-delimited list. |
| relaxed | Boolean |
1.1 |
Relaxed reporting mode. For many detectors, this option suppresses
the heuristics used to avoid reporting false positives. Default value is: false. |
| skip | boolean |
1.1 |
Skip entire check. Default value is: false. |
| threshold | String |
- |
Threshold of minimum bug severity to report. Valid values are High, Default, Low, Ignore, and Exp (for experimental). |
| visitors | String |
1.0-beta-1 |
The visitor list to run. This is a comma-delimited list. |
| xmlOutput | boolean |
1.0.0 |
Turn on and off xml output of the Findbugs report. Default value is: false. |
Directory containing the class files for FindBugs to analyze.
java.io.FileYes${project.build.outputDirectory}turn on Findbugs debugging
java.lang.BooleanNofalseEffort of the bug finders. Valid values are Min, Default and Max.
java.lang.String1.0-beta-1NoFile name of the exclude filter. Bugs matching the filters are not reported.
java.lang.String1.0-beta-1NoTurn on and off findbugs native xml output of the Findbugs report.
boolean1.2.0NofalseSpecifies the directory where the findbugs native xml output will be generated.
java.io.File1.2.0Yes${project.build.directory}Turn on and off xml output of the Findbugs report.
boolean1.2.0NofalseFile name of the include filter. Only bugs in matching the filters are reported.
java.lang.String1.0-beta-1NoThe visitor list to omit. This is a comma-delimited list.
java.lang.String1.0-beta-1NoRestrict analysis to find bugs to given comma-separated list of classes and packages.
java.lang.String1.1NoLocation where generated html will be created.
java.lang.StringYes${project.reporting.outputDirectory}The plugin list to include in the report. This is a comma-delimited list.
java.lang.String1.0-beta-1NoRelaxed reporting mode. For many detectors, this option suppresses the heuristics used to avoid reporting false positives.
java.lang.Boolean1.1NofalseSkip entire check.
boolean1.1No${findbugs.skip}falseThreshold of minimum bug severity to report. Valid values are High, Default, Low, Ignore, and Exp (for experimental).
java.lang.StringNoThe visitor list to run. This is a comma-delimited list.
java.lang.String1.0-beta-1NoTurn on and off xml output of the Findbugs report.
boolean1.0.0NofalseSpecifies the directory where the xml output will be generated.
java.io.File1.0.0Yes${project.build.directory}