Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Metrics in Visual Studio 2010

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.

like image 974
AmbiguousX Avatar asked Jan 03 '11 15:01

AmbiguousX


2 Answers

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™.

like image 50
Leniel Maccaferri Avatar answered Nov 02 '22 22:11

Leniel Maccaferri


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

like image 34
James Woolfenden Avatar answered Nov 02 '22 21:11

James Woolfenden