Skip to content
SPECIFICTION
Get listed

CCFinderSW vs jscpd

CCFinderSW

github.com

jscpd

jscpd.dev

Side by side

FigureCCFinderSWjscpd
Price fromFreeFree
Free planYesYes
Free trial——
Open source—Yes
WindowsYesYes
macOS—Yes
Linux—Yes
API—Yes
Self-hosted—Yes
Plans published12
Spec score · Code Clone Detection Tools8.6 (#1)8.6 (#2)
Clone typesWithout a reserved-word list, the tool detects type 1 clones; with one, it detects type 1 and type 2 clones.It detects exact clones by default and offers opt-in detection for renamed, near-miss, and semantic clones; semantic detection is described as experimental.
LicenseThe repository license file includes the MIT License for CCFinderSW and a BSD 3-clause license for ANTLR components.The project and its published packages use the permissive MIT license.
PurposeCCFinderSW is a token-based code clone detection tool that detects similar code fragments and outputs clone pairs.jscpd scans source code for duplicate code and can fail a build when duplication exceeds a configured threshold.

Plans

CCFinderSW

  • CCFinderSWFree

CCFinderSW pricing →

jscpd

  • jscpdFree
  • jscpd open-source distributionFree

jscpd 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

jscpd

jscpd is a free, open-source tool for finding repeated code in repositories. It can fail a build when duplication exceeds a configured threshold, making it usable in local development and CI. The project says it supports 224 languages. Exact clones are detected by default, while renamed, near-miss, and semantic clone checks are optional; semantic detection is experimental.

Version 5 is available as a self-contained native binary that does not need Node.js, with direct macOS, Linux, and Windows binaries for x64 and ARM64. Reports include HTML, JSON, XML, README badges, SARIF, CodeClimate, and OpenMetrics. The GitHub Action can enforce a threshold and upload SARIF for GitHub Code Scanning, and GitLab CI reporters are documented. Developers can also use pre-commit hooks or Docker. A dashboard summarizes project size, duplication, complexity, dead code, and a health score. Dead-code analysis covers JavaScript, TypeScript, and Python, plus Rust when compiler diagnostics are supplied.

Visit jscpd.dev