Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hndl
· 10y ago · 0 comments
We do have Cyclomatic Complexity (
https://en.wikipedia.org/wiki/Cyclomatic_complexity
). I see this often enough to understand how important it is.
Comments
[–]
rakpol
10y ago
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.
[–]
sb8244
10y ago
There may be subtle branches like error handling that can impact it for otherwise non branching code