Ulli Hafner commented on Bug JENKINS-16688

Are these two screenshots from the same build? These warnings seem not to be correlated?

I think the following behavior makes sense:

  • the plug-in should count the number of warnings (regardless of the category) as the total number of duplicated blocks.
  • I.e. if we have one block in A3 and A12 and B3 duplicated, then the number of warnings is 1 for total, and 1 for file A and 1 for file B
  • This result should be shown in the Summary view
  • in the warnings details there should be one row for each duplication
  • I.e the "primary file and line" (as reported from CPD) is shown on the left, the duplications are shown on the right
  • If a duplication is in two files, then on the left only one file is shown

Does that make sense? If not can you please explain in more detail what you would like to expect? Maybe you can attach a cpd XML file that I can use a staring point for a unit test.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to