An efficient line-based approach for resolving merge conflicts in XMI-based modelsJ1st
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.
Wed 26 OctDisplayed time zone: Eastern Time (US & Canada) change
13:30 - 15:00 | Model ManagementJournal-first / Technical Track at A-5502.1 Chair(s): Ileana Ober University of Toulouse | ||
13:30 22mTalk | Accelerating Similarity-Based Model Matching Using On-The-Fly Similarity Preserving HashingFT Technical Track Xiao He University of Science and Technology Beijing, China, Letian Tang School of Computer and Communication Engineering, University of Science and Technology Beijing, Yutong Li School of Computer and Communication Engineering, University of Science and Technology Beijing | ||
13:52 22mTalk | An efficient line-based approach for resolving merge conflicts in XMI-based modelsJ1st Journal-first Link to publication | ||
14:15 22mTalk | A generic approach to detect design patterns in model transformations using a string-matching algorithmJ1st Journal-first Chihab eddine Mokaddem DIRO, Université de Montréal, Houari Sahraoui Université de Montréal, Eugene Syriani Université de Montréal Link to publication | ||
14:37 22mTalk | Nested OSTRICH: Hatching Compositions of Low-code TemplatesP&I Technical Track João Costa Seco NOVA LINCS -- Universidade Nova de Lisboa, Hugo Lourenço OutSystems SA, Joana Baptista Parreira NOVA University of Lisbon, Carla Ferreira NOVA University Lisbon |