what is Cyclomatic Complexity?

Answer Posted / sri

Cyclomatic complexity is a software metric (measurement)
developed by Thomas McCabe and is used to measure the
complexity of a program. It directly measures the number of
linearly independent paths through a program's source code.

Cyclomatic complexity is computed using the control flow
graph of the program: the nodes of the graph correspond to
indivisible groups of commands of a program, and a directed
edge connects two nodes if the second command might be
executed immediately after the first command. Cyclomatic
complexity may also be applied to individual functions,
modules, methods or classes within a program.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe bottom-up and top-down approach in testing?

671


Hi , We have urgent opening for Test Analyst to our UK client. So testing Professionals Please visit www.sohumsolutions.com & in career setion you can get all requirement specification If you are interested onsite oppertunity Please email me your CV & along with your current salry details & expectation,Visa Status. If you don't have any Visa want to take UK Visa then we can cooperate you ! Thanks & Regards, Prabha Koshti Director Sohum STAFFING Solutions contact+91-(020)27610012 Mobile:+91-(0)-9822914878 Email :prabha.koshti@sohumsolutions.com

1846


What is quality audit?

646


best trainig institutes and best faculty in chennai for software testing ?

1498


What is the difference between quality assurance, quality control and testing?

585






hi , This is krish from chennai . i like to do istqb certification for foundation level . if any one have material for that kidely help me. just send me the material to krishmca29@rediffmail.com. thanks is advance for sending .

1463


Explain what is a cause effect graph?

585


Testing terminologies followed by Google

2079


Enlist some automation testing tools.

638


What is automated software quality (asq)?

656


i completed btech in IT in 2012.i am not good at programming.i want to do software testing.am i eligible for the course and how will be my future?please help and than you

3638


Do you have a favourite QA book? More than one? Which ones? And why.

2837


prepare functional requirements and design test cases for a given business requirement as follows(consider all the implicit requirements): A message portal is given,Login into that, check for any e_mail in inbox-if present reply,if not compose a mail and send it.

1643


What methodologies do you used to develop test cases?

688


Explain what are test driver and test stub and why it is required?

575