On this page you find all important commands for the CLI tool phpcpd. If the
command you are looking for is missing please ask our AI.
phpcpd
phpcpd is a Copy/Paste Detector (CPD) for PHP code.
List of commands for phpcpd:
-
phpcpd:tldr:1eb30 phpcpd: Specify a minimum number of identical lines (defaults to 5).$ phpcpd --min-lines ${number_of_lines} ${filename_or_directory}try on your machineexplain this command
-
phpcpd:tldr:41ba9 phpcpd: Analyze duplicated code for a specific file or directory.$ phpcpd ${filename_or_directory}try on your machineexplain this command
-
phpcpd:tldr:4afce phpcpd: Exclude a directory from analysis (must be relative to the source).$ phpcpd --exclude ${path-to-excluded_directory} ${filename_or_directory}try on your machineexplain this command
-
phpcpd:tldr:5aa61 phpcpd: Output the results to a PHP-CPD XML file.$ phpcpd --log-pmd ${path-to-log_file} ${filename_or_directory}try on your machineexplain this command
-
phpcpd:tldr:6ff4b phpcpd: Analyze using fuzzy matching for variable names.$ phpcpd --fuzzy ${filename_or_directory}try on your machineexplain this command
-
phpcpd:tldr:b3cc1 phpcpd: Specify a minimum number of identical tokens (defaults to 70).$ phpcpd --min-tokens ${number_of_tokens} ${filename_or_directory}try on your machineexplain this command