art-dupl vs jscpd
art-dupl
art-dupl.lars.softwarejscpd
jscpd.devSide by side
| Figure | art-dupl | jscpd |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 2 |
| Spec score · Code Duplication Detection Tools | 7.3 (#11) | 8.5 (#2) |
| Spec score · Code Clone Detection Tools | 7.2 (#16) | 8.6 (#2) |
| License | The project is licensed under MIT. | The project and its published packages use the permissive MIT license. |
| Maker | The repository is under the LarsArtmann account. | The site credits Andrey Kucherenko and contributors; it does not state a headquarters or founding year in the pages opened. |
| Purpose | art-dupl detects source-code duplication at the AST level to identify fixable clones. | jscpd scans source code for duplicate code and can fail a build when duplication exceeds a configured threshold. |
| Reports | Output formats include text, rich text, HTML, JSON, Simple JSON, SARIF, and plumbing. | Reporters include HTML, JSON, XML, README badges, SARIF, CodeClimate, and OpenMetrics formats. |
Plans
In their own words
art-dupl
art-dupl has no write-up on Specifiction yet; its figures are above.
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.