...
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024

Software-Engineering

Question 285
In Software Metrics, McCABE​ S cyclomatic number is given by following formula :
A
c=e-n+2p
B
c=e-n-2p
C
c=e+n+2p
D
c=e-n* 2p
Question 285 Explanation: 
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3. Edges-Vertices+2
As per the above question, c=cyclomatic complexity
e=number of edges
n=number of vertices
p=predicates
Correct Answer: A
Question 285 Explanation: 
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3. Edges-Vertices+2
As per the above question, c=cyclomatic complexity
e=number of edges
n=number of vertices
p=predicates

Leave a Reply

Your email address will not be published. Required fields are marked *