Geeks With Blogs
Abhishek Anand Bits & Bytes about .net technology framework. cyclomatic complexity
Cyclomatic Complexity of Methods
Cyclomatic Complexity is a widely used software metric that is used to compute the number of decisions being made by a piece of code. In its simplest form, the complexity number is equal to: 1 + {the number of expressions in the method}. Different tools interpret the definition of “expressions” differently, thus the slightly varying metrics based on the tool being used, but in general the statement used for making decisions are counted.In general, the following are treated as expressions in C#: if, ......

Posted On Thursday, November 21, 2013 12:41 PM

Copyright © Abhishek Anand | Powered by: