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 the difference between load and stress testing?
Which is the best testing model?
which test strategy your are fallowing in your company?which documents u r using in software development life cycle?
What is the quality process is following in your organization.
Hi friends Does anyone have screen shot of POWERMHS and please can anyone post anything which will be helpful to understand POWERMHS. thanks.
What kind of testing to be done in client server application and web application? Explain
hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com
What do you do if the bug that you found is not accepted by the developer and he is saying its not reproducible.
Hi there Does anybody can respond to my Questions? Is some one there to answer my Questions posted in Software testing category.pls E-mail to sunitht27@yahoo.com
Can any one share the domain knwoldege of Telecom Jeeva jeevachr@gmail.com
What is the main use of preparing a traceability matrix?
Is anybody have the telecom systems test cases from start to end?
could u pls anyone tel me .."which is the best instute that provides eficient practical knowledge and also real-time oriented knowldge to do a project in manual and automation testing..in hyd" pls send me to dis mail-id if u find any..? sinducute17@gmail.com
Can automation testing replace manual testing?
Hi Dear this urgent for me i have need of ROLTA India Ltd Mumbai Paper pattern for Testing Person , PLease Help me , if any body have any idea about it