How the value of P in cyclomatic complexity is calculated?
P:The number of connected path.
Answer / 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 |
whenever the requirements are not given by the customer what type of testing you do?
what is independent question and what is retriewing and what is problem of severity.
What is the difference between Product-based company and Projects-based company?
22 Answers CTS, Google, Wipro,
what is negative testing and positive testing with example?
What is heuristic checklist used in Unit Testing?
Hi.....wat r d major bugs we can find in banking domain???
for example, if we have a textbox ranging from 0-100. which methodology we are using & what are inputs we are observed?
How does quality control differ from quality assurance?
Explain the test plan, how to prepare the test plan
Write Test cases on pen?
2 Answers Cap Gemini, PanTerra,
ur trying 2 get hotmailpage,while u give www.hotmail.com.page "The page not found"is displayed, for what u will be look for next ?
What is bug release?