Identifying Duplicate Code With Simian
By Thomas Johnson | April 13, 2009
I’ve recently discovered the tool Simian which you can use to identify blocks of duplicate code. I’ve been experimenting with it on C# code but Simian should work in pretty much any programming language.
Reduction of duplication within code is widely accepted as a worthwhile goal as it makes your code easier to debug, maintain and extend. A tool like Simian makes it possible to easily locate duplicated code within different files or even projects. Once you’ve found the duplicate code it is often quite easy to create a common method or class to remove the duplication.
Simian Similarity Analyser - Homepage
Topics: Coding Style, Productivity |
2 Responses to “Identifying Duplicate Code With Simian”
Comments
« Speeding up builds in Visual Studio for .net CE | Home| Quickly Copy Files Between Mobile Device And Desktop PC »
7:41 am on April 15th, 2009
You should also take a look at Clone Detective for Visual Studio: http://www.codeplex.com/CloneDetectiveVS
12:34 pm on April 15th, 2009
Thanks for that Howard, Clone Detective definitely seems easier to use.