Duplo vs SourcererCC
Duplo
github.comSourcererCC
github.comSide by side
| Figure | Duplo | SourcererCC |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Code Clone Detection Tools | 7.9 (#5) | 6.6 (#22) |
| Spec score · Code Duplication Detection Tools | 7.9 (#5) | 6.6 (#12) |
| Language support | Built-in support includes C/C++, Java, C#, VB, GCC assembly, Ada, Erlang, TypeScript, and Swift. | The README says it can detect clones in any language, with tokenizer language settings and file extensions configured by the user. |
| License | Duplo is free software under the GNU General Public License version 2 or, at the user's option, any later version, and is provided without warranty. | The GitHub repository identifies its license as GPL-3.0. |
| Purpose | Duplo finds duplicated code blocks in large codebases. | SourcererCC is a token-based code clone detector for very large code bases and Internet-scale project repositories. |
| Support | The maintainer asks users to open an issue for feedback, feature requests, and bug reports. | The tutorial invites users to contact the team for technical help, including hardware performance tuning. |
Plans
In their own words
Duplo
Duplo is a free tool for locating duplicated source-code blocks in large codebases. It has built-in language support for C/C++, Java, C#, VB, GCC assembly, Ada, Erlang, TypeScript and Swift, and can also scan arbitrary text files, including for duplicates within one file. For supported languages, it can filter comments, preprocessor directives and other syntax before checking for repeated code. Files can be provided through standard input or a separate file list. Duplo produces text reports as well as JSON and XML output. The project describes XML reports as usable in continuous integration tools such as GitHub Actions and TeamCity, and links to a GitHub Actions extension that can fail a build when duplicates are found. That extension has settings for minimum duplicate lines, minimum line length and maximum files reported. Prebuilt binaries are available for Alpine Linux, macOS and Windows; it can also be built from source. Duplo is free under GNU GPL version 2 or later, and is provided without warranty.
SourcererCC
SourcererCC has no write-up on Specifiction yet; its figures are above.