Finding Duplicate Code in Perl
I hacked out a rough “duplicate code finder” for Perl. It focuses on cut-n-paste code and has found more than I would have thought (even in my code!). If a developer changes variable names, it won’t find it, but if I hacked around with B::Deparse, I could fix that, too.