Master thesis
Cite …

Designing a Change-Driven Language for Model Consistency Repair Routines

DOI: 10.5445/IR/1000080138
PDF published on Feb 13, 2018
Abstract

A software system under development can be described by several models, which represent different concerns or abstractions of the system. These models can contain dependent or even redundant information.

Whenever a software developer changes such models without considering their dependencies, the models can get inconsistent. A developer can hardly maintain an overview of all models involved in a development process and the dependencies between them. Therefore, automated mechanisms for restoring the consistency after model changes are necessary.

Existing approaches provide declarative constructs for specifying the model dependencies and automatically derive consistency-restoring mechanisms from them. These approaches have limited expressiveness and only allow restricted influence on the way consistency is restored. They prescribe a certain way of restoring consistency although different possibilities exist.

In this thesis, we present the change-driven response language for the repair of model consistency. It allows to specify the way of repair explicitly in imperative routines, which are executed in reaction to specified changes. Besides, the language provides constructs that encapsulate recurring actions and make them reusable. We introduce a consistency definition focused on comprehensibility and a categorization of possible changes within models. The presented language reflects a generic structure for change-driven consistency repair, derived from our consistency definition.

We provide an evaluation of our approach in a case study realizing the consistency of architecture descriptions and their implementation in object-oriented code. The evaluation confirms the applicability of the proposed language for preserving consistency in that exemplary case and reveals benefits compared with a manual implementation.