...
Transport-layer-Protocol
August 2, 2024
JT(IT) 2018 PART-B Computer Science
August 2, 2024
Transport-layer-Protocol
August 2, 2024
JT(IT) 2018 PART-B Computer Science
August 2, 2024

Cyclomatic-metric

Question 13
McCabe’s cyclomatic metric V(G) of a graph G with n vertices, e edges and p connected component ise
A
e
B
n
C
e – n + p
D
e – n + 2p
Question 13 Explanation: 
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3.Edges-Vertices+2(Connected components)
As per the above question, c=cyclomatic complexity
e=number of edges
n=number of vertices
p=predicates
Correct Answer: C
Question 13 Explanation: 
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3.Edges-Vertices+2(Connected components)
As per the above question, c=cyclomatic complexity
e=number of edges
n=number of vertices
p=predicates
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!