Hi,
Lately I have been trying to find duplicates in my codebase with SonarQube 4.5.
For both C++ and Java projects.
However I don't really like the results. Although I don't get 'any' false positives, it does fail to detect quite some duplication.
- It only detects fairly large duplications (I would prefer 6 lines or more instead of 10 statements, or to be able to configure this)
- It only supports detection across multi-modules if the cross-project setting is on (however I don't want cross project, just cross subproject/module)
- It seems that for cross module detection you need to run analysis twice in a row to remove false positives (else when a duplicate is fixed, you get a duplicate on module A from B, while B does not raise a duplicate for A, since it was fixed)
My questions:
- Will it be possible to configure the duplication size in a future SonarQube ?
- Will there be an option to enable cross-module, but not cross-project detection in a future SonarQube ?
Regards,
Arjen