How Developers Copy

How Developers Copy
复制标题

开发者如何复制

DOI:
--
复制
发表时间:
2006
期刊:
IEEE International Conference on Program Comprehension
影响因子:
--
通讯作者:
Tudor Gîrba
Tudor Gîrba
中科院分区:
--
文献类型:
--
作者:
Mihai Balint;Radu Marinescu;Tudor Gîrba

文献摘要

被引文献

相似文献

复制粘贴编程是危险的,因为它可能导致系统不同部分之间隐藏的依赖关系。修改克隆并不总是直截了当的,因为我们可能不知道所有需要修改的地方。当多个开发人员需要知道如何更改克隆时,这就更成问题了。在本文中,我们将代码克隆与修改的时间以及执行修改的开发人员相关联,以检测开发人员如何相互复制的模式。我们开发了可视化的克隆进化视图来表示重复代码的进化。我们展示了我们的方法在几个大的案例研究的相关性,我们提取我们的经验,在有趣的复制模式的形式
Copy-paste programming is dangerous as it may lead to hidden dependencies between different parts of the system. Modifying clones is not always straight forward, because we might not know all the places that need modification. This is even more of a problem when several developers need to know about how to change the clones. In this paper, we correlate the code clones with the time of the modification and with the developer that performed the modification to detect patterns of how developers copy from one another. We develop visualization, named clone evolution view, to represent the evolution of the duplicated code. We show the relevance of our approach on several large case studies and we distill our experience in forms of interesting copy patterns