DocumentCode
1593103
Title
A Mutation/Injection-Based Automatic Framework for Evaluating Code Clone Detection Tools
Author
Roy, Chanchal K. ; Cordy, James R.
Author_Institution
Sch. of Comput., Queen´´s Univ., Kingston, ON
fYear
2009
Firstpage
157
Lastpage
166
Abstract
In recent years many methods and tools for software clone detection have been proposed. While some work has been done on assessing and comparing performance of these tools, very little empirical evaluation has been done. In particular, accuracy measures such as precision and recall have only been roughly estimated, due both to problems in creating a validated clone benchmark against which tools can be compared, and to the manual effort required to hand check large numbers of candidate clones. In this paper we propose an automated method for empirically evaluating clone detection tools that leverages mutation-based techniques to overcome these limitations by automatically synthesizing large numbers of known clones based on an editing theory of clone creation. Our framework is effective in measuring recall and precision of clone detection tools for various types of fine-grained clones in real systems without manual intervention.
Keywords
software tools; code clone detection tools; fine-grained clones; mutation-based techniques; mutation-injection-based automatic framework; software clone detection; Cloning; Conferences; Genetic mutations; Humans; Infrared detectors; Particle measurements; Software systems; Software testing; Software tools; Time measurement; clone detection; empirical evaluation; mutation;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing, Verification and Validation Workshops, 2009. ICSTW '09. International Conference on
Conference_Location
Denver, CO
Print_ISBN
978-1-4244-4356-7
Type
conf
DOI
10.1109/ICSTW.2009.18
Filename
4976382
Link To Document