Software Metrics Metamodel


The OMG Structured Metrics Metamodel specification defines a standard Metrics Metamodel. It is a publicly available specification from the Object Management Group. SMM specifies a metamodel for defining, representing and exchanging both measures and measurement information related to any structured information model, such as the OMG Meta Object Facility standard, defining an XMI interchange format between metric extraction tools. It is used to maintain metrics by a number of other OMG specifications such as the Knowledge Discovery Metamodel and the Value Delivery Metamodel.

Key concepts

The SMM standard includes elements representing the concepts to express a wide range of diversified measures:
SMM specifies the representation of measures without detailing the representation of the entities measured.
SMM defines representations for:
The process of extracting metrics, requires a SMM tool to apply the measures to an observation scope that hold one or more models. This tool will produce a graph containing measurements, that maps to the measure graph. On this graph every node corresponds to the result of a measure on a measurand. Therefore, measures are mapped to 0 or more measurements where 0 indicates that no measurands corresponding to the scope of the measure were found.
Alternatively, if the metrics are fully specified as a model, the measurement tool can be generated.

Observations

The SMM allows for multiple measurement graphs to be stored. Whenever a measurement graph is produced, it is associated to an observation that is dated and tagged with information describing the tool used to extract the metrics. Observations exist to be passed to metric reporting tools that can provide additional features like visualization and statistical control.