Consistent Change Propagation within Models - Archive ouverte HAL Access content directly
Journal Articles Software and Systems Modeling Year : 2021

Consistent Change Propagation within Models

(1) , (2) , (1) , (1)
1
2

Abstract

Developers change models with clear intentions-e.g., for refactoring, defects removal, or evolution. However, in doing so, developers are often unaware of the consequences of their changes. Changes to one part of a model may aect other parts of the same model and/or even other models, possibly created and maintained by other developers. The consequences are incomplete changes and with it inconsistencies within or across models. Extensive works exist on detecting and repairing inconsistencies. However, literature tends to focus on inconsistencies as errors in need of repairs rather than on incomplete changes in need of further propagation. Many changes are non-trivial and require a series of coordinated model changes. As developers start changing the model, intermittent inconsistencies arise with other parts of the model that developers have not yet changed. These inconsistencies are cues for incomplete change propagation. Resolving these inconsistencies should be done in a manner that is consistent with the original changes. We speak of consistentchange propagation. This paper leverages classical inconsistency repair mechanisms to explore the vast search space of change propagation. Our approachnot only suggests changes to repair a given inconsistency but also changesto repair inconsistencies caused by the aforementioned repair. In doing so,our approach follows the developer's intent where subsequent changes maynot contradict or backtrack earlier changes. We argue that consistent changepropagation is essential for eective model driven engineering. Our approachand its tool implementation were empirically assessed on 18 case studies fromindustry, academia, and GitHub to demonstrate its feasibility and scalability.A comparison with two versioned models shows that our approach identiesactual repair sequences that developers had chosen. Furthermore, an experiment involving 22 participants shows that our change propagation approachmeets the work ow of how developers handle changes by always computingthe sequence of repairs resulting from the change propagation.
Fichier principal
Vignette du fichier
paper.pdf (1.64 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03029432 , version 1 (28-11-2020)

Identifiers

Cite

Roland Kretschmer, Djamel Eddine Khelladi, Roberto E Lopez-Herrejon, Alexander Egyed. Consistent Change Propagation within Models. Software and Systems Modeling, 2021, 20 (2), pp.539-555. ⟨10.1007/s10270-020-00823-4⟩. ⟨hal-03029432⟩
63 View
171 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More