• Author
  • #13333

    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

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.