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?

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? Correct Answer 19

The correct answer is option 3:

EXPLANATION:

Cyclomatic complexity of X = Y = 10

Number of decision points in X = 10 ­- 1 = 9

Number of decision points in Y = 10 - ­1 = 9

Cyclomatic Complexity of the integration = Number of decision points + 1 = (9 + 9) + 1 = 19

Related Questions

If a left outer join is performed and the tuple on the left hand side does not match with the tuple on the right hand side, what happens to the values that are preserved on the left hand side?