what is cyclomatic complexity? plz explain with example

Answer Posted / praveen kumar

M = E − N + 2P
where

M = cyclomatic complexity
E = the number of edges of the graph
N = the number of nodes of the graph
P = the number of connected components

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is CVS and why it is used?

1378


What is the difference between coupling and cohesion?

687


In manual testing, what are stubs and drivers?

678


Define performance and stress testing?

743


Can you please explain about the erp project

1420






What's the difference between system testing and acceptance testing?

719


Discuss what test metrics you feel are important to publish an organization?

4139


What is testing and maintenance?

707


hai friends, I need clarifications for some doubts in testing terminology. 1.What is thread testing. 2.What is bucket testing and which automated tool is used to do this test. 3. ERP testin automation testing. 4.What is Data Warehousing testing? 5.What is Implementation testing? 6.What is Shake out testing? please let me have the clarifications in detail

1552


What r the sequences that leads to automation?

1509


Why documentation testing is important?

1567


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

1591


What if an organization is growing so fast that fixed testing processes are impossible? What to do in such situations?

970


what are metrics and what are metrics did u collect in you are project

1927


what is difference between win 98 and win 2000 poertating system?which is better one?

1731