Question

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 was a utility or VS plug-in that could automate this process.

Thanks in advance!

Was it helpful?

Solution

you can give Clone detective a try

OTHER TIPS

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top