Please note PRISM will be upgraded March 27-28 to make the submission process better for you! No new content can be added during this time. We apologize for the inconvenience.

Show simple item record

dc.contributor.authorMondal, Manishankar
dc.contributor.authorRoy, Chanchal K.
dc.contributor.authorSchneider, Kevin A.
dc.date.accessioned2015-08-06T21:35:34Z
dc.date.available2015-08-06T21:35:34Z
dc.date.issued2012
dc.identifier.urihttp://hdl.handle.net/1880/50834
dc.description.abstractCode cloning is a controversial software engineering practice due to contradictory claims regarding its effect on software maintenance. Code stability is a recently introduced measurement technique that has been used to determine the impact of code cloning by quantifying the changeability of a code region. Although most existing stability analysis studies agree that cloned code is more stable than non-cloned code, the studies have two major flaws: (i) each study only considered a single stability measurement (e.g., lines of code changed, frequency of change, age of change); and, (ii) only a small number of subject systems were analyzed and these were of limited variety. In this paper, we present a comprehensive empirical study on code stability using four different stability measuring methods. We use a recently introduced hybrid clone detection tool, NiCAD, to detect the clones and analyze their stability in different dimensions: by clone type, by measuring method, by programming language, and by system size and age. Our in-depth investigation on 12 diverse subject systems written in three programming languages considering three types of clones reveals that: (i) cloned code is generally less stable than non-cloned code, and more specifically both Type-1 and Type-2 clones show higher instability than Type-3 clones; (ii) clones in both Java and C systems exhibit higher instability compared to the clones in C# systems; (iii) a system's development strategy might play a key role in defining its comparative code stability scenario; and, (iv) cloned and non-cloned regions of a subject system do not follow any consistent change pattern.en_US
dc.publisherACMen_US
dc.titleAn empirical study on clone stabilityen_US
dc.typeunknown
dc.description.refereedYesen_US
dc.publisher.urlhttp://dx.doi.org/10.1145/2387358.2387360en_US
dc.identifier.doi10.1145/2387358.2387360


Files in this item

FilesSizeFormatView

There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record