Duplo vs @kongyo2/similarity-ts
Duplo
github.com@kongyo2/similarity-ts
github.comSide by side
| Figure | Duplo | @kongyo2/similarity-ts |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| Plans published | 1 | 0 |
| Spec score · Code Clone Detection Tools | 7.9 (#5) | 6.9 (#19) |
| 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 repository identifies its license as MIT. |
| Purpose | Duplo finds duplicated code blocks in large codebases. | The project describes itself as a TypeScript-only similarity analyzer for detecting semantic code similarities. |
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.
@kongyo2/similarity-ts
@kongyo2/similarity-ts has no write-up on Specifiction yet; its figures are above.