what is cyclomatic complexity? plz explain with example

Answer Posted / rahul

it is used to find out no. of independent path in graph.

v(g)=e-n+2p

v(g)=cyclomatic complexity of graph g
e=no.of edges in th graph
n=no. of node in tha graph
p=no.of connected component in the graph

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hello testers I am an Bsc Hotel mgmt Degree holders but now am doin my software testin programme, side by MCA Master degree an have 6 months exp i testing in company.. i want to change my CV according IT based. so can anyone help me with sendin any sample CV of urs.. do me this favour it wil be very helpful for me prepare CV for interviews....

1681


What is the limit for test steps?It should be 10/20/30etc

1486


What is the negative testing and example

982


What are testing techniques? What is difference between general and specific?

1621


write testcases for open dialogbox

1532






Difference between Stakeholder and Relevant Stakeholder?

1593


Anybody having documents and URLs about BFSI domain...Please share..it is really urgent

1963


i have done B.E. computer in 2009 i have done software testing course and also 6 months exp in testing on live project as trainee, now a days i am searching job in pune. can any one tell me any opening in pune?

1559


Iam new to testing field and i put lot of experiences so i want to get prepared for the interview in all the ways both in manual and Automation can any one help me how to answer there questions in real time. also can anyone send the top questions and answers to me plz its urget u can mail me at vaisu72@yahoo.com

1452


How is ‘build’ different from ‘release’?

633


What does entry and exit criteria mean in a project?

676


What is smoke testing and what is sanity?

639


Can any one explain me about hybrid integration testing? and what is interface in integration testing? thanks in advance...... regards, MurthySharma.Manchella

1802


how mapp the defect id in quality center?

1675


I want to do certification in ISTQB please anybody hepl me with the details and site to refer for further details.............if possible give me the material as well on my mail id a.vishwakarma@aol.com. Please help me........Thanks

1684