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 were the major challenges u faced while testing
Any one send me sample question for multimedia testing with microsoft access database. I am having interview next week. Please post it or send me my personal e-mail. Thank You
Scenario-based testing Option 1 concentrates on actor and software interaction Option 2 misses errors in specifications Option 3 misses errors in subsystem interactions Option 4 Both 1 abd 2
What is the different between SIT and UIT?
Hi All I want discuss abt Testing tools is any one available online in google chat?
What do you mean by Unit Testing, Integration Testing, System Testing, and User Acceptance Testing and when do you do them?
Hi, My name is Dinesh.I want to prepare for ISTQB certification , So can anyone please email me the syllabus of it and what is criteria for giving exam.Please email me answers at: dinesh0323@live.com
What kind of input do we need from the end user to begin proper testing?
How can software qa processes be implemented without stifling productivity?
write test case for linked in sign up page ?
What is rapid application development model (rad)?
How the application is launched to the production environment?
Please Tell me About Fish-Bone Model. Thanks in Adv.
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 any body tell me in real time how cookies testing is done. And please tell me the steps.And for cookies testing test cases is needed.