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

If there are more number of production defects, how will you tackle the team as a lead

2050


How to log defect in HP ALM

627


What is the test ware?

613


Mention some of the types of software testing?

580


What is boundary testing?

652






What are the benefits of automated testing?

607


Why regression testing is important?

638


What are the defects found in testing banking domain?

1485


What kinds of performance tests might be required for a word processing system?

1377


What are the various tools you have used in testing process?

618


What should Development require of QA?

1808


What actually a SQA Tester do in His/ Her first (entry level) Job?

1698


What kind of things that forbidden to do by a SQA Tester if He/ She don’t want to get fired?

1628


How do you deal with environments that are hostile to quality change efforts?

3669


Define the key challenges faced during software testing?

597