Hi all,
How to find the cyclomatic complexity of a function with multiple exit points? The wiki page says p-s+2 where p is the number of decision points and s is the number of exit points.
But should not more exit points increase the cyclomatic complexity as it may lead to more independent paths?
Cheers,
Aman