Re: Hello need help

Jiří Kovalský <[email protected]> Wed, 04 Mar 2015 18:04:59 +0100
Newsgroups gmane.comp.java.netbeans.general
Message-ID <[email protected]>
Hello Johan,

    please forget about what I wrote you in my last e-mail. You don't=20
need any NetBeans plugin but follow this procedure instead:

1. Download PMD 4.2.6 [2] and extract it somewhere.
2. Open terminal and go to the directory where you extracted PMD tool.
3. Launch PMD Copy and Paste Detector [3].
4. Select "Root source directory" to location containing the sources you=20
want to analyze.
5. Set "Report duplicate chunks larger than:" value as needed.
6. Select desired programming language and push "OK" button.

[2]=20
https://sourceforge.net/projects/pmd/files/pmd/4.2.6/pmd-bin-4.2.6.zip/do=
wnload
[3] java -cp pmd-4.2.6.jar net.sourceforge.pmd.cpd.GUI

Hope this helps,
-Jirka

On 02/26/2015 02:07 AM, Imjohanl wrote:

> How to use PMD Copy/Paste Detector at netbean??
>
>> On Feb 26, 2015, at 01:14, Ji=C5=99=C3=AD Kovalsk=C3=BD <jiri.kovalsky=
@oracle.com> wrote:
>>
>> Hello John,
>>
>>    I have not tried it myself but take a look at PMD Copy/Paste Detect=
or [1]. It's not been updated for almost a year but certainly worth tryin=
g.
>>
>> [1] https://github.com/Chris2011/Nb-Pmd-Cpd
>>
>> Hope this helps,
>> -Jirka
>>
>>> On 02/25/2015 12:23 PM, Johan Limantono wrote:
>>>
>>> Hello can you help me? Do  you have plugin for detect code copy paste
>>> from another people?