DocumentCode :
650685
Title :
An Empirical Study of Clone Removals
Author :
Bazrafshan, Saman ; Koschke, Rainer
Author_Institution :
Software Eng. Group, Univ. of Bremen, Bremen, Germany
fYear :
2013
fDate :
22-28 Sept. 2013
Firstpage :
50
Lastpage :
59
Abstract :
It is often claimed that duplicated source code is a threat to the maintainability of a software system and that developers should manage code duplication. A previous study analyzed the evolution of four software systems and found a remarkable discrepancy between code clones detected by a state-of-the-art clone detector and those deliberately removed by developers as the scope of the clones hardly ever matched. However, the results are based on a relatively small amount of data and need to be validated by a more extensive analysis. In this paper, we present an extension of this study by analyzing deliberate as well as accidental removals of code duplication in the evolution of eleven systems. Based on our findings, we could confirm the results of the previous study. Beyond that we found that accidental removals of cloned code occur slightly more often than deliberate removals and that many clone removals were in fact incomplete.
Keywords :
software maintenance; software management; clone removals; code clone detection; duplicated source code; software system maintainability; Cloning; Cyclones; Detectors; Measurement; Open source software; Software systems; Clone removal; clone evolution; software maintenance;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance (ICSM), 2013 29th IEEE International Conference on
Conference_Location :
Eindhoven
ISSN :
1063-6773
Type :
conf
DOI :
10.1109/ICSM.2013.16
Filename :
6676876
Link To Document :
بازگشت