Code Metrics in Visual Studio 2010

天涯浪子 提交于 2019-12-23 08:54:32

问题


I was wondering what options were available with regards to code metrics in Visual Studio 2010. I know there are manual metrics that can be run on your code from within the IDE, but are there any other options?

What I'm trying to do is this: My team and I are running Team Foundation Server 2010 and we have automated builds set up as well as notifications/alerts for those builds. The notifications work well, but they give only basic information. The notifications link to a page that give more detail on the build which is great too. However, I'd still like to have metrics on my code with these builds and their notifications run automatically.

I honestly don't know if this is possible, but if it is, I was wondering if anyone knew exactly how to get it done.

If this can't be done, though, I was looking for any information on third-party tools (paid or free) that could accomplish my goals listed above.


回答1:


Check NDepend. It has full integration with Visual Studio.

NDepend is 100% integrated in Visual Studio™ 2010, 2008 and 2005. If you prefer you can use the standalone VisualNDepend UI that collaborates with Visual Studio™.




回答2:


Metrics tool is available from the command line now: http://blogs.msdn.com/b/camerons/archive/2011/01/28/code-metrics-from-the-command-line.aspx




回答3:


Please check the ccm tool from http://www.blunck.se/ccm.html This tool is very fast and responsive.



来源:https://stackoverflow.com/questions/4585573/code-metrics-in-visual-studio-2010

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