Chris has posted 11 posts at DZone. View Full User Profile

GMetrics 0.2 - Source Code Metrics for Groovy

03.11.2010
| 1597 views |
  • submit to reddit
The GMetrics project provides calculation and reporting of size and complexity metrics for Groovy source code. GMetrics provides an Ant Task that scans Groovy source code, applying a set of metrics, and generates an HTML or XML report of the results.

GMetrics includes total and average values for four metrics:

  • Cyclomatic Complexity (NEW)
  • ABC Size/Complexity
  • Lines per method
  • Lines per class

Version 0.2 also includes:

  • XML report
  • A Groovy DSL to define a custom set of metrics

Take a look at a Sample GMetrics Report.

Chris Mair

http://gmetrics.sourceforge.net

0
Published at DZone with permission of its author, Chris Mair.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)