forked from phoedos/pmd
updated cpd page
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@647 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -7,9 +7,17 @@
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
<section name="Copied and pasted code">
|
||||
<p>But it can be hard to find, especially in a large project. So we wrote a utility to
|
||||
find it for us.</p>
|
||||
<section name="Copied and pasted code is usually bad">
|
||||
<p>But it can be hard to find, especially in a large project. So we wrote a utility creatively titled
|
||||
"CPD - Copy and Paste Detector" - to find it for us. This utility uses (more or less) Michael Wise's Greedy String Tiling Algorithm
|
||||
to find duplicate code. </p>
|
||||
<p>To run CPD as a JNLP application, click <a href="cpd.jnlp">here</a>.</p>
|
||||
<p>Future plans</p>
|
||||
<ul>
|
||||
<li>Make a PMD rule for CPD</li>
|
||||
<li>Enhance the GUI to make it less hideous</li>
|
||||
<li>Improve the algorithm to make it greedier</li>
|
||||
</ul>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
Reference in New Issue
Block a user