How Multiple Developers Affect the Evolution of Code Clones

How Multiple Developers Affect the Evolution of Code Clones
复制标题

多个开发人员如何影响代码克隆的演变

DOI:
10.1109/icsm.2013.14
复制
发表时间:
2013
期刊:
2013 IEEE International Conference on Software Maintenance
影响因子:
--
通讯作者:
Jan Harder
Jan Harder
中科院分区:
--
文献类型:
--
作者:
Jan Harder

文献摘要

被引文献

相似文献

在编程中使用复制和粘贴会导致源代码的冗余段落。这种克隆对软件质量和可维护性的影响,特别是在最近的过去已经受到各种研究。虽然负面影响在总体上无法得到证实,但克隆人确实造成问题的情况也是不可忽视的,因此,可能还有未知的影响因素导致这些问题。其中一个因素可能是创建和维护克隆所涉及的开发人员数量。多个开发人员的交互,不均匀分布的知识和沟通的缺陷可能会导致不必要的不一致性和错误,当克隆被改变。本文提出了一个实证研究的长寿的软件系统,在其中,我们分析了有多少开发人员参与维护精确克隆和开发人员的数量是否会影响不一致的变化的可能性。我们的研究结果表明,单作者和多作者克隆之间存在差异。尽管如此,我们并没有发现多个开发人员是导致克隆出现问题的原因。
The use of copy and paste in programming causes redundant passages of source code. The effect such clones have on software quality and maintainability in particular has been subject to various studies in the recent past. Although negative effects could not be confirmed in general, a non-negligible number of situations where clones did cause problems has been found. Hence, there may be yet unknown influencing factors that cause these problems. One such factor may be the number of developers involved in the creation and maintenance of a clone. The interaction of multiple developers, unevenly distributed knowledge and communication deficiencies may lead to unwanted inconsistencies and bugs, when the clones are changed. This paper presents an empirical study on long-lived software systems, in which we analyze how many developers are involved in the maintenance exact clones and whether the number of developers affects the likelihood of inconsistent changes. Our results indicate that differences between single-author and multi-author clones exist. Nevertheless, we did not find multiple developers to be the cause of problematic changes to clones.