Skip to content
SPECIFICTION
Get listed

CCFinderSW vs Duplo

CCFinderSW

github.com

Duplo

github.com

Side by side

FigureCCFinderSWDuplo
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOS—Yes
Linux—Yes
Plans published11
Spec score · Code Clone Detection Tools8.6 (#1)7.9 (#5)
LicenseThe repository license file includes the MIT License for CCFinderSW and a BSD 3-clause license for ANTLR components.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.
PurposeCCFinderSW is a token-based code clone detection tool that detects similar code fragments and outputs clone pairs.Duplo finds duplicated code blocks in large codebases.

Plans

CCFinderSW

  • CCFinderSWFree

CCFinderSW pricing →

Duplo

  • DuploFree

Duplo pricing →

In their own words

CCFinderSW

CCFinderSW is a free, open-source command-line tool that detects similar code pairs through token-based clone matching. It takes a source directory, a language, and an output file as command-line arguments. The default minimum clone-token threshold is 50 and can be changed with the -t argument. Output can use CCFinder, CCFinderX, CCFinderSW text, or JSON formats, and clone-pair results can be read by Gemini or CCFX. A comment rule file is required for the target language; a reserved-word list is optional but recommended. Without that list, the tool detects type 1 clones; with it, it detects type 1 and type 2 clones. It excludes pairs containing inserted or deleted sentences. The implementation is Java-only, and the project recommends Java 8 or later. Windows is the listed platform, with Windows 10 Pro named as its test environment. The repository offers a CCFinderSW-1.0.zip download and includes an MIT license for the project; bundled libraries use Apache License 2.0.

Visit github.com

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.

Visit github.com