macOS
brew install jscpdlocal Homebrew formula metadata
安装
brew install jscpdlocal Homebrew formula metadata
sudo apk add cpdAlpine Linux edge package indexes · cpd · 来源: dl-cdn.alpinelinux.org
概览
Copy/paste detector for programming source code
历史
jscpd is a copy/paste detector for source code. It scans files for duplicated token sequences, reports clones in multiple formats, and is used as a code-quality gate in local development and CI.
The GitHub repository was created in May 2013, and the npm package history begins in June 2013. The name originally stood for JavaScript Copy/Paste Detector, but the project expanded well beyond JavaScript into a broad multi-language duplicate-code scanner.
The README describes the detection engine as Rabin-Karp based. By 2026 the project documentation described support for more than 220 formats, multiple reporters, GitHub Action integration, an MCP server, AI-oriented reporter output, and a Rust-powered v5 engine.
jscpd gained adoption as a lightweight alternative to heavier static-analysis suites for teams that wanted to fail builds or generate reports when duplication crossed a threshold. The npm package had a long 0.x to 4.x TypeScript/Node.js history before the 5.x Rust-native release line appeared in June 2026.
Homebrew packages jscpd as a CLI, npm distributes it for JavaScript toolchains, and the project site promotes curl, npm, cargo, brew, and nix installation paths. That multi-channel distribution matches its role as a language-agnostic source-code utility.
Developers run jscpd against a repository or source directory, tune thresholds and ignore patterns through configuration such as .jscpd.json, and consume terminal, JSON, HTML, badge, CI, or AI-oriented reports.
jscpd is notable because duplicate-code detection sits between linting, static analysis, and build policy. The 2026 Rust rewrite also makes it a packaging case study: a Node-era CLI kept its ecosystem-facing package names while shifting core performance-sensitive work into a native binary.
安全态势
没有找到 jscpd 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.jscpd.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cpd | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jscpd | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jscpd |
|---|---|
| 版本 | 5.0.14 |
| 软件包管理器 | Homebrew |
| 主页 | https://jscpd.dev/ |
| 仓库 | https://github.com/kucherenko/jscpd |
| 最后更新 | 2026-07-27T12:42:02Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cpd 0.5.5-r1
C++ implementation of the Coherent Point Drift point set registration algorithm.
https://github.com/gadomski/cpd
sudo apk add cpdcpd-dev 0.5.5-r1
C++ implementation of the Coherent Point Drift point set registration algorithm. (development files)
https://github.com/gadomski/cpd
sudo apk add cpd-dev来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.