A couple of weeks ago I wrote about my search for tools for detection of duplicated expressions. In the interim, I’m pleased to report that Neil at Integility has fixed the Simian plugin for Eclipse. Thanks Neil!
Also Hugh Sasse wrote and pointed me at the ruby quiz he submitted to solve a similar problem: to write a Ruby program that will analyse a text for duplicate strings and then create another Ruby program that will output that original text. Not quite what I was looking for, but some of the solutions to Hugh’s challenge are neat. Thanks for the link, Hugh.
I think, though, that I’m looking more for something that understands (ie. parses) the source code, so that it can make reasonable decisions about what constitutes an expression and what constitutes duplication. And wouldn’t it be great if it actually performed ExtractMethod on the duplicates it found…!