what is cyclomatic complexity and what is the formula used
for it

Answer Posted / gopaldas

Cyclomatic complexity is no of independent paths in a
program.It is calculated using the formula L-N+2P where L
is no of links,N is no of nodes and P is no of independent
paths

Shortcut for calculating CC:

No of Decisions + 1

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what should be tested when credit card is used as payment option in ecommerce project?can anyone tell me in detail what to test n how to test when credit card is involved in web application?

1531


IN SQL SERVER 2005, With out using Query, hw can u break down USER NAME & PASSWORD to enter the software.

1730


what are the Cs in testing

1629


What is a test scenario?

706


what is the most critical bug u have to find in ur project.My application is ERP based,in this purchase module is there.plz tell me the answer?

2193






How to overcome pesticide paradox?

698


what are your achievements in your organization ? Guyz very very urgent , help me

1655


define risk management system with example ?

1565


Hi Friends, I want to know the best institute in hyderabad which is giving training in 'SAP Testing' and who is the best faculty. Regards, Imtiyaz..

2553


What is the test case?

650


What is the difference between a bug, a defect and an error?

688


1. what is baseline document , can you say any two ?

1830


What is bug priority?

835


Please send any one latest 3+ years of experience testing tools resumes my mail id is krishnavenimodaliar26@gmail.com

2879


can we do database testing in manual testing? then how we write the test case?

5949