DOKK / manpages / debian 10 / phpcpd / phpcpd.1.en
PHPCPD(1) User Commands PHPCPD(1)

phpcpd - PHPCPD command line interface

phpcpd [options] [--] [<values>]...

Copy and paste detector (CPD) for PHP code. This tool provides details about duplicated lines inside a PHP project.

Files and directories to analyze

A comma-separated list of file names to check [default: ["*.php"]]
A comma-separated list of file names to exclude
A comma-separated list of paths regexps to exclude (example: "#var/.*_tmp#")
Exclude a directory from code analysis (must be relative to source) (multiple values allowed)
Write result in PMD-CPD XML format to file
Minimum number of identical lines [default: 5]
Minimum number of identical tokens [default: 70]
Fuzz variable names
Show progress bar
Display this help message
Do not output any message
Display this application version
Force ANSI output
Disable ANSI output
Do not ask any interactive question
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
September 2018 phpcpd 4.1.0