Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Refactoring copy-pasted code

by jplindstrom (Monsignor)
on May 05, 2009 at 12:45 UTC ( #761919=note: print w/replies, xml ) Need Help??


in reply to Refactoring copy-pasted code

I've also been thinking about a copy-paste detector, and there turns out to be a fair amount of prior art.

If you Google for "copy paste detection", and "code duplication" you'll find plenty of software, although mostly for Java or C#.

I've tried DuDe, which is kinda useful but far from perfect.

/J