DSMCompare: domain-specific model differencing for graphical domain-specific languages

被引:0
作者
Manouchehr Zadahmad
Eugene Syriani
Omar Alam
Esther Guerra
Juan de Lara
机构
[1] Université de Montréal,
[2] Trent University,undefined
[3] Universidad Autónoma de Madrid,undefined
来源
Software and Systems Modeling | 2022年 / 21卷
关键词
Model-driven engineering; Model differencing; Domain-specific languages; Graphical concrete syntax;
D O I
暂无
中图分类号
学科分类号
摘要
During the development of a software project, different developers collaborate on creating and changing models. These models evolve and need to be versioned. Over the past several years, progress has been made in offering dedicated support for model versioning that improves on what is being supported by text-based version control systems. However, there is still need to understand model differences in terms of the semantics of the modeling language, and to visualize the changes using its concrete syntax. To address these issues, we propose a comprehensive approach—called DSMCompare—that considers both the abstract and the concrete syntax of a domain-specific language (DSL) when expressing model differences, and which supports defining domain-specific semantics for specific difference patterns. The approach is based on the automatic extension of the DSL to enable the representation of changes and on the automatic adaptation of its graphical concrete syntax to visualize the differences. In addition, we allow for the definition of semantic differencing rules to capture recurrent domain-specific difference patterns. Since these rules can be conflicting with each other, we introduce algorithms for conflict resolution and rule scheduling. To demonstrate the applicability and effectiveness of our approach, we report on evaluations based on synthetic models and on version histories of models developed by third parties.
引用
收藏
页码:2067 / 2096
页数:29
相关论文
共 61 条
[1]  
Schmidt DC(2006)Guest editor’s introduction: Model-driven engineering Computer 39 25-31
[2]  
Paige RF(2016)Evolving models in model-driven engineering: State-of-the-art and future challenges J. Syst. Softw. 111 272-280
[3]  
Matragkas ND(2015)A graph-based algorithm for three-way merging of ordered collections in EMF models Sci. Comput. Program. 113 51-81
[4]  
Rose LM(2007)A metamodel independent approach to difference representation J. Object Technol. 6 165-185
[5]  
Schwägerl F(2013)A modular timed graph transformation language for simulation-based design Softw. Syst. Model. 12 387-414
[6]  
Uhrig S(2007)DSMDiff: a differentiation tool for domain-specific models Eur. J. Inf. Syst. 16 349-361
[7]  
Westfechtel B(2008)Model differences in the eclipse modelling framework UPGRADE, Eur. J. Informatics Prof. 9 29-34
[8]  
Cicchetti A(2012)Formal foundation of consistent emf model transformations by algebraic graph transformation Softw. Syst. Model. 11 227-250
[9]  
Ruscio DD(2007)Attributed graph transformation with node type inheritance Theoret. Comput. Sci. 376 139-163
[10]  
Pierantonio A(1972)Depth-first search and linear graph algorithms SIAM J. Comput. 1 146-160