How the value of P in cyclomatic complexity is calculated?
P:The number of connected path.
Answer Posted / dheeraj shandilya
McCabe's cyclomatic complexity(M) is given by:
M=L-N+2P
where L= no. of links in flowgraph
N= no. of nodes in flowgraph and
P= no. of connected component
(or no. of disconnected parts of flowgraph)
In graph theory, a connected component of an undirected
graph is a subgraph in which any two vertices are connected
to each other by paths, and which is connected to no
additional vertices. For example, see slide no 21(40) of
www.cs.drexel.edu/~spiros/teaching/SE320/slides/metrics.ppt
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is quality center? What are the modules of quality center?
What are the RBI rules has to follow by a bank for online precesseing. ?
Can anybody help i put the pharma and bank project in my resume, but i dont know what to tell about them, any body tell the where can i get the information about them,what i need to tell about these applications,please help me
how to create automation frame work ?
How can data caching have a negative effect on load testing results?
How does quality control differ from quality assurance?
How to do Performance Testing manually for a Flash Application?
Please Provide me the link to download Testing Category questions and answers If some body has downloaded it pleae send it to me Pavan : Email pavan_cd@yahoo.com Quetion2 : Can any body Explain me about Testing thumb rules
Can you explain the pdca cycle and where testing fits in?
What's the difference between alpha and beta testing?
How do you test google or gmail application??tell me step by step process??
What are the main key components in web applications?
hi, this is geetha, i have one doubt regarding the vulnerability testing. For sql injection testing is there any need for the tools to be installed. If it is what is tool and what is the method to test in sql injection testing. Plz Guide me
consider therez 1 land and it has mango trees in it, what are the tets cases or how will we count no of mangoes on all trees
What are the interview question on insurance domain in manual testing