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:
Tom Copeland
2002-08-07 15:58:06 +00:00
parent caf1ef4a81
commit 92570284f0

View File

@ -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>