Krinke, J;
Gold, N;
Jia, Y;
Binkley, D;
(2010)
Distinguishing copies from originals in software clones.
In:
(pp. pp. 41-48).
![]() Preview |
PDF
191972.pdf Available under License : See the attached licence file. Download (201kB) |
Abstract
Cloning is widespread in today's systems where automated assistance is required to locate cloned code. Although the evolution of clones has been studied for many years, no attempt has been made so far to automatically distinguish the original source code leading to cloned copies. This paper presents an approach to classify the clones of a clone pair based on the version information available in version control systems. This automatic classification attempts to distinguish the original from the copy. It allows for the fact that the clones may be modified and thus consist of lines coming from different versions. An evaluation, based on two case studies, shows that when comments are ignored and a small tolerance is accepted, for the majority of clone pairs the proposed approach can automatically distinguish between the original and the copy. © 2010 ACM.
Type: | Proceedings paper |
---|---|
Title: | Distinguishing copies from originals in software clones |
ISBN-13: | 9781605589800 |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1145/1808901.1808907 |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/191972 |




Archive Staff Only
![]() |
View Item |