Hacker News new | ask | show | jobs
by hndl 3627 days ago
We do have Cyclomatic Complexity (https://en.wikipedia.org/wiki/Cyclomatic_complexity). I see this often enough to understand how important it is.
1 comments

Isn't cyclomatic complexity just about the number of paths through code? It seems like (statically resolved) nested calls, as long as they don't loop or branch themselves, shouldn't increase cyclomatic complexity.
There may be subtle branches like error handling that can impact it for otherwise non branching code