javancss:check
Full name:
org.codehaus.mojo:javancss-maven-plugin:2.1:check
Description:
Check the build if for any Method with a ccn greater than a limit
in the source code. Fails the build if told so.
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: verify.
- Invokes the execution of this plugin's goal report prior to executing itself.
Optional Parameters
Name |
Type |
Since |
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.
|
skip |
boolean |
2.1 |
Skip entire check. Default value is: false. User property is: ncss.skip. |
tempFileName |
String |
- |
Name of the file holding the xml file generated by JavaNCSS Default value is: javancss-raw-report.xml.
|
Parameter Details
ccnLimit:
CCN Limit, any code with a ccn greater than this number will
generate a violation
- Type: int
- Required: No
- Default: 10
failOnViolation:
Whether to fail the build if the validation check fails.
- Type: boolean
- Required: No
- Default: true
ncssLimit:
ncss Limit, any code with a ncss greater than this number will
generate a violation
- Type: int
- Required: No
- Default: 100
skip:
Skip entire check.
- Type: boolean
- Since: 2.1
- Required: No
- User Property: ncss.skip
- Default: false
tempFileName:
Name of the file holding the xml file generated by JavaNCSS
- Type: java.lang.String
- Required: No
- Default: javancss-raw-report.xml