DocumentCode
647202
Title
Effects of cloned code on software maintainability: A replicated developer study
Author
Chatterji, Debarshi ; Carver, Jeffrey C. ; Kraft, Nicholas A. ; Harder, Jesse
Author_Institution
Dept. of Comput. Sci., Univ. of Alabama, Tuscaloosa, AL, USA
fYear
2013
fDate
14-17 Oct. 2013
Firstpage
112
Lastpage
121
Abstract
Code clones are a common occurrence in most software systems. Their presence is believed to have an effect on the maintenance process. Although these effects have been previously studied, there is not yet a conclusive result. This paper describes an extended replication of a controlled experiment (i.e. a strict replication with an additional task) that analyzes the effects of cloned bugs (i.e. bugs in cloned code) on the program comprehension of programmers. In the strict replication portion, the study participants attempted to isolate and fix two types of bugs, cloned and non-cloned, in one of two small systems. In the extension of the original study, we provided the participants with a clone report describing the location of all cloned code in the other system and asked them to again isolate and fix cloned and non-cloned bugs. The results of the original study showed that cloned bugs were not significantly more difficult to maintain than non-cloned bugs. Conversely, the results of the replication showed that it was significantly more difficult to correctly fix a cloned bug than a non-cloned bug. But, there was no significant difference in the amount of time required to fix a cloned bug vs. a non-cloned bug. Finally, the results of the study extension showed that programmers performed significantly better when given clone information than without clone information.
Keywords
program debugging; reverse engineering; software maintenance; clone information; clone report; cloned bugs; cloned code location; maintenance process; program comprehension; software maintainability; software systems; Cloning; Computer bugs; Games; Java; Maintenance engineering; Software systems; clone management; code clones; developer behavior; empirical studies; software clones; software maintenance;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering (WCRE), 2013 20th Working Conference on
Conference_Location
Koblenz
Type
conf
DOI
10.1109/WCRE.2013.6671286
Filename
6671286
Link To Document