what is Cyclomatic Complexity?

Answers were Sorted based on User's Feedback



what is Cyclomatic Complexity?..

Answer / jeny devassy

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.

One of the ways is counting the number of closed loops in
the flow graph, and incrementing the number by one.

Is This Answer Correct ?    6 Yes 0 No

what is Cyclomatic Complexity?..

Answer / 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

what is Cyclomatic Complexity?..

Answer / bijimol c t

complexity is computed using the control flow
graph of the program

Is This Answer Correct ?    1 Yes 0 No

what is Cyclomatic Complexity?..

Answer / krishna

can someone answer what is cyclomatic complexity?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QA Concepts Interview Questions

What is diffrence between iterative model and waterfall model?Explain What is the diffrence between iterative model and prototype model?Explain

6 Answers   IBM,


What is software process?

0 Answers  


What is Mutation Testing? Is it white box or black box testing. This is what I think about mutation testing..It is the testing done after the code has been modified in an application( after geting defect complain from clients)with the same test cases and same old test data... Please correct me If I am wrong...............

2 Answers  


hey, i recently attended 2 interviews and they asked whether I used qamonitor of softsmith. any help on what it does?

2 Answers  


disadvantages of V-Model in Software Testing?

1 Answers  






can 2 tier architecture can be change as a 3 tier architecture

0 Answers   QA,


Need urgent answers for the interview questions? Interviewer asked 1) when you don't have enough requirements spec how did you perform testing? 2) once the project went live if you come to know that there is a bigger defect(bug) what will you do? 3) when there is a bug in the code but not mentioned in the requirement spec( while testing for some other if you come to know this bug) what will you do? I answered these questions but interviewer was not satisfied can any one please tell me the best answers for these kind of situations. I have other interview next week so please provide me the answers or can email me the answers my I'd is tester582@gmail.com. Thanks in advance

3 Answers   Maxwell,


Explain paradigms for interfacing module?

0 Answers  


Explain the difference between the verification and validation?

0 Answers  


what is the difference between lifecycle model and v-model

6 Answers   Semantic Space,


What the purpose of testing?

0 Answers  


Can anyone listout major scenarios for a payment submission web page???

1 Answers   Xansa,


Categories