DocumentCode
2191990
Title
An empirical study of identical function clones in CRAN
Author
Claes, Maelick ; Mens, Tom ; Tabout, Narjisse ; Grosjean, Philippe
Author_Institution
Software Eng. Lab. & Ecologie numerique des Milieux aquatiques Lab. COMPLEXYS Res. Inst., Univ. of Mons, Mons, Belgium
fYear
2015
fDate
6-6 March 2015
Firstpage
19
Lastpage
25
Abstract
Code clone analysis is a very active subject of study, and research on inter-project code clones is starting to emerge. In the context of software package repositories specifically, developers are confronted with the choice between depending on code implemented in other packages, or cloning this code in their own package. This article presents an empirical study of identical function clones in the CRAN package archive network, in order to understand the extent of this practice in the R community. Depending on too many packages may hamper maintainability as unexpected conflicts may arise during package updates. Duplicating functions from other packages may reduce maintainability since bug fixes or code changes are not propagated automatically to its clones. We study how the characteristics of cloned functions in CRAN snapshots evolve over time, and classify these clones depending on what has prevented package developers to rely on dependencies instead.
Keywords
pattern classification; project management; software maintenance; software packages; CRAN package archive network; clone classification; code clone analysis; identical function clones; interproject code clones; maintainability reduction; software package repositories; Cloning; Communities; Context; Libraries; Market research; Measurement; Software engineering;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Clones (IWSC), 2015 IEEE 9th International Workshop on
Conference_Location
Montreal, QC
Type
conf
DOI
10.1109/IWSC.2015.7069885
Filename
7069885
Link To Document