jscpd vs SourcererCC
jscpd
jscpd.devSourcererCC
github.comSide by side
| Figure | jscpd | SourcererCC |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 0 |
| Spec score · Code Clone Detection Tools | 8.6 (#2) | 6.6 (#22) |
| Spec score · Code Duplication Detection Tools | 8.5 (#2) | 6.6 (#12) |
| Languages | The site says jscpd supports 224 languages. | The tokenizer can be configured with language comment syntax and a list of file extensions to analyze. |
| License | The project and its published packages use the permissive MIT license. | The GitHub repository identifies its license as GPL-3.0. |
| Purpose | jscpd scans source code for duplicate code and can fail a build when duplication exceeds a configured threshold. | SourcererCC is a token-based code clone detector for very large code bases and Internet-scale project repositories. |
Plans
In their own words
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.
SourcererCC
SourcererCC has no write-up on Specifiction yet; its figures are above.