Do you guys by any chance know of a tool for visual studio that can scan the entire application and find code duplication?
I have to clean up a medium sized asp.net c# application and I am using "Find and Replace" but it is really tedious work. I was wondering if there w开发者_运维技巧as a utility or VS plug-in that could automate this process.
Thanks in advance!
you can give Clone detective a try
Perhaps PMD can help.
From the homepage:
Duplicate code can be hard to find, especially in a large project. But PMD's Copy/Paste Detector (CPD) can find it for you!
They have a list of similar projects.
Simian is a good tool to use. You can define code block size, and create an external command to run it inside of the VS IDE.
http://www.redhillconsulting.com.au/products/simian/
It's not for VS, but Simian works pretty well.
http://www.redhillconsulting.com.au/products/simian/
精彩评论