public class MetricProcedureCount extends MetricProcedure
Counts are now just a special case of projections, using the principal element in the condition expression.
| Constructor and Description |
|---|
MetricProcedureCount() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
calculate(ModelElement element,
Metric metric)
Calculates the metric procedure.
|
evalBooleanExpression, evalElementSetExpression, evalExpression, evalSetExpression, getFilterAttributeProcessor, getMetaModel, getMetricsEngine, getModel, getRelationOrSet, isCompatiblepublic java.lang.Integer calculate(ModelElement element, Metric metric) throws SDMetricsException
MetricProcedurecalculate in class MetricProcedureelement - The model element for which to calculate the procedure.metric - The metric to calculate.SDMetricsException - Problem during the calculation of the metric.