I'm looking for some tool/library that would scan given project tree, and report on code duplicates - i.e. blocks of code that are repeated in various files.
Is there anything like this?
As it is now, I have to view them (files) all, and search for duplicates, but it doesn't strike me as very efficient.
A System for Detecting Software Plagiarism might work; it supports Perl.
And here's a list.