You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide detailed steps for how we can reproduce the bug.
Linux version 0.01 was scanned using cpd via the CLI
~/Downloads/pmd-bin-6.22.0/bin/run.sh cpd --minimum-tokens 100 --files tvl2/projects/linux/systems/linux-0.01/code --language cpp --format xml --skip-lexical-errors > tvl2/linux.xml was run
Is that a bug? The follow blocks have different token numbers. What should be the correct one?
It seems like it is definitely a bug. The token count is different but the blocks are all identical. I'm assuming the correct token count is the highest and the rest should be ignored.
Affects PMD Version:
6.22.0+
7.0.0
Description:
When I ran a scan on Linux I received an XML file containing the same duplication block repeated multiple times
Code Sample demonstrating the issue:
Steps to reproduce:
Please provide detailed steps for how we can reproduce the bug.
~/Downloads/pmd-bin-6.22.0/bin/run.sh cpd --minimum-tokens 100 --files tvl2/projects/linux/systems/linux-0.01/code --language cpp --format xml --skip-lexical-errors > tvl2/linux.xml
was runRunning PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
CLI
The text was updated successfully, but these errors were encountered: