简体   繁体   中英

asp.net c# scan application for code duplication - utility

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!

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM