Software-Engineering
August 28, 2024Software-Engineering
August 28, 2024Software-Engineering
Question 388
|
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?
![](https://solutionsadda.in/wp-content/uploads/2019/03/Screenshot_96.png)
![](https://solutionsadda.in/wp-content/uploads/2019/03/Screenshot_96.png)
19
|
|
21
|
|
20
|
|
10
|
Question 388 Explanation:
Cyclomatic complexity is a software metric used to indicate the complexity of a program.
It is a quantitative measure of the number of linearly independent paths through a program’s source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 – 1 = 9
Number of decision points in module-B = 10 – 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
It is a quantitative measure of the number of linearly independent paths through a program’s source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 – 1 = 9
Number of decision points in module-B = 10 – 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
Correct Answer: A
Question 388 Explanation:
Cyclomatic complexity is a software metric used to indicate the complexity of a program.
It is a quantitative measure of the number of linearly independent paths through a program’s source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 – 1 = 9
Number of decision points in module-B = 10 – 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
It is a quantitative measure of the number of linearly independent paths through a program’s source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 – 1 = 9
Number of decision points in module-B = 10 – 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
Subscribe
Login
0 Comments