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?
Cyclomatic complexity of A=B=10
Number of decision points in A = 10 -1 = 9 Number of decision points in B = 10- 1 = 9 Cyclomatic Complexity of the integration = Number of decision points + 1 = (9 + 9) + 1 = 19
Answer must be A
cyclometric complexcity = edges - nodes +2
i think, while joining two independent graph structures sequentially, an extra edge is appeared between them , so 10+10+1 =21
Ans A
Gatecse
I'll write a post on how to best...