Skip to content
SPECIFICTION
Get listed

dcd vs jscpd

dcd

github.com

jscpd

jscpd.dev

Side by side

Figuredcdjscpd
Price fromFreeFree
Free planYesYes
Free trial——
Open source—Yes
Windows—Yes
macOSYesYes
LinuxYesYes
API—Yes
Self-hosted—Yes
Plans published22
Spec score · Code Duplication Detection Tools7.8 (#6)8.5 (#2)
Spec score · Code Clone Detection Tools7.8 (#8)8.6 (#2)
LicenseThe project is licensed under the GNU Affero General Public License 3.0.The project and its published packages use the permissive MIT license.
Purposedcd is a duplicate code detector designed to identify duplicate code within a project.jscpd scans source code for duplicate code and can fail a build when duplication exceeds a configured threshold.

Plans

dcd

  • dcdFree
  • Priority supportPrice not published

dcd pricing →

jscpd

  • jscpdFree
  • jscpd open-source distributionFree

jscpd pricing →

In their own words

dcd

dcd has no write-up on Specifiction yet; its figures are above.

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