Providing a list of statements will be a bit more complex for a plugin but will lead to get less false-positives.
Use new extension point for cross project duplication detection
Cross project duplication detection for .Net
Cross project duplication detection for Flex
Remove the support of PMD CPD
Note that BlockChunker (algorithm to build blocks) should not depend on StatementChunker and should work for any unit of source code for which we can determine hash and position, e.g. Token.
This new API should also allow to override the number of lines of code to take into account when building blocks.
What's the status on this? Do we still need this evolution on the SQ platform or what language plugin get is enough?