How Developers Copy
How Developers Copy
复制标题
开发者如何复制
DOI:
--
复制
发表时间:
2006
期刊:
影响因子:
--
通讯作者:
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