English

Semantically Configurable Consistency Analysis for Class and Object Diagrams

Software Engineering 2014-09-09 v1

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 congured 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.

Keywords

Cite

@article{arxiv.1409.2313,
  title  = {Semantically Configurable Consistency Analysis for Class and Object Diagrams},
  author = {Shahar Maoz and Jan Oliver Ringert and Bernhard Rumpe},
  journal= {arXiv preprint arXiv:1409.2313},
  year   = {2014}
}

Comments

15 pages, 7 figures. Received Best Paper Award and ACM Distinguished Paper Award at the MODELS 2011 Conference

R2 v1 2026-06-22T05:51:11.621Z