-
The cyclomatic complexity of each of the modules A and B shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?
-
- 19
- 21
- 20
- 10
- 19
Correct Option: A
Individual cyclomatic complexity = 10
Now, in the cases of sequential integration, the general behaviour is that the complexity is decreased than the two independent modules. This decrease is unitary and hence the answer is 19, (10 + 10 – 1 = 19).