views:

536

answers:

5

Can people suggest the best tool to determine the cyclic complexity with in a C# winforms code base.

+1  A: 

DevExpress's Refactor Pro does that. It has a free trial, so you may want to give it a shot.

Mike_G
+3  A: 

In Visual Studio I just go to Analyze/Calculate Code Metrics and I get cyclomatic complexity.

Steven
is this in vs 2005 ??
ooo
I don't believe it is in VS 2005 although I am not certain.
Steven
It's not in VS 2005 or 2008 Pro -- are you perhaps using Team System or a similar top-end version?
Steve Gilham
+5  A: 

NDepend has a huge number of code analysis and query tools.

Paul Alexander
+1 for NDepend. Has a learning curve but you get a in depth look at your code.
Robert Kozak
+2  A: 

We are using SourceMonitor. It's free, very easy to use and easy to integrate with a CI server.

Juanma
+1, even I use.
aJ
+1  A: 

There is a free plugin for Red Gate's .NET Reflector called CodeMetrics that does this.

codeelegance