Hi
I am looking to add a cyclomatic complexity metric to my coverage reports from opencover (a .NET code coverage tool hosted on github). I see that Gendarme calculates a value via it's AvoidComplexMethodsRule which I can leverage.
Will anyone object if I link to the gendarme library to calculate this value for me (I see no reason to reinvent the wheel) so I can concentrate on branch and method coverage instrumentation. Also the detection of ternary operator looks interesting where did this come from and is it explained anywhere, looks like magic code to me that needs documentation support?
Finally do we have an accuracy of CC or is it just a metric that we can use as a rule of thumb?
Shaun