International Workshop on Software Clones · 2012 · 21 citations · 14 references
EngineeringSimilarity MeasureMolecular BiologyData DeduplicationGenomicsSequence AlignmentString-searching AlgorithmData ScienceData MiningString ProcessingBiostatisticsSource CodeMetric TreesMetric TreeKnowledge DiscoveryComputer ScienceFunctional GenomicsBioinformaticsContent Similarity DetectionSoftware TestingComputational BiologyAccurate EstimationManhattan DistanceMedicineSimilarity SearchWasserstein Distance
This paper presents an original clone detection technique which is an accurate approximation of the Levenshtein distance. It uses groups of tokens extracted from source code called windowed-tokens. From these, frequency vectors are then constructed and compared with the Manhattan distance in a metric tree. The goal of this new technique is to provide a very high precision clone detection technique while keeping a high recall. Precision and recall measurement is done with respect to the Levenshtein distance. The testbench is a large scale open source software. The collected results proved the technique to be fast, simple, and accurate. Finally, this article presents further research opportunities.
14
M-tree: An Efficient Access Method for Similarity Search in Metric Spaces
Paolo Ciaccia, Marco Patella, Pavel Zezula · 1997 · 1.5K citations
Clone detection using abstract syntax trees
Ira D. Baxter, A. Yahin, Leonardo de Moura et al. · 2002 · 1.3K citations
A Survey on Software Clone Detection Research
Chanchal K. Roy, James R. Cordy · 2007 · 708 citations