DESCRIPTION

phpcpd 2.0.1 by Sebastian Bergmann.

Usage:

  • phpcpd [--names="..."] [--names-exclude="..."] [--exclude="..."] [--log-pmd="..."] [--min-lines="..."] [--min-tokens="..."] [--fuzzy] [--progress] [values1] ... [valuesN]

Arguments:

values

Files and directories to analyze

OPTIONS

--names

A comma-separated list of file names to check (default: ["*.php"])

--names-exclude

A comma-separated list of file names to exclude

--exclude

Exclude a directory from code analysis (must be relative to source) (multiple values allowed)

--log-pmd

Write result in PMD-CPD XML format to file

--min-lines

Minimum number of identical lines (default: 5)

--min-tokens

Minimum number of identical tokens (default: 70)

--fuzzy

Fuzz variable names

--progress

Show progress bar

--help (-h)

Display this help message.

--quiet (-q)

Do not output any message. --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

--version (-V)

Display this application version.

--ansi

Force ANSI output.

--no-ansi

Disable ANSI output. --no-interaction (-n) Do not ask any interactive question.