Sum the complexity of each method in a class. The complexity of each method can be the cyclomatic complexity.
Cyclomatic Complexity is a procedural rather than an OO metric. However, it still has meaning for OO programs at the method level (source: McCabe's Cyclomatic Complexity )
Reference: CS 696: Advanced OO
No comments:
Post a Comment