6.10.  Computing Model Metrics

All pure::variants model editors provide an extensible set of metrics for the opened models. These metrics can be displayed by choosing Show Metrics from the context menu of a model editor. If metrics shall be displayed only for a sub-tree of a model, the root of this sub-tree has to be selected before the context menu is opened.

Figure 6.44. Metrics for a model

Metrics for a model

The available metrics are listed in a tree showing the name and overall results of the metrics on top level. Partial results and detailed information provided by a metric are listed in the corresponding sub tree. An explaining description of a metric is displayed in the Description field if the name of the metric is marked.

The radio buttons at the bottom of the metrics dialog are used to switch between whole model and selected elements metric calculation. For VDMs, metrics are always calculated for the whole model. If a VDM has not been evaluated yet, the calculated metrics may be outdated and can show incorrect values.

On the Variant Management->Metrics preferences page (menu Window->Preferences ), the set of metrics to apply can be configured.