3 votes 3 votes Consider the following program module: int module1 (int x, int y) { while (x! = y) { if (x > y) x = x - y, else y = y - x; } return x; } What is Cyclomatic complexity of the above module? 1 2 3 4 IS&Software Engineering gateit-2004 is&software-engineering cyclomatic-complexity normal + – Ishrat Jahan asked Nov 2, 2014 retagged Nov 13, 2017 by Arjun Ishrat Jahan 3.8k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 5 votes 5 votes answer - C There are 2 decision points in this module 1. while condition and 2. if condition hence cyclomatic complexity = number of decision points + 1 = 3 ankitrokdeonsns answered Jan 30, 2015 selected Jan 30, 2015 by Arjun ankitrokdeonsns comment Share Follow See all 0 reply Please log in or register to add a comment.