Generates a JavaNCSS report based on this module's source code.
Mojo Attributes:
| Name | Type | Description |
|---|---|---|
| lineThreshold | int |
Specifies the maximum number of lines to take into account into the reports. Default value is 30. |
| tempFileName | String |
Specified the name of the temporary file generated by Javancss prior report generation. 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}. |
| Name | Type | Description |
|---|---|---|
| excludes | String[] |
List of ant-style patterns used to specify the java sources that should be excluded when running JavaNCSS. If this is not specified, no files in the project source directories are excluded. |
| forceEncoding | String |
Encoding to use when reading the javancss xml file. This should match the encoding used in the source files that javancss is parsing. It defaults to the System.getProperty("file.encoding");, but you can override it. |
| includes | String[] |
List of ant-style patterns used to specify the java sources that should be included when running JavaNCSS. If this is not specified, all .java files in the project source directories are included. |
| linkXRef | boolean |
Link the violation line numbers to the source xref. Defaults to true and will link automatically if jxr plugin is
being used. Default value is true. |
| xrefLocation | File |
Location of the Xrefs to link to. Default value is ${project.build.directory}/site/xref. |
List of ant-style patterns used to specify the java sources that should be excluded when running JavaNCSS. If this is not specified, no files in the project source directories are excluded.
java.lang.String[]Nojava.lang.StringNojava.lang.String[]NointYes30booleanNo${linkXRef}truejava.lang.StringYesjavancss-raw-report.xmljava.io.FileYes${project.build.directory}java.io.FileNo${project.build.directory}/site/xref