A Survey on Software Clone Detection Research (2007)
Cached
Download Links
| Venue: | SCHOOL OF COMPUTING TR 2007-541, QUEEN’S UNIVERSITY |
| Citations: | 32 - 7 self |
BibTeX
@ARTICLE{Roy07asurvey,
author = {Chanchal Kumar Roy and James R. Cordy},
title = {A Survey on Software Clone Detection Research},
journal = {SCHOOL OF COMPUTING TR 2007-541, QUEEN’S UNIVERSITY},
year = {2007},
volume = {115}
}
OpenURL
Abstract
Code duplication or copying a code fragment and then reuse by pasting with or without any modifications is a well known code smell in software maintenance. Several studies show that about 5 % to 20 % of a software systems can contain duplicated code, which is basically the results of copying existing code fragments and using then by pasting with or without minor modifications. One of the major shortcomings of such duplicated fragments is that if a bug is detected in a code fragment, all the other fragments similar to it should be investigated to check the possible existence of the same bug in the similar fragments. Refactoring of the duplicated code is another prime issue in software maintenance although several studies claim that refactoring of certain clones are not desirable and there is a risk of removing them. However, it is also widely agreed that clones should at least be detected. In this paper, we survey the state of the art in clone detection research. First, we describe the clone terms commonly used in the literature along with their corresponding mappings to the commonly used clone types. Second, we provide a review of the existing







