Property | Type | Description | |
---|---|---|---|
$progressBar | |||
$strategy |
Method | Description | |
---|---|---|
__construct ( |
||
copyPasteDetection ( Iterator | array $files, integer $minLines = 5, integer $minTokens = 70, boolean $fuzzy = false ) : |
Copy & Paste Detection (CPD). |
public __construct ( |
||
$strategy | ||
$progressBar |
public copyPasteDetection ( Iterator | array $files, integer $minLines = 5, integer $minTokens = 70, boolean $fuzzy = false ) : |
||
$files | Iterator | array | List of files to process |
$minLines | integer | Minimum number of identical lines |
$minTokens | integer | Minimum number of identical tokens |
$fuzzy | boolean | |
return | Map of exact clones found in the list of files |
protected ProgressBar,Symfony\Component\Console\Helper $progressBar | ||
return |