Detect duplicate code in Visual Studio 2010

佐手、 提交于 2019-12-01 16:04:24

(You don't seem to have gotten any answers after a couple of weeks... hints there aren't any that do exactly what you want).

Our CloneDR is a tool that detects cloned code for C# 4.0 and modern Microsoft C++ dialects, parsing to abstract syntax trees to drive the clone detection process. This produces, IMHO, a higher-quality result than the token-based scheme used by ConQAT (which Clone Detective uses). You can see sample reports at the provided link.

CloneDR doesn't specifically integrate into VS 2010, but it does run under Windows and its command-line variant could be easily attached as a VS 2010 custom action. It is under continual enhancement.

EDIT October 2010: CloneDR now supports VB.net, through version 10.0.

EDIT November 2015: Now supports VS2013 C++ and C# 5.0 (C# 6.0 coming!)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!