arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1509.04207cs.SEcs.PL
收藏

DeltaImpactFinder:使用依赖分析评估语义合并冲突

DeltaImpactFinder: Assessing Semantic Merge Conflicts with Dependency Analysis

Martín Dias, Guillermo Polito, Damien Cassou, Stéphane Ducasse

摘要:

在软件开发中,版本控制系统(VersionControlSystems,缩写为VCS)提供了分支和合并支持工具。这些工具在开发人员中很受欢迎,可以在单独的行中同时更改代码库,然后自动协调更改。但是,两个独立正确的更改在合并在一起时可能会引入错误。我们把这种语义合并冲突称为bug。变更影响分析(CIA)旨在评估代码库变更的影响。在本文中,我们提出了使用CIA检测语义合并冲突。在合并时,DELTAIMPACTFINDER分析并比较其源分支和目标分支中更改的影响。我们将这两种影响之间的差异称为delta影响。如果delta-impact为空,则没有语义合并冲突的指示符,合并可以自动继续。否则,三角洲影响包含了可能冲突的根源。

英文摘要:

In software development, version control systems (VCS) provide branching and merging support tools. Such tools are popular among developers to concurrently change a code-base in separate lines and reconcile their changes automatically afterwards. However, two changes that are correct independently can introduce bugs when merged together. We call semantic merge conflicts this kind of bugs. Change impact analysis (CIA) aims at estimating the effects of a change in a codebase. In this paper, we propose to detect semantic merge conflicts using CIA. On a merge, DELTAIMPACTFINDER analyzes and compares the impact of a change in its origin and destination branches. We call the difference between these two impacts the delta-impact. If the delta-impact is empty, then there is no indicator of a semantic merge conflict and the merge can continue automatically. Otherwise, the delta-impact contains what are the sources of possible conflicts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑