A Delta-Oracle for Fast Model Merge Conflict Estimation using Sketch-Based Critical Pair Analysis
Conflicting changes are a major challenge in branch-based development and modeling. State-of-the-art research proposes continuous analysis via attempted three-way merges to find potential merge conflicts early on. These approaches are computation-heavy due to the necessity of comparing all variant combinations, ideally for each change. This work proposes a conflict approximation algorithm (oracle) for quick feedback. The oracle approximates conflicts using critical pair analysis on tracked delta sequences, providing a quick feedback loop. The oracle is paired with a classical slow-but-precise full model comparison algorithm, which is run occasionally to validate the oracle's results. This work contributes the Sketch-based Critical Pair Analysis (SCPA) approach for fast merge conflict estimation. SCPA's runtime depends only on the number of changes and not the model size. We evaluate SCPA against EMFCompare in different simulated model evolution scenarios. We found that for the investigated model sizes, SCPA is faster by a magnitude while the number of found conflicts strongly correlates with EMFCompare.
Authors
- Kevin Feichtinger (ORCID: https://orcid.org/0000-0003-1182-5377)
- Uwe Aßmann (ORCID: https://orcid.org/0000-0002-3513-6448)
- Karl Kegel (ORCID: https://orcid.org/0009-0003-6829-4260)
- Romain Pascual (ORCID: https://orcid.org/0000-0003-1282-1933)
- Andreas Domanowski (ORCID: https://orcid.org/0000-0003-3479-661X)
Institutions
- Karlsruhe Institute of Technology (DE)
- Software (Germany) (DE)
- Technische Universität Dresden (DE)
Publication Details
- Published
- 2024-09-22
- DOI
- https://doi.org/10.1145/3652620.3688341
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Deutsche Forschungsgemeinschaft