Technische Universität Dresden
Consistency Measurement in Collaborative Software Engineering
Abstract
dc:description.abstractSoftware development is a collaborative effort. To successfully build and maintain large software systems, developers must collaborate, combining their expertise and skills. In today's working environments, distributed remote teams are common, allowing developers all around the world to contribute to a project. Modern version control systems such as Git enable this collaboration by providing the possibility to work on different lines of development, called branches, in parallel. A specific form of collaboration is based on the concept of feature branches. Feature branch workflows, often combined with agile development methodologies, aim to develop increments of functionality, known as features, in isolated branches. This enables the parallel development of multiple features by different developers without interfering with one another. Completed features are merged back into the main line of development. However, this flexible and scalable approach comes with a cost. During the individual development phase, developers may change the same parts of the software in different ways. These inconsistencies lead to merge conflicts when integrating the changes back. Often, merge conflicts arise unexpectedly and are costly to resolve. We identify these kinds of conflict-causing inconsistencies as a central problem of branch-based software development. In particular, they pose a form of technical debt -- we call it consistency debt -- that builds up during the development process and needs to be monitored and controlled. Therefore, metrics are required but are currently missing in the state-of-the-art. This work fills this gap by introducing and evaluating a novel metric for measuring the consistency in branch-based software development -- the Drift metric -- as its main contribution. The Drift metric enables the quantification of the inconsistency between different lines of development. It allows for the tracking of consistency over time and prompts action when the inconsistency exceeds expectations. We furthermore contribute a tool, called \textit{Driftool}, for automated and highly configurable calculation of the Drift metric on Git repositories. We evaluate the Drift metric in a series of experiments on synthetically generated data and on large open-source software projects. We start our investigations from a model-driven perspective, which we later extend to general software development. While working towards this main contribution, we provide several secondary contributions. This includes a formal taxonomy of quality regions for classifying the operation context of a quality analysis in space and time; and a novel operation-based merge conflict detection algorithm, called sketch-based critical pair analysis (SCPA). Through several case studies and empirical evaluations, this work also contributes multiple further tools and datasets to the research community.
Degree
thesis:*- Level thesis:degree_level
- thesis.doctoral
- Department thesis:degree_department
- Fakultät Informatik
- Grantor dc:publisher
- Technische Universität Dresden
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Kegel, Karl
- Advisor dc:contributor.advisor
-
- Rumpe, Bernhard
Subjects
dc:subject × 4Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- free
- info:eu-repo/semantics/openAccess
- Language dc:language.dcterms_iso639_2
- eng
Identifiers
dc:identifier.*- Dc Publisher Identifier
- 2024114-8