loading...

Discussion on: Coding Concepts! Cyclomatic Complexity

cathodion profile image
Dustin King

I'm not sure what you mean by potential vs. specific routes.

Thread Thread
designpuddle profile image
Chris Bertrand Author

I think you're trying to say that it's either in the if or else statement. So there are two specific routes through. But those two routes vary massively depending on which it goes into. The metric doesn't gauge which is more likely or weight them accordingly. I agree It's definitely not perfect, the reverse piece in the additional reading section defines it's pitfalls well.