1
--------------------------------------------------
2
GMetrics - ClassCount Metric
3
--------------------------------------------------
8
Metric for counting the number of classes in each package. This metric counts
9
the number of classes, interfaces and enums within a package.
11
Implemented by the <<<org.gmetrics.metric.classcount.ClassCountMetric>>> class.
17
The following properties can be configured for this metric within a <MetricSet>. See
18
{{{./gmetrics-creating-metricset.html}Creating a MetricSet}} for information on the syntax of
19
setting a metric property.
21
*-----------------+--------------------------------------------------------------------+------------------------+
22
| <<Property>> | <<Description>> | <<Default Value>> |
23
*-----------------+--------------------------------------------------------------------+------------------------+
24
| enabled | This <<<boolean>>> property controls whether the metric is | <<<true>>> |
25
| | <enabled>. If set to <<<false>>>, then the metric is not included | |
26
| | as part of the results or the output reports. | |
27
*-----------------+--------------------------------------------------------------------+------------------------+
28
| functions | This <<<List\<String\>>>> property contains the names of the functions| <<<["total","average"]>>>|
29
| | to be calculated at the <class> and <package> levels and | |
30
| | (potentially) included within the report(s). Valid values are: | |
35
*-----------------+--------------------------------------------------------------------+------------------------+