跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2202.05329 (cs)
[提交于 2022年2月10日]

标题:Spork: Structured Merge for Java with Formatting Preservation

作者:Simon Larsén, Jean-Rémy Falleri, Benoit Baudry, Martin Monperrus
查看论文《Spork: Structured Merge for Java with Formatting Preservation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The highly parallel workflows of modern software development have made merging of source code a common activity for developers. The state of the practice is based on line-based merge, which is ubiquitously used with "git merge". Line-based merge is however a generalized technique for any text that cannot leverage the structured nature of source code, making merge conflicts a common occurrence. As a remedy, research has proposed structured merge tools, which typically operate on abstract syntax trees instead of raw text. Structured merging greatly reduces the prevalence of merge conflicts but suffers from important limitations, the main ones being a tendency to alter the formatting of the merged code and being prone to excessive running times. In this paper, we present SPORK, a novel structured merge tool for JAVA. SPORK is unique as it preserves formatting to a significantly greater degree than comparable state-of-the-art tools. SPORK is also overall faster than the state of the art, in particular significantly reducing worst-case running times in practice. We demonstrate these properties by replaying 1740 real-world file merges collected from 119 open-source projects, and further demonstrate several key differences between SPORK and the state of the art with in-depth case studies.
评论: 21 pages, 18 figures, 11 tables, accepted for publication in IEEE Transactions on Software Engineering
主题: 软件工程 (cs.SE)
引用方式: arXiv:2202.05329 [cs.SE]
  (或者 arXiv:2202.05329v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2202.05329
期刊参考: IEEE Transactions on Software Engineering, 2022
相关 DOI: https://doi.org/10.1109/TSE.2022.3143766

提交历史

来自:Simon Larsén
[v1] 2022年2月10日 星期四 21:15:49 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-02
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站