public class MetricProcedureCompare extends MetricProcedure
Element comparisons are now just a special case of projections, comparing the principal element in the condition expression.
| Constructor and Description |
|---|
MetricProcedureCompare() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
calculate(ModelElement element,
Metric metric)
Calculates the metric procedure.
|
evalBooleanExpression, evalElementSetExpression, evalExpression, evalSetExpression, getFilterAttributeProcessor, getMetaModel, getMetricsEngine, getModel, getRelationOrSet, isCompatibleprotected java.lang.Object 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.