Issue No. 09 - September (2007 vol. 33)
Brenda S. Baker , IEEE
An experiment was carried out by a group of scientists to compare different tools and techniques for detecting duplicated or near-duplicated source code. The overall comparative results are presented elsewhere. This paper takes a closer lookat the results for one tool, Dup, which finds code sections that are textually the same or the same except for systematic substitution of parameters such as identifiers and constants. Varous factors that influenced the results are identified and their impact on the results is assessed via rerunning Dup with changed options and modifications. These improve the performance of Dup with regard to the experiment, and could be incorporated into a postprocessor to be used with other tools.
Redundant code, duplicated code, softwareclones
B. S. Baker, "Finding Clones with Dup: Analysis of an Experiment," in IEEE Transactions on Software Engineering, vol. 33, no. , pp. 608-621, 2007.