The GMetrics project provides calculation and reporting of size and complexity metrics for Groovy source code. GMetrics scans Groovy source code, applying a set of metrics, and generates an HTML report of the results.
You can run GMetrics using the supplied Ant Task.
Total and average values for the following metrics are provided:
See the site navigation menu for a list of the metrics and reports provided out of the box by GMetrics.
Take a look at a Sample GMetrics Report.
The GMetrics project requires:
For projects built using Maven, GMetrics is now available from the Maven Central Repository.