Duplo vs semdup
Duplo
github.comsemdup
github.comSide by side
| Figure | Duplo | semdup |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Code Clone Detection Tools | 7.9 (#5) | 6.9 (#21) |
| Caveat | The license section says Duplo is provided without warranty, including implied warranties of merchantability or fitness for a particular purpose. | The project says it is still young, may have bugs, and can produce false positives because it uses fuzzy search. |
| 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 project is available under either the MIT or Apache-2.0 license. |
| Purpose | Duplo finds duplicated code blocks in large codebases. | Semdup detects near-duplicate code by comparing semantic meanings rather than token sequences. |
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.