Towards an Interoperable Textual Format for Model Differences Reporting

被引:1
作者
de la Vega, Alfonso [1 ]
机构
[1] Univ Cantabria, Software Engn & Real Time Grp, Santander, Spain
来源
2023 ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS COMPANION, MODELS-C | 2023年
关键词
Model Evolution; Model Comparison; Unified Format; Eclipse Modeling Framework; XML Metadata Interchange;
D O I
10.1109/MODELS-C59198.2023.00145
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Managing the evolution of models becomes an extra requirement when adopting model-based software development approaches and technologies. When models are versioned using text-based version control systems (VCSs) such as Git, the reporting of differences is done by means of line-based diff operations over the model files, as it happens with the rest of the source code. Some model persistence formats are very verbose (e.g. XML Metadata Interchange (XMI)), which can make impractical or directly impossible to understand and take advantage of diff reports. We present munidiff : a text-based alternative format for reporting model differences that is compatible with the unified format, i.e. the existing de facto format to represent the output of line-based diff operations. This format is more concise than using a diff over XMI-persisted models, and its syntax to represent model differences can be customised. Using a comprehensive test suite from an existing model comparison technology (EMF Compare), we validate the completeness of this format to represent model differences, and its conciseness benefits over using a line-based diff. We also showcase how to generate a report in this format for model comparisons carried out by EMF Compare.
引用
收藏
页码:924 / 928
页数:5
相关论文
共 7 条
[1]  
Altmanninger K., 2009, MODSE MCCM WORKSHOP, P1
[2]  
[Anonymous], XML Metadata Interchange (XMI)
[3]  
Davison W., 1990, USENET comp.sources.misc, V14
[4]  
GNU, Detailed Description of Unified Format.
[5]   Different Models for Model Matching: An analysis of approaches to support model differencing [J].
Kolovos, Dimitrios S. ;
Di Ruscio, Davide ;
Pierantonio, Alfonso ;
Paige, Richard F. .
2009 ICSE WORKSHOP ON COMPARISON AND VERSIONING OF SOFTWARE MODELS, 2009, :1-+
[6]  
Ohst D., 2003, Software Engineering Notes, V28, P227, DOI 10.1145/949952.940102
[7]   DSMCompare: domain-specific model differencing for graphical domain-specific languages [J].
Zadahmad, Manouchehr ;
Syriani, Eugene ;
Alam, Omar ;
Guerra, Esther ;
de Lara, Juan .
SOFTWARE AND SYSTEMS MODELING, 2022, 21 (05) :2067-2096