Home / gmetrics-0.6
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2012-09-04 2.8 kB
GMetrics-0.6-bin.zip 2012-09-04 1.5 MB
GMetrics-0.6-bin.tar.gz 2012-09-04 1.3 MB
Totals: 3 Items   2.8 MB 0
GMetrics version 0.6
-------------------------------------------------------------------------------
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.6 (Sep 2012)
--------------------------------------
NEW METRICS
- #3341849: New EfferentCouplingMetric. Package-level metric that counts the number of other packages that the classes in a package depend upon, and is an indicator of the package's independence.
- #3341855: New AfferentCouplingMetric. Package-level metric that counts the number of other packages that depend on the classes within a package. It is an indicator of the package's responsibility.

NEW FEATURES
- #3560963: Add fileName and filePath attributes to <Class> elements on XML report.
- #3563055: Include a new name attribute in the <Package> elements in the XML report, to contain the actual package name. Add packageName property to PackageResultsNode to hold the actual package name, independent of the source folder. NOTE: Not using packageName instead of path in HTML reports for now.

FIXES AND ENHANCEMENTS
- #3508192: Make CoberturaCoverageFile threadsafe.
- #3520789: Fix CyclomaticComplexity metric does not count null-check operator if it is applied to a method call.
- #3564284: Use actual package name in CoberturaBranchCoverage and CoberturaLineCoverage metrics. Remove packageNamePrefixes property.
- #3523819: Omit attributes that have null value from the XML report.
- #3523820: Reports: Support for metric values that are lists or maps.
- #3523828: BasicHtmlReportWriter: Display ‘N/A’ if the metric value is null.

FRAMEWORK/API CHANGES
- #3564286: Changed Metric interface to include actual package name in applyToPackage:
    - Modified interface method: applyToPackage(String path, String packageName, Collection<MetricResult> childMetricResults)
    - AbstractMetric: Changed to calculateForPackage(String path, String packageName, Collection<MetricResult> childMetricResults)
- Remove FilesystemSourceAnalyzer (not used).

BREAKING CHANGES
- #3564286: Change to Metric interface and AbstractMetric to include actual package name in applyToPackage() and calculateForPackage().
- #3564284: Remove packageNamePrefixes property from CoberturaBranchCoverage and CoberturaLineCoverage metrics.

THANKS
- Thanks to Akila Perera for the patch for #3560963.


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).
Source: README.txt, updated 2012-09-04