Branch Drift: A Visually Explainable Metric for Consistency Monitoring in Collaborative Software Development

Publikation: Beitrag in FachzeitschriftForschungsartikelBeigetragenBegutachtung

Abstract

Modern software engineering uses branch-based workflows for collaborative development on a shared codebase. A branch may represent a task or feature within the responsibilities of a specific developer or team. When branches are merged, unanticipated conflicts occur frequently. Their resolution is time-consuming and costly. Depending on the development process, a branch exists for a few hours or up to several months.With increasing time and many branches, keeping track of potential merge conflicts becomes difficult. Typically, developers are unaware of these conflicts until the branches are merged. Issues solvable through joint reviews, discussion, and collaboration are therefore identified and resolved late. It is evident that the effort required to resolve merge conflicts poses an organizational technical debt. Project managers and team leaders must be able to track, analyze, and interpret the merge conflict potential to call for timely actions. Therefore, a metric is required. This work transfers the drift metric for inconsistency analysis from model-driven software engineering to branch-based software development. The resulting branch-drift metric summarizes the merge conflict potential of a development project in a numeric value. Its calculation is configurable to fit any project’s requirements. The branch-drift is based on an intuitive and explainable geometric representation, easing the analysis of conflict patterns and outliers. We evaluate the branch-drift by quantitatively analyzing and discussing the drift values, trends, and patterns for 21 large-scale open-source repositories over three months. The results of this work encourage and enable the continuous and configurable branch-drift calculation for arbitrary Git repositories. The developed tools and gathered data are publicly available.

Details

OriginalspracheEnglisch
Seiten (von - bis)116972-116993
Seitenumfang22
FachzeitschriftIEEE access
Jahrgang13
Frühes Online-Datum7 Juli 2025
PublikationsstatusVeröffentlicht - 2025
Peer-Review-StatusJa

Externe IDs

ORCID /0000-0003-1537-7815/work/187997477
ORCID /0000-0002-3513-6448/work/187997844
Scopus 105010200288

Schlagworte

Schlagwörter

  • collaborative development, metrics, quality assurance, software engineering, technical debt, Software engineering