CodeMatch vs Duplo
CodeMatch
safe-corp.comDuplo
github.comSide by side
| Figure | CodeMatch | Duplo |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Code Clone Detection Tools | 7.7 (#9) | 7.9 (#5) |
| Purpose | CodeMatch compares source code files across directories and subdirectories, ranking the most highly correlated file pairs to help locate possible plagiarism. | Duplo finds duplicated code blocks in large codebases. |
| Reports | CodeMatch creates a database exportable to an HTML summary report, with detailed HTML reports showing the statements, comments, strings, identifiers, or instruction sequences behind high correlations. | Duplo can output results as JSON or XML, and its XML can be displayed in a browser using an included stylesheet. |
| Support | The maker invites users to contact it if a needed programming language is not listed and says it will usually add support within days. | The maintainer asks users to open an issue for feedback, feature requests, and bug reports. |
Plans
In their own words
CodeMatch
CodeMatch is a Windows program from SAFE Corporation for comparing source-code files across two directories, including their subdirectories. It ranks file pairs by correlation scores from 0 to 100, helping an examiner reduce many combinations to a smaller review list. Its hybrid methods compare statements, comments and strings, instruction sequences, and identifiers. Reports can show the material behind high correlations in detailed HTML, while a database export can produce an HTML summary. SAFE lists languages including C, C++, C#, Java, JavaScript, Python, SQL, Swift, Verilog, and VHDL, and says requested languages can usually be added within days. The maker also describes uses such as finding open-source code in proprietary software, assessing common authorship, and identifying shared algorithms. A press release allows no-charge comparison of up to 1 megabyte of source code. CodeMatch assists expert review rather than precisely identifying plagiarism. It is paid, with a free plan and trial, but no CodeMatch price is listed.
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.