Semantically configurable consistency analysis for class and object diagrams

  • Authors:
  • Shahar Maoz;Jan Oliver Ringert;Bernhard Rumpe

  • Affiliations:
  • Software Engineering, RWTH Aachen University, Germany;Software Engineering, RWTH Aachen University, Germany;Software Engineering, RWTH Aachen University, Germany

  • Venue:
  • Proceedings of the 14th international conference on Model driven engineering languages and systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.01

Visualization

Abstract

Checking consistency between an object diagram (OD) and a class diagram (CD) is an important analysis problem. However, several variations in the semantics of CDs and ODs, as used in different contexts and for different purposes, create a challenge for analysis tools. To address this challenge in this paper we investigate semantically configurable model analysis. We formalize the variability in the languages semantics using a feature model: each configuration that the model permits induces a different semantics. Moreover, we develop a parametrized analysis that can be instantiated to comply with every legal configuration of the feature model. Thus, the analysis is semantically configured and its results change according to the semantics induced by the selected feature configuration. The ideas are implemented using a parametrized transformation to Alloy. The work can be viewed as a case study example for a formal and automated approach to handling semantic variability in modeling languages.