【24h】

Untangling fine-grained code changes

机译:不包含细粒度的代码变化

获取原文

摘要

After working for some time, developers commit their code changes to a version control system. When doing so, they often bundle unrelated changes (e.g., bug fix and refactoring) in a single commit, thus creating a so-called tangled commit. Sharing tangled commits is problematic because it makes review, reversion, and integration of these commits harder and historical analyses of the project less reliable. Researchers have worked at untangling existing commits, i.e., finding which part of a commit relates to which task. In this paper, we contribute to this line of work in two ways: (1) A publicly available dataset of untangled code changes, created with the help of two developers who accurately split their code changes into self contained tasks over a period of four months; (2) a novel approach, EpiceaUntangler, to help developers share untangled commits (aka. atomic commits) by using fine-grained code change information. EpiceaUntangler is based and tested on the publicly available dataset, and further evaluated by deploying it to 7 developers, who used it for 2 weeks. We recorded a median success rate of 91% and average one of 75%, in automatically creating clusters of untangled fine-grained code changes.
机译:工作一段时间后,开发者提交他们的代码修改版本控制系统。当这样做时,他们常常捆绑在单个不相关的改变(例如,缺陷修复和重构)提交,因此产生所谓缠结提交。分享纠结提交是有问题的,因为它使审核,回复,而这些提交更难的整合和项目不太可靠的历史分析。研究人员在解开现有的提交,即发现其中的一部分提交关于其任务的工作。在本文中,我们以这条线的工作在两个方面作出贡献:(1)A的解开的代码修改可公开获得的数据集,用两个开发人员的帮助谁准确地分裂他们的代码更改为自创建包含任务历时四个月; (2)一种新的方法,EpiceaUntangler,以帮助开发者共享解开提交(亦称原子提交)通过使用细粒代码改变信息。 EpiceaUntangler是基于并在可公开获得的数据集进行测试,并通过将其部署到7点的开发,谁使用2周后进行进一步评估。我们记录的91%,平均成功率和75%的平均之一,在自动创建的解开细粒度的代码修改集群。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号