Monday, November 07, 2005

Cyclomatic Code Complexity Analysis for Microsoft .NET Applications

Please find more information regarding the Cyclomatic Code Complexity Analysis for source code for .NET and VS 2005

Cyclomatic Code Complexity Analysis for Microsoft .NET Applications
http://www.codeproject.com/dotnet/Cyclomatic_Complexity.asp

CA1502: Avoid Excessive complexity - Code analysis rule in VS2005
http://bloggingabout.net/blogs/erwyn/archive/2005/11/04/10140.aspx

The inner works of code coverage instrumentation in VS Team System
http://dotnetjunkies.com/WebLog/anoras/archive/2004/09/20/26199.aspx

Cyclomatic code complexity analysis is supported in FxCop that is integrated with VS 2005 (not in the standalone free tool). The rule reports a violation when the cyclomatic complexity is greater than 25 (which cannot be changed) which sucks

Links to this post:

Create a Link

<< Home