- Home
- Code Duplication Detection Tools
- SourcererCC
On the recordRead 9 Oct 202619 facts
SourcererCC
On the record
- Detection scope
- It can detect clones between files, methods, statements, or blocks, in any language.github.com · read 9 Oct 2026
- DéjàVu
- The project says SourcererCC supports DéjàVu, a large-scale study of code cloning on GitHub, and describes DéjàVu as a web tool for clone analysis.github.com · read 9 Oct 2026
- File size bounds
- The documented file-level clone detection configuration ignores files below 65 tokens or above 500000 tokens by default.github.com · read 4 Oct 2026
- Getting started
- The project provides a virtual machine with instructions and programs for processing source code into a database with clone mappings.github.com · read 9 Oct 2026
- Granularity
- It can detect clones between files, methods, statements, or blocks.github.com · read 4 Oct 2026
- Input preparation
- Source code must first be tokenized, and the documented tokenizer accepts configured file extensions and project paths.github.com · read 4 Oct 2026
- Input size limits
- The documented configuration ignores files below 65 tokens or above 500,000 tokens.github.com · read 9 Oct 2026
- Languages
- The tokenizer can be configured with language comment syntax and a list of file extensions to analyze.github.com · read 9 Oct 2026
- Language support
- The README says it can detect clones in any language, with tokenizer language settings and file extensions configured by the user.github.com · read 4 Oct 2026
- License
- The GitHub repository identifies its license as GPL-3.0.github.com · read 9 Oct 2026
- Notable platform limit
- The README says the tokenizer's multiprocessing features do not work on Macs with Python versions later than 3.6 and recommends avoiding Mac for this workflow.github.com · read 4 Oct 2026
- Parallel processing
- The tool splits clone detection across multiple nodes, whose output must be aggregated.github.com · read 9 Oct 2026
- Platform limitation
- The tutorial says the tokenizer requires Python 3.6 on Mac because later versions have multiprocessing incompatibilities.github.com · read 9 Oct 2026
- Processing
- Source code must be tokenized before SourcererCC runs, and the repository provides a tokenizer for that step.github.com · read 9 Oct 2026
- Purpose
- SourcererCC is a token-based code clone detector for very large code bases and Internet-scale project repositories.github.com · read 9 Oct 2026
- Similarity threshold
- The documented default flags clones at 80% similarity, and the threshold can be changed.github.com · read 9 Oct 2026
- Support
- The tutorial invites users to contact the team for technical help, including hardware performance tuning.github.com · read 9 Oct 2026
- VM artifact
- The project describes a virtual machine artifact with pre-programmed steps from raw source code to a database with clone mappings and says it is an easy way to get started.github.com · read 4 Oct 2026