JavaNCSS is a source measurement suite for Java which produces quantity & complexity metrics for your java source code.
This plugin provides the capability to run the JavaNCSS tool on your Maven 2 project sources and produce an html report. Optionally you can fail the build whenever one of the metrics goes beyond a fixed limit.
Many thanks to Clemens Lee and the many contributors to the JavaNCSS project for producing this tool for all to use.
Instructions on how to use the Maven 2 JavaNCSS plugin can be found here.
To provide you with better understanding of some usages of the Maven 2 JavaNCSS plugin, you can take a look into the following examples:
If you want to take a look at the kind of reports this plugin is able to generate you can view some examples here :