Check the build if for any Method with a ccn greater than a limit in the source code. Fails the build if told so.
Mojo Attributes:
verifyreport prior to executing itself.| Name | Type | Description |
|---|---|---|
| ccnLimit | int |
CCN Limit, any code with a ccn greater than this number will generate a violation Default value is 10. |
| failOnViolation | boolean |
Whether to fail the build if the validation check fails. Default value is true. |
| ncssLimit | int |
ncss Limit, any code with a ncss greater than this number will generate a violation Default value is 100. |
| tempFileName | String |
Name of the file holding the xml file generated by JavaNCSS Default value is javancss-raw-report.xml. |
| xmlOutputDirectory | File |
Specifies the directory where the XML report will be generated. Default value is ${project.build.directory}. |
intYes10booleanYestrueintYes100java.lang.StringYesjavancss-raw-report.xmljava.io.FileYes${project.build.directory}