Index of every page on this site: llms.txt
All skills
kucherenko avatar

kucherenko/jscpd

Copy/paste detector for source code. 220+ languages, Rust engine, SARIF/HTML/badge reporters, GitHub Action, MCP server for AI agents.

master Updated 3 hours agoGitHub
README badge for kucherenko/jscpd

Repository statistics

  • Indexed skills

    5

  • Skill groups

    1

  • GitHub stars

    6,607

  • Forks

    276

5 total

Copy-paste detector for 220+ languages. Detect exact, renamed and near-miss duplicated code, measure duplication percentages, and find refactoring hotspots with the codebase summary.

Updated

Compare two folders function by function with jscpd --compare, in the same language or across languages, and explain the result. Use when asked how two codebases relate, which functions one implementation has and the other lacks, how far a port has come, whether the iOS and Android versions of an app match, or which function in one folder corresponds to a function in the other.

Updated

Guided workflow to eliminate copy-paste duplication detected by jscpd. Refactor exact, renamed and near-miss clones using extract function, parameterize, module, constant, or base class strategies, starting from the hotspots the summary ranks.

Updated

Move code from one implementation to another function by function, tests first and code second, and check two implementations of one app for parity, with jscpd --compare as the progress measure and a coverage map binding each function to its tests. Use when porting a library or app to another language or framework (Java to Kotlin, JavaScript to Rust, a Python library to TypeScript, an iOS app to Android), when asked what is left to port, or when comparing the Android and iOS versions of an app.

Updated

Three-part workflow to improve overall codebase health with jscpd — find and fix duplicated code, find and remove or refactor dead code, then find and simplify the largest/most complex files. Starts from --dashboard/--health to prioritize and ends by re-measuring the score.

Updated

The badge links readers to this page. It shows the skilld mark and no counts, and it follows the reader's light or dark GitHub theme.

<a href="https://skilld.dev/gh/kucherenko/jscpd"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://skilld.dev/b/kucherenko/jscpd?theme=dark"> <source media="(prefers-color-scheme: light)" srcset="https://skilld.dev/b/kucherenko/jscpd?theme=light"> <img alt="Skill repository on skilld.dev" src="https://skilld.dev/b/kucherenko/jscpd?theme=light"> </picture> </a>