arrow
返回

Understanding semi-structured merge conflict characteristics in open-source Java projects

delete2017-12-21
delete24
PRE
AI
P
Paola Accioly *
P
Paulo Borba
G
Guilherme Cavalcanti
DOI:10.1007/s10664-017-9586-1delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Empirical studies show that merge conflicts frequently occur, impairing developers' productivity, since merging conflicting contributions might be a demanding and tedious task. However, the structure of changes that lead to conflicts has not been studied yet. Understanding the underlying structure of conflicts, and the involved syntactic language elements might shed light on how to better avoid merge conflicts. To this end, in this paper we derive a catalog of conflict patterns expressed in terms of the structure of code changes that lead to merge conflicts. We focus on conflicts reported by a semi-structured merge tool that exploits knowledge about the underlying syntax of the artifacts. This way, we avoid analyzing a large number of spurious conflicts often reported by typical line based merge tools. To assess the occurrence of such patterns in different systems, we conduct an empirical study reproducing 70,047 merges from 123 GitHub Java projects. Our results show that most semi-structured merge conflicts in our sample happen because developers independently edit the same or consecutive lines of the same method. However, the probability of creating a merge conflict is approximately the same when editing methods, class fields, and modifier lists. Furthermore, we noticed that most part of conflicting merge scenarios, and merge conflicts, involve more than two developers. Also, that copying and pasting pieces of code, or even entire files, across different repositories is a common practice and cause of conflicts. Finally, we discuss how our results reveal the need for new research studies and suggest potential improvements to tools supporting collaborative software development.
Keyword:
Collaborative software development
Merge conflicts
Empirical software engineering
Awareness tools
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
Universidade Federal de Pernambuco
学者数:
1.3W
论文数: 7.3K
被引数: 5.3K
引用论文

引用论文

Data from the synthesis and characterization of banana starch nanoparticles from different botanical varieties
err2021-08-01
err0
errOAAI
errNatalia Baena-Jurado; Leidy T. Sanchez; Magda I. Pinzon; Cristian C. Villa
err分享
err收藏
ZmSIZ1a and ZmSIZ1b play an indispensable role in resistance against Fusarium ear rot in maize
err2023-01-23
err0
errOAAI
errXinyang Liao; Juan Sun; Quanquan Li; Wenyan Ding; Binbin Zhao; Baobao Wang; Shaoqun Zhou; Haiyang Wang
err分享
err收藏
Theoretical analysis of carbon nanotubes (SWCNT/MWCNT) over a Wang’s stretching sheet under C-C heat flux
err2020-09-14
err0
PREAI
errMir Waqas Alam; Alaaedeen Abuzir; Basma Souayeh; Essam Yasin; Najib Hdhiri; Fayçal Hammami
err分享
err收藏
Ovarian Cystoid Causing Kock Pouch Incontinence
err1998-02-13
err0
PREAI
errJürgen Pannek; Hans-Jörg Sommerfeld
err分享
err收藏
Cochrane method for systematic review and meta-analysis of interventions to prevent occupational noise-induced hearing loss – abridged
err2020-01-01
err0
errOAAI
errChristina Tikka; Jos Verbeek; Erik Kateman; Thais Catalani Morata; Wouter Dreschler; Silvia Ferrite
err分享
err收藏
Thermodynamic and Artificial Intelligence Approaches of H2S Solubility in Some Imidazolium-Based Ionic Liquids
err2023-01-30
err0
PREAI
errMorteza Esfandyari; Mahdi Koolivand Salooki; Mohammad Shokouhi; Jafar Sadeghzadeh Ahari; Niloufar Fatourehchi
err分享
err收藏
Effects of blue light on inflammation and skin barrier recovery following acute perturbation. Pilot study results in healthy human subjects
err2017-12-22
err0
PREAI
errDenise Falcone; Natallia E. Uzunbajakava; Frank van Abeelen; Gerrit Oversluizen; Malou Peppelman; Piet E. J. van Erp; Peter C. M. van de Kerkhof
err分享
err收藏
学者 查看更多内容