jscpd

jscpd is a software tool that supports over 220 programming languages and detects duplicates in source code. Thanks to the Rust engine that uses the Rabin-Karp algorithm, it scans between files based on tokens. It offers additional features such as dead code detection, complexity sequencing, git history tracking, and codebase health score calculation.

JS

jscpd

New80

kucherenko · Code Quality & Review

STARS6.5K
FORKS272
COMMITS0
CONTRIBUTORS0
VERSIONv5.4.0
UPDATEDtoday
RustDuplicate DetectorMCP ServerGitHub ActionMIT

Common commercial products in this category: SonarCloud, Codacy, DeepSource

What can it do?
  • You detect repetitive structures in the codebase and duplicated code blocks.
  • You watch code proliferation trends and project health score over go history.
  • By creating SARIF or HTML reports, you integrate the results into the CI processes.
User reviews
  • • NeutralGitHub Issue

    Out of memory error

    “``` dougwade main/corvair ‹dbw-test-gulp-generate-components*› » jscpd -e target/ -e node_modules/ info: jscpd - copy/paste detector for programming source code, developed by Andrey Kucherenko info: Preprocessors running time: durationMs=12123 info: Scanning 37213 files for…”

  • ↓ NegativeGitHub Issue

    .jscpd.json does not ignore file(s)

    “**Describe the bug** Created _.jscpd.json_ file in the project root as it is described [here]( In the section "ignore" left only ```"**/*.md"``` Still getting [failure]( with error message ```ERROR: jscpd found too many duplicates (35.55%) over threshold (0%)``` **To Reproduce**…”

My note

Alternative pages

More in: Code Quality & Review