An empirical study on inconsistent changes to code clones at the release level

作者:Bettenburg Nicolas*; Shang Weiyi; Ibrahim Walid M; Adams Bram; Zou Ying; Hassan Ahmed E
来源:Science of Computer Programming, 2012, 77(6): 760-776.
DOI:10.1016/j.scico.2010.11.010

摘要

To study the impact of code clones on software quality, researchers typically carry out their studies based on fine-grained analysis of inconsistent changes at the revision level. As a result, they capture much of the chaotic and experimental nature inherent in any on-going software development process. Analyzing highly fluctuating and short-lived clones is likely to exaggerate the ill effects of inconsistent changes on the quality of the released software product, as perceived by the end user. To gain a broader perspective, we perform an empirical study on the effect of inconsistent changes on software quality at the release level. Based on a case study on three open source software systems, we observe that only 1.02%-4.00% of all clone genealogies introduce software defects at the release level, as opposed to the substantially higher percentages reported by previous studies at the revision level. Our findings suggest that clones do not have a significant impact on the post-release quality of the studied systems, and that the developers are able to effectively manage the evolution of cloned code.

  • 出版日期2012-6-1