GMetrics - GMetrics - DefaultMetricSet

GMetrics

##### General

- Home
- Downloads
- Javadocs
- SourceForge Project

##### Running

- Ant Task Usage
- Other Tools/Frameworks

##### Using

- Creating a MetricSet
- The Default MetricSet

##### Reports

- BasicHtmlReportWriter
- SingleSeriesHtmlReportWriter
- XmlReportWriter
- Sample Reports

##### Metrics

- ABC
- AfferentCoupling
- ClassCount
- ClassLineCount
- CoberturaBranchCoverageMetric
- CoberturaLineCoverageMetric
- CrapMetric
- CyclomaticComplexity
- EfferentCoupling
- FieldCount
- MethodLineCount
- MethodCount

## The Default MetricSet

If no MetricSet is configured for the GMetrics Ant Task then it uses the set of Metrics defined by the `org.gmetrics.metricset.DefaultMetricSet` class. That includes the following Metrics:

- Cyclomatic Complexity - implemented by `org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric`
- Method Line Count - implemented by `org.gmetrics.metric.linecount.MethodLineCountMetric`
- Class Line Count - implemented by `org.gmetrics.metric.linecount.ClassLineCountMetric`