Buscar

Estamos realizando la búsqueda. Por favor, espere...

Detalle_Publicacion

An efficient line-based approach for resolving merge conflicts in XMI-based models

Abstract: Conflicts in software artefacts can appear during collaborative development through version control systems. When these conflicts happen in XMI models, the conflict sections generated by diff programs break the XMI serialisation and compromise the ability to use model editors that assume well-formedness of this serialisation. While these conflict sections already mark the conflicting lines of the model, current tools for conflict resolution in models ignore them and instead load the different versions of a model from the repository, over which they perform a full and costly comparison that re-identifies the conflicts. We present a novel approach that prevents this repetition of work by directly parsing XMI-based models with conflict sections, which allows for a targeted analysis of only the lines of the model that have been detected to be in conflict by the version control system. We have implemented this approach in the PEACEMAKER tool, which can load XMI models with conflict sections, compute and display conflicts at the model level, and provide appropriate resolution actions. Compared with state-of-the-art model comparison tools with support for conflict resolution, PEACEMAKER is able to identify the vast majority of conflicts in models while reducing the required time by up to 60%. The small subset of non-identified conflicts does not introduce issues into the models, e.g. there is no loss of model information, and the resulting models after line-merging these conflicts conform to their metamodels.

Otras publicaciones de la misma revista o congreso con autores/as de la Universidad de Cantabria

 Autoría: de la Vega A., Kolovos D.,

 Fuente: Software and Systems Modeling, 2022, 21, 2461-2487

Editorial: Springer

 Año de publicación: 2022

Nº de páginas: 27

Tipo de publicación: Artículo de Revista

 DOI: 10.1007/s10270-022-00976-4

ISSN: 1619-1374,1619-1366

Url de la publicación: https://doi.org/10.1007/s10270-022-00976-4

Autoría

KOLOVOS, DIMITRIS