iSQI Exam Questions

Which of the following is a valid way to calculate the cyclomatic complexity?

Which of the following is a valid way to calculate the cyclomatic complexity?

A.
Number of decisions + 2

B.
Number of enclosed regions – 1

C.
Number of statements – 2

D.
Links – Nodes + 2

Explanation: