Sciweavers

ISESE
2005
IEEE

Cloning by accident: an empirical study of source code cloning across software systems

13 years 9 months ago
Cloning by accident: an empirical study of source code cloning across software systems
One of the key goals of open source development is the sharing of knowledge, experience, and solutions that pertain to a software system and its problem domain. Source code cloning is one way in which expertise can be reused across systems; cloning is known to have been used in several open source projects, such as the SCSI drivers of the Linux kernel [16]. In this paper, we discuss two case studies in which we performed clone detection on several open source systems within the same domain. In the first case study we examined nine text editors written in C, and in the second study we examined eight X-Windows window managers written in C and C++. To our surprise, we found little evidence of "true" cloning activity, but we did notice a significant number of "accidental" clones --- that is, code fragments that are similar due to the precise protocols they must use when interacting with a given API or set of libraries. We further discuss the nature of "true" ...
Raihan Al-Ekram, Cory Kapser, Richard C. Holt, Mic
Added 25 Jun 2010
Updated 25 Jun 2010
Type Conference
Year 2005
Where ISESE
Authors Raihan Al-Ekram, Cory Kapser, Richard C. Holt, Michael W. Godfrey
Comments (0)