Skip to Main content Skip to Navigation
Conference papers

On the Power of Abstraction: a Model-Driven Co-evolution Approach of Software Code

Djamel Eddine Khelladi 1 Benoit Combemale 1 Mathieu Acher 1 Olivier Barais 1
1 DiverSe - Diversity-centric Software Engineering
Inria Rennes – Bretagne Atlantique , IRISA-D4 - LANGAGE ET GÉNIE LOGICIEL
Abstract : Model-driven software engineering fosters abstraction through the use of models and then automation by transforming them into various artefacts, in particular to code, for example: 1) from architectural models to code, 2) from metamodels to API code (with EMF in Eclipse), 3) from entity models to front-end and back-end code in Web stack application (with JHispter), etc. In all these examples, the generated code is usually enriched by developers with additional code implementing advanced functionalities (e.g., checkers, recommenders, etc.) to build a full coherent system. When the system must evolve, so are the models to regenerate the code. As a result, the developers' enriched code may be impacted and thus need to co-evolve accordingly. Many approaches support the co-evolution of various artifacts, but not the co-evolution of code. This paper sheds light on this issue and envisions to fill this gap. We formulate the hypothesis that the code co-evolution can be driven by the model changes by means of change propagation. To investigate this hypothesis, we implemented a prototype for the case of metamodels and their accompanying code in EMF Eclipse. As a preliminary evaluation, we considered the case of the OCL Pivot metamodel evolution and its code co-evolution in two projects from version 3.2.2 to 3.4.4. Preliminary results confirms our hypothesis that model-driven evolution changes can effectively drive the code co-evolution. On 562 impacts in two projects' code by 221 metamodel changes, our approach was able to reach the average of 89% and 92,5% respectively of precision and recall.
Document type :
Conference papers
Complete list of metadatas
Contributor : Djamel Eddine Khelladi <>
Submitted on : Saturday, November 28, 2020 - 1:57:07 PM
Last modification on : Wednesday, December 2, 2020 - 3:11:36 AM


Files produced by the author(s)


  • HAL Id : hal-03029426, version 1


Djamel Eddine Khelladi, Benoit Combemale, Mathieu Acher, Olivier Barais. On the Power of Abstraction: a Model-Driven Co-evolution Approach of Software Code. 42nd International Conference on Software Engineering, New Ideas and Emerging Results, May 2020, Séoul, South Korea. ⟨hal-03029426⟩



Record views


Files downloads