FICHA · AUR

phpcpd

Copy/Paste Detector (CPD) for PHP code.

  • Code analysis tool
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · Jun 3, 2026 description in en

Description

PHP codebases can be scanned for duplicated blocks that may need refactoring. This command-line copy-paste detector helps maintainers find repeated source code across project directories. It is run from a terminal with the phpcpd command. Results depend on thresholds and source selection, and reports can disclose private code structure when shared.

How to run

phpcpd

Commands: phpcpd

Permissions

Permissions not analysed for this source yet.