dcd vs Duplo
dcd
github.comDuplo
github.comSide by side
| Figure | dcd | Duplo |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 2 | 1 |
| Spec score · Code Duplication Detection Tools | 7.8 (#6) | 7.9 (#5) |
| Spec score · Code Clone Detection Tools | 7.8 (#8) | 7.9 (#5) |
| License | The project is licensed under the GNU Affero General Public License 3.0. | 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. |
| Purpose | dcd is a duplicate code detector designed to identify duplicate code within a project. | Duplo finds duplicated code blocks in large codebases. |
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.