-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 1.498
Duplicate Code Scanner Plug-in 2.33
If CPD reports same duplication in different files Jenkins shows this duplication only in one of this files. This behavior confuses our developers so much that they prefer not to use this, nevertheless great, plugin any longer.
Please have a look at attachment.
For file B.cpp "Summary" in B.jpg shows a total of 3 duplications but in "Details" there is only one. For users it is hard to find the two other duplications if the project consists of many source files.
I assume this behavior has something to to with JENKINS-12738 and JENKINS-11376.
Therefore I´m not sure if this issue is a "Bug" or an "Improvement"
Is it possible to display same duplicates in report of all related files?
Or at least have a check-box which toggles behavior introduced in version 2.31?
- is related to
-
JENKINS-12738 Dry Plugin reports code duplicates twice
- Resolved
-
JENKINS-11376 Don't output multiple warnings for duplicated code
- Resolved
-
JENKINS-17958 Code duplication pairs not correcty mapped. A in B is correctly shown, but B in A stays empty. Simian
- Resolved