what is cyclomatic complexity? plz explain with example
Answer Posted / keerthana
example
int a,b;
a=10,b=20;
if(a<b)
{
printf("a is greater");
}
else
{
printf("b is greater");
}
draw the flow chart for this program and count number nodes
in the flowchart.
the formula is v(G)=E-N+2P
E is edge
N is number of nodes
p predicated node
for eg
V(G)=E-n+2P
4-4+2=2
the path of the program is 2 we got write answer
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is manual testing and what is it process?
How quickly we need to fix the bug?
please anyone let me know the -ve testing of Excel sheet?
what is the difference between website and web based application ?
What is six sigma?
1) Test summary contains ? 2) Requirement Tracebility means ? 3) Test Effort contains ? 4) Test Planning Productivity ? 5) Metrics should be caluclated ? 6) Interest rate Rsik is a type ? 7) Test analysis and Design process task? 8) secured loan is a part of Liability (or) assest in a balance sheet? 9) Money Market means? 10) a ------ specifies all of the terms of a loan and the obligations borrower ? 11) what is a primary market is ? 12) Quality of Testing measure with ? 13) Company has a share with facevalue 10 rs/- and NAV of 37 after comapny has given Dividend of 35 % then How much NAV become ? ( I don't know what is NAV means, question overall Idea I am giving not 100% perfect ) the potions for these are 1) 33 2) 33.50 3) 37 4) 42 14) one compay has taken 10 million loan from a bank for a Interest rate is 10 % and base amount is 0.4% so how much they had paid monthly Emi ? they provideansews like 1) 100000 2) 114000 3) 140000 4) 104000 Remaing questions I not remember.
What is the difference between a bug, a defect and an error?
hai friends i need a general test cases for check box,drop down button and radio butoon can anybody reply me plz..........thanks in advance
Tell me a critical defect in which your Client,PM,PL appreciate on you
What is the difference between functional testing and integration testing?
Tell me the advantage and disadvantage of cookies?
How to integrate Bugzilla with QTP?
What is a defect?
What are the advantages of waterfall model?
Write test cases on duster