- This topic has 0 replies, 1 voice, and was last updated 7 years, 8 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Testing Discussions › Calculating Cyclomatic complexity
Can you please tell me how to calculate cyclomatic complexity as described in the question below? 4 choices are given. What is meant by juxtaposition of code segments?
Question)If two code segments have Cyclomatic complexities of N1 and N2 respectively, what will be the Cyclomatic complexity of the juxtaposition of the two code segments?
a) N1+N2
b) N1+N2+1
c) N1+N2-1
d) N1*N2