I suggest you ...

Calculate Max of Cyclomatic Complexity(CC) metric in Code Metrics Analysis, not only Total of them


Today, VS "Code Metrics" functionality provides us metrics of Cyclomatics Complexity(CC).
But CC in [Type],[Namespace] or [Project] scopes is displayed as Total(Sum) of CC in children scope.

For example, CC of [Type(class)] is calculated as sum of its method's.
(See, attached image1)
Using "Sum of CC" is little bit difficult when you are trying to detect that which method has biggest CC at a glance.

So, I would be appreciated if you could provide "Max of CC" metric, not only Total of CC.
(See, attached image2)

And if possible, "number of method" metric would be useful in order to calculate "Average of CC", IMPO.


13 votes
Sign in
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Hiroyuki Moriguchi shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Password icon
Signed in as (Sign out)

Feedback and Knowledge Base