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 output
report
- A Groovy
DSL to define a custom set of metrics.
Chris
Mair