The Copy/Paste Detector (CPD) is an add-on to PMD that uses the Rabin–Karp string search algorithm to find duplicated code. CPD works with Java, JSP, C, C++, Fortran, PHP, and C# code.
Read more about this topic: PMD (software)
Famous quotes containing the words copy and/or paste:
“The men are magnificentthe young men tall, well formed, and admirably dressed; the old men positively beautiful, with their fresh complexions, white hair, and admirable neatness. Nothing struck me more than this, and we might copy it to advantage here. As an Englishman grows older he becomes more and more careful in his dress.”
—M. E. W. Sherwood (18261903)
“In a thousand apparently humble ways men busy themselves to make some right take the place of some wrong,if it is only to make a better paste blacking,and they are themselves so much the better morally for it.”
—Henry David Thoreau (18171862)