duplicated expressions again

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…!

One thought on “duplicated expressions again

  1. Pingback: integrating simian with visual studio « silk and spinach

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s