Further reading
A formal definition of cyclomatic complexity can be found in the WikiPedia link. Basically, every conditional statement adds to the complexity, as it creates a new possible execution path:
A formal definition of cyclomatic complexity can be found in the WikiPedia link. Basically, every conditional statement adds to the complexity, as it creates a new possible execution path: