Index-based code clone detection: incremental, distributed, scalable
Benjamin Hummel, Elmar Juergens, Lars Heinemann et al. · Proceedings/Proceedings - Conference on Software Maintenance · 2010
Although numerous different clone detection approaches have been proposed to date, not a single one is both incremental and scalable to very large code bases. They thus cannot provide real-time cloning information for clone management of very large systems. We present a novel, index-based clone detection algorithm for type 1 and 2 clones that is both incremental and scalable. It enables a new generation of clone management tools that provide real-time cloning information for very large software. We report on several case studies that show both its suitability for real-time clone detection and its scalability: on 42 MLOC of Eclipse code, average time to retrieve all clones for a file was below 1 second; on 100 machines, detection of all clones in 73 MLOC was completed in 36 minutes.
Cited by 144 works. doi:10.1109/icsm.2010.5609665
Authors
References
- The Art of Computer Programming
- The MD5 Message-Digest Algorithm
- The MD5 Message-Digest Algorithm
- Dynamo
- Bigtable
- CCFinder: a multilinguistic token-based code clone detection system for large scale source code
- Clone detection using abstract syntax trees
- On finding duplication and near-duplication in large software systems
- MapReduce
- Experiment on the automatic detection of function clones in a software system using metrics