Software Metrics Metamodel

The OMG Structured Metrics Metamodel (SMM) specification defines a standard Metrics Metamodel. It is a publicly available specification from the Object Management Group (OMG). 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 (MOF™) 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:

Measures

SMM specifies the representation of measures without detailing the representation of the entities measured.

SMM defines representations for:

Measurement

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.[1]

Observations

The SMM allows for multiple measurements 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.

References

  1. Model-driven Generative Development of Measurement Software (Martin Monperrus, Jean-Marc Jézéquel, Benoit Baudry, Joël Champeau, Brigitte Hoeltzener), In Software and Systems Modeling, Springer, volume 10, 2011, doi: 10.1007/978-3-642-14107-2_2.
This article is issued from Wikipedia - version of the Monday, February 15, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.