3 ms·
Cyclomatic complexity is a whole-program property. Your functions are just nodes in the control flow graph, where the real complexity appears. One-branch functi
by andrewflnr 7y ago
Cyclomatic complexity is a whole-program property. Your functions are just nodes in the control flow graph, where the real complexity appears. One-branch functions are definitely a good hack, though. :)
- jolux 7y agoOne might even go so far as to say that the whole program is a function :)