Currently, the standard detection mechanism allows to detect copy-paste inside a module, but not accros modules of the same project. For this, the user has to activate the "Cross-project Duplication" feature - which is in fact badly named.
To clarify all this:
- Standard CPD detection should occur inside a project, which implies to make detection happen accros multiple modules of the same project
- Cross-project detection should occur between projects
What's more, to better materialise this difference, there should probably be different metrics for this 2 different kind of duplications.