What exactly is the class complexity

4.9k views Asked by At

Their wiki only says the obvious (average complexity of the class), but what does it actually mean?

I know for method complexity, 15-20 is usually the upper bound for a testable and maintainable code.

1

There are 1 answers

2
Qualilogy On BEST ANSWER

You can do a lot with Cyclomatic Complexity. Here are some posts on my blog but you could find much more: http://qualilogy.com/en/legacy-c-application-refactoring-reengineering-1/ and http://qualilogy.com/en/legacy-application-refactoring-reengineering-7/

Yes, per class/file it is an average of the complexity of each method/function: http://qualilogy.com/en/legacy-application-refactoring-sqale-plugin-1/