- This topic has 0 replies, 1 voice, and was last updated 4 years, 5 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
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.