Question

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

Was it helpful?

Solution

NDepend has a huge number of code analysis and query tools including Cyclomatic Complexity per type and method estimation.

OTHER TIPS

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

3rd party edit

  • Visual Studio 2015 community edition has it as well

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

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top