Towards Development with Multi-Version Models: Detecting Merge Conflicts and Checking Well-Formedness

Matthias Barkowsky, Holger Giese
5/9/2022
cs.SE

Official code: hpi-sam/multi-version-models (0 stars, Java, EPL-1.0, last commit 2022-03-03).

Abstract

Developing complex software requires that multiple views and versions of the software can be developed in parallel and merged as supported by views and managed by version control systems. In this context, this paper considers monitoring merging and related consistency problems permanently at the level of models and abstract syntax to permit early and frequent conflict detection while developing in parallel.

Show full abstract

The presented approach introduces multi-version models based on typed graphs that permit to store changes and multiple versions in one graph in a compact form and allow (1) to study well-formedness for all versions without the need to extract each version individually, (2) to report all possible merge conflicts without the need to merge all pairs of versions, and (3) to report all violations of well-formedness conditions that will result for merges of any two versions independent of any merge decisions without the need to merge all pairs of versions. The paper defines the related concepts and algorithms operating on multi-version models, proves their correctness w.r.t.~the usually employed three-way-merge, and reports on preliminary experiments concerning the scalability.

View on arXivView PDF

Code Implementations(1)

EPL-1.0

Repository containing evaluation artifacts for multi-version models.

00JavaFeb 23, 20224 years agoEPL-1.0

Similar Papers

Cite this paper

@article{barkowsky2022towards,
  title  = {Towards Development with Multi-Version Models: Detecting Merge Conflicts and Checking Well-Formedness},
  author = {Matthias Barkowsky and Holger Giese},
  year   = {2022},
  eprint = {2205.04198},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.04198}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.04198.svg)](https://codeofpaper.com/paper/2205.04198)

Discussion