This task runs phpcpd, a Copy/Paste Detector (CPD) for PHP Code. You need an installed version of this software to use this task.
Table 129. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
file |
String |
Path to source file or path | n/a | Only when there are no nested
fileset elements
|
minTokens |
Integer |
Sets the minimum number of identical tokens (default: 70) | 70 | No |
minLines |
Integer |
Sets the minimum number of identical lines (default: 5) | 5 | No |
format |
String |
The format for the report when no nested formatter is used. | default | No |