
kucherenko/jscpd
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
쿠체렌코/JSCPD는 https://github.com/kucherenko/jscpd.에서 수입된 에이전트 스킬 후보자입니다.
개요
쿠체렌코/JSCPD는 https://github.com/kucherenko/jscpd.에서 수입된 에이전트 스킬 후보자입니다.
개요(AI 번역)
220+ 언어용 중복 코드 탐지기 — 죽은 코드, 복잡도 핫스팟, git 이력 내 중복 및 건강 추세, 전체 코드베이스에 대한 하나의 건강 점수. Rust 엔진, 자체 완결형 이진, AI 지원, MCP 서버와 토큰 효율적인 리포터.
jscpd는 224가지 지원되는 각 형식을 언어가 정의하는 방식에 따라 토큰화합니다 — 자체 주석 및 문자열 규칙, 일반 텍스트가 아닌 — 그리고 롤링 Rabin-Karp 해시를 가진 파일 간에 중복된 토큰 시퀀스를 찾습니다. 옵트인 패스는 이름이나 값만 다른 복사본(Type-2)이나 몇 줄만 편집된 복사본(Type-3)을 포착하며, 실험 방식은 같은 기능을 다르게 작성하는 함수(Type-4)에 대해 코드 임베딩 모델을 사용합니다. 전체 메커니즘은 How detection works를, 전체 목록은 Supported formats를 참조하세요.
중복 외에도, jscpd는 죽은 코드를 찾아내고(--dead-code), 복잡도별로 파일을 순위 매기며(--complexity), git 이력에서 중복과 건강 상태를 추적하며(--history), 그리고 모든 것을 하나의 건강 점수(--health)로 통합합니다 — 아래 특징 참조.
퀵 스타트
그다음 프로젝트를 스캔하세요:
기타 설치 방법
| 방법 | 명령 | 주석 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
jscpd
Duplicate code detector for 220+ languages — plus dead code, complexity hotspots, duplication and health trends over git history, and one health score for the whole codebase. Rust engine, self-contained binary, AI-ready with an MCP server and a token-efficient reporter.
Documentation: https://jscpd.dev
jscpd tokenizes each of its 224 supported formats the way that language defines it — its own comment and string rules, not generic text — then finds duplicated token sequences across files with a rolling Rabin-Karp hash. Opt-in passes catch copies that differ only in names or values (Type-2) or that have a few edited lines (Type-3), and an experimental one uses a code embedding model for functions that do the same thing written differently (Type-4). See How detection works for the full mechanism, and Supported formats for the full list.
Beyond duplicates, jscpd also finds dead code (--dead-code), ranks files by complexity (--complexity), tracks duplication and health over git history (--history), and rolls it all into one health score (--health) — see Features below.
Quick Start
# macOS / Linux
curl -fsSL https://jscpd.dev/install.sh | bash
# Windows (PowerShell)
irm https://jscpd.dev/install.ps1 | iex
# No install — run once with npx (Node.js)
npx jscpd .
Then scan a project:
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add kucherenko/jscpd