Search code examples
c#code-complexitysource-monitor

What are the parameters used to calculate complexity in SourceMonitor?


I recently started using SourceMonitor to review my (and others) code. Though I understand other parameters judged by the tool, I don't know how does it calculates the complexity of the code. As in, what all parameters does it considers to read to a complexity number?


Solution

  • Found it in Help -> Help Topics -> Explanation of language Metrics -> C# -> Max Method Complexity -> (There is a hyperling) Complexity Value.

    Source Monitor Complexity Value http://tinypic.com/r/10yi0kp/6