S. Hendriks
2010-04-15 13:43:35 UTC
Hi,
Ive a question about the Cyclomatic Complexity.
At the dashboard I see this:
I am wondering, what is the total complexity of this project? Do I take the
2,5 per method? Or do I take the 14,7 per class?
And to make it more confusing. The Total Quality Plugin says: Design Classes
and Methods Complexity à 77.9%
What Im looking for is the complexity score of McCabe. So I figured the
numbers on the dashboard where ok. Should I read it as:
2.6 à Complexity average per method
14.7 à Complexity average per class
?
If so, what would be the most accurate decision if I wanted to tell
something about the entire project. My gut feeling says I should take per
class (the 14.7).
Any advice is appreciated,
Regards,
Stefan
Ive a question about the Cyclomatic Complexity.
At the dashboard I see this:
I am wondering, what is the total complexity of this project? Do I take the
2,5 per method? Or do I take the 14,7 per class?
And to make it more confusing. The Total Quality Plugin says: Design Classes
and Methods Complexity à 77.9%
What Im looking for is the complexity score of McCabe. So I figured the
numbers on the dashboard where ok. Should I read it as:
2.6 à Complexity average per method
14.7 à Complexity average per class
?
If so, what would be the most accurate decision if I wanted to tell
something about the entire project. My gut feeling says I should take per
class (the 14.7).
Any advice is appreciated,
Regards,
Stefan