sebastianbergmann/phpcpd
Copy/Paste Detector (CPD) for PHP code. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6430
- days_rel: n/a
- days_push: 1331
- n_releases_24m: 0
Adoption not part of the score
2209 stars · 189 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PHPCPD is a Copy/Paste Detector command-line tool for PHP code that identifies duplicated lines and clone classes across a codebase. It is distributed as a PHAR and is now archived and no longer maintained.
Use cases
- find duplicated code in a php project
- detect copy-pasted functions across files
- measure code duplication percentage in ci
- refactor repeated code blocks in php
- audit legacy php codebase for clones
When to choose
- you need a simple, fast duplication detector for PHP
- you want a standalone PHAR with no Composer dependency
- you are okay using an unmaintained but stable tool
When to avoid
- you need actively maintained tooling or support for modern PHP versions
- you need multi-language duplication detection
- you want integration with newer static analysis pipelines
Facets
cli-tool · maturity abandoned
developer-tools code-review linter developer-tools testing cli php cross-platform code-duplication copy-paste-detection static-analysis php command-line
1 source
- readme: https://github.com/sebastianbergmann/phpcpd · fetched 2026-08-28 · 388b007b42ef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sebastianbergmann/phpcpd | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="sebastianbergmann/phpcpd")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem