Detect duplicated code across many formats to improve code quality and refactoring.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "jscpd" yet — see the docs or source repo.
Use jscpd to scan the current repository for duplicated code, and report the files with the highest duplication, duplicate block locations, and an overall duplication summary.
A duplication report with duplication rate, affected files, and key duplicate block locations.
Use jscpd to check the code touched by this change. If duplication exceeds 5%, identify the problem files clearly and suggest refactoring actions to reduce duplication.
A review-focused result stating whether the threshold is exceeded, plus actionable refactoring suggestions.
Use jscpd to run a unified duplication audit on a repository containing frontend, backend, and config files. Summarize duplication by language or file type and highlight the highest-priority areas to fix.
Duplication analysis grouped by language or format, along with a clear prioritized remediation list.
Analyze, match, and transform code structures across multiple programming languages.
Quickly find project code snippets with automatic language detection.
Read files paginated and search codebases with regex to find code fast.
Review code diffs for bugs, security risks, and generate fixes.
Search codebases semantically and find relevant snippets with source locations.
Run multi-model code reviews to surface bugs, security risks, and improvements.