Do tools exist wich automatically find copy-and-paste code?

Posted by java.is.for.desktop on Stack Overflow See other posts from Stack Overflow or by java.is.for.desktop
Published on 2010-03-11T19:17:58Z Indexed on 2010/03/11 19:19 UTC
Read the original article Hit count: 253

Hello!

Are there tools out there which could automatically find copy-and-paste code among a set of files?

I was thinking of writing a script for this, which would just search for equal strings, but such script would find mostly irrelevant equalities. (Such as private final static ...).

© Stack Overflow or respective owner

Related posts about tools

Related posts about static-analysis