Metric is an item of information about some specific aspect of the model. The collection of various metrics can be used to evaluate the current state of your model. Calculated at regular intervals they can help tracking the evolution of the model development.
Concepts
To understand the further material better, first get familiar with the following concepts.
Concept | Description |
---|
Metric suite | A collection of parameter and metric definitions used to calculate metrics that evaluate specific aspects of your model. |
Parameter definition | A variable that is used for calculating metrics. It can be an element type (including both relationship and DSL element types), particular element, data type, or data type value. |
Metric definition | A formula for calculating metrics according to the parameter values. |
Actually, metric suite is a class with the «MetricSuite» stereotype applied. Both parameter and metric definitions are attributes of the metric suite.

One metric is the result of single calculation of a metric definition. The metrics of all the metric definitions of the metric suite together with relevant parameters are stored in a single instance of the metric suite (as slot values). To analyse and manage the instances of the metric suite with MagicDraw, use the Metric table.
