Indicators for merge conflicts in the wild: survey and empirical study
作者:Olaf Leßenich, Janet Siegmund, Sven Apel, Christian Kästner, Claus Hunsen
摘要
While the creation of new branches and forks is easy and fast with modern version-control systems, merging is often time-consuming. Especially when dealing with many branches or forks, a prediction of merge costs based on lightweight indicators would be desirable to help developers recognize problematic merging scenarios before potential conflicts become too severe in the evolution of a complex software project. We analyze the predictive power of several indicators, such as the number, size or scattering degree of commits in each branch, derived either from the version-control system or directly from the source code. Based on a survey of 41 developers, we inferred 7 potential indicators to predict the number of merge conflicts. We tested corresponding hypotheses by studying 163 open-source projects, including 21,488 merge scenarios and comprising 49,449,773 lines of code. A notable (negative) result is that none of the 7 indicators suggested by the participants of the developer survey has a predictive power concerning the frequency of merge conflicts. We discuss this and other findings as well as perspectives thereof.
论文关键词:Version control, Merging, Merge conflicts, Distributed development
论文评审过程:
论文官网地址:https://doi.org/10.1007/s10515-017-0227-0