Skip to content
SPECIFICTION
Get listed

Duplo vs NiCad

Duplo

github.com

NiCad

github.com

Side by side

FigureDuploNiCad
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hosted—Yes
Plans published11
Spec score · Code Clone Detection Tools7.9 (#5)7.7 (#10)
Spec score · Code Duplication Detection Tools7.9 (#5)7.7 (#7)
LicenseDuplo 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 uses an MIT-style license permitting use, modification, distribution, sublicensing, and sale subject to its stated conditions.
PurposeDuplo finds duplicated code blocks in large codebases.NiCad is a near-miss source code clone detection system.
ReportsDuplo can output results as JSON or XML, and its XML can be displayed in a browser using an included stylesheet.Results include clone pairs and clone classes in XML-like formats, with optional browsable HTML reports.
SupportThe maintainer asks users to open an issue for feedback, feature requests, and bug reports.The repository's Issues page currently shows no open issues and says issue creation is restricted.

Plans

Duplo

  • DuploFree

Duplo pricing →

NiCad

  • Free and open sourceFree

NiCad pricing →

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.

Visit github.com

NiCad

NiCad is a near-miss source code clone detection system for finding similar fragments in a repository. It can analyze code at file, function, or block granularity. Included language plugins cover C, C#, Java, Python, PHP, Ruby, WSDL, and ATL; plugins for other languages can be added when a TXL grammar is available. Configuration files let users tailor renaming, filtering, abstraction, and normalization before comparison. Results include clone pairs and clone classes in XML-like formats, with optional browsable HTML reports. The default near-miss difference threshold is 0.30; a setting of 0.00 means exact clones. NiCadCross can report fragments from one system that also appear as clones in a second. The software is free under an MIT-style license, with stated conditions for use, modification, distribution, sublicensing, and sale. It runs on Linux, macOS, and Windows and can be run from its directory for personal use or installed system-wide. NiCad 7.0 requires OpenTxl 11 or later; building comparison tools requires Turing+ 6.2 or later.

Visit github.com