[
https://issues.jenkins-ci.org/browse/JENKINS-12738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158988#comment-158988
]
Kumar n commented on JENKINS-12738:
-----------------------------------
here are the lines from cpd.xml: they show there are no multiple warnings:
..............
.............
<duplication lines="155" tokens="1205">
<file line="2995" path="C:\Program Files
(x86)\Jenkins\jobs\RasterLib\workspace\hpldrlgl\library\Src\job.cpp"/>
<file line="3612" path="C:\Program Files
(x86)\Jenkins\jobs\RasterLib\workspace\hpldrlgl\library\Src\job.cpp"/>
<codefragment>
....
...
</codefragment>
<duplication lines="99" tokens="468">
<file line="3166" path="C:\Program Files
(x86)\Jenkins\jobs\RasterLib\workspace\hpldrlgl\library\Src\job.cpp"/>
<file line="3836" path="C:\Program Files
(x86)\Jenkins\jobs\RasterLib\workspace\hpldrlgl\library\Src\job.cpp"/>
<codefragment>
....
....
</codefragment>
> Dry Plugin reports code duplicates twice
> ----------------------------------------
>
> Key: JENKINS-12738
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12738
> Project: Jenkins
> Issue Type: Bug
> Components: dry
> Environment: Win-7
> Reporter: Kumar n
> Assignee: Ulli Hafner
> Labels: plugin
> Attachments: duplicate.PNG
>
>
> I have used CPD to detect duplicate codes in my project and Dry plugin is
> used. The plugin is reporting the duplicate codes , but it reports twice for
> a duplicate code-snippet. I have attached the screenshot of our files
> reported. Please let me know is this the expected behaviour or it needs any
> correction. But I feel this is somewhat not an expected behavior and needs
> your attention.
> Thanks,
> Santosh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira