Unraveling Cyclomatic Complexity: A Guide to Simplifying Your Code
hackerone.com | blog | #refactoring | #testing | #software-quality | #code-quality | #cyclomatic-complexity | #software-metrics | #code-metrics | #maintainability
Summary
Explains cyclomatic complexity, McCabe's 1976 metric counting linearly independent paths through code, how high scores hurt testability and maintainability, and how to simplify tangled functions.
- Published
- Collected
Skip to content