Issue No.09 - September (2007 vol.33)
Rainer Koschke , IEEE Computer Society
Giulio Antoniol , IEEE
Jens Krinke , IEEE Computer Society
Ettore Merlo , IEEE
Many techniques for detecting duplicated source code (software clones) have been proposed in the past. However, it is not yet clear how these techniques compare in terms of recall and precision as well as space and time requirements. This paper presents an experiment that evaluates six clone detectors based on eight large C and Java programs (altogether almost 850 KLOC). Their clone candidates were evaluated by one of the authors as independent third party. The selected techniques cover the whole spectrum of the state-of-the-art in clone detection. The techniques work on text, lexical and syntactic information, software metrics, and program dependency graphs.
Redundant code, duplicated code, software clones
Stefan Bellon, Rainer Koschke, Giulio Antoniol, Jens Krinke, Ettore Merlo, "Comparison and Evaluation of Clone Detection Tools", IEEE Transactions on Software Engineering, vol.33, no. 9, pp. 577-591, September 2007, doi:10.1109/TSE.2007.70725