.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH PHPCPD "1" "March 2024" "phpcpd 7.0.0~git20230110" "User Commands" .SH NAME phpcpd - PHPCPD command line interface .SH SYNOPSIS .B phpcpd [\fI\,options\/\fR] \fI\,\/\fR .SH DESCRIPTION Copy and paste detector (CPD) for PHP code. This tool provides details about duplicated lines inside a PHP project. .PP Options for selecting files: .TP \fB\-\-suffix\fR Include files with names ending in in the analysis (default: .php; can be given multiple times) .TP \fB\-\-exclude\fR Exclude files with in their path from the analysis (can be given multiple times) .PP Options for analysing files: .TP \fB\-\-fuzzy\fR Fuzz variable names .TP \fB\-\-min\-lines\fR Minimum number of identical lines (default: 5) .TP \fB\-\-min\-tokens\fR Minimum number of identical tokens (default: 70) .TP \fB\-\-algorithm\fR Select which algorithm to use ('rabin\-karp' (default) or 'suffixtree') .HP \fB\-\-edit\-distance\fR Distance in number of edits between two clones (only for suffixtree; default: 5) .HP \fB\-\-head\-equality\fR Minimum equality at start of clone (only for suffixtree; default 10) .PP Options for report generation: .TP \fB\-\-log\-pmd\fR Write log in PMD\-CPD XML format to