Providing a list of statements will be a bit more complex for a plugin but will lead to get less false-positives.
Ability for a Sensor to provide duplication tokens
Cross project duplication detection for .Net
Use new extension point for cross project duplication detection
Cross project duplication detection for Flex
Deprecate CPDMapping extension point
Remove the support of PMD CPD
Allow language plugins to provide tokens used by CPD in a single pass
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?