| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.txt | 2011-10-12 | 2.3 kB | |
| GMetrics-0.4-bin.zip | 2011-10-12 | 1.7 MB | |
| GMetrics-0.4-bin.tar.gz | 2011-10-12 | 1.2 MB | |
| Totals: 3 Items | 2.9 MB | 0 | |
GMetrics version 0.4 ------------------------------------------------------------------------------- http://www.gmetrics.org 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. Changes in version 0.4 (Oct 2011) -------------------------------------- NEW FEATURES - Upgrade to Groovy 1.7. NOTE: GMetrics now requires Groovy 1.7. (#3421010) - Support specifying metrics within the MetricSet by specifying the metric name, with optional properties Map or optional closure. (#3421008) NEW METRICS - New FieldCountMetric. Counts the number of fields within each class. (#3341811) - New MethodCountMetric. Counts the number of methods (and closure fields) within each class. (#3341804) - New ClassCountMetric. Counts the number of classes within each package. (#3341812) FIXES AND ENHANCEMENTS - Fix #3305753: Make GMetrics runnable (compatible) with Groovy 1.8. - Fix #3413604: Reimplement ASTUtil.getVariableExpressions() to optimize performance. Thanks to Hamlet DArcy. - Fix #3186167: GMetrics can't be built with Groovy >= 1.7.7. Fix illegal writes to final properties. - Fix #3418843: Reports: Exclude results for level "less" than metric base level - ReportWriters: Include output file name in Report created message FRAMEWORK/API CHANGES (Potential breaking changes if you have implemented your own Metrics) - #3418135: Add MetricLevel getMetricLevel() to MetricResult interface and impl classes. Also AbstractMetric: Change protected createAggregateMetricResult() to add MetricLevel parameter. - Specify collection types (generics) for method signatures within Metric, MetricResult , ResultsNode and ClassMetricResult classes. - Add isValid() method to the SourceCode interface and implementations. INFRASTRUCTURE AND TESTS - Create GMetricsVersion class with String getVersion(). Remove "GMetrics" from version file. - Upgrade to use CodeNarc 0.15 for tests/analysis. DEPENDENCIES CodeNarc requires - Groovy version 1.7 or later - Java 1.5 or later - The Log4J jar, version 1.2.13 or later, accessible on the CLASSPATH (http://logging.apache.org/log4j/index.html).