Mclabe Cyclomatic Complexity

What does the mclabe cyclomatic complexity of a program determine?

Questions by zubermmulla

Showing Answers 1 - 9 of 9 Answers

It gives the Cyclometric complexity (CC) of the program i.e it provides the logical complexity of the program
Classifications:

If
CC 1-10 -> Its simple program w/o much risk
CC 11-20 -> More complex modrate risk
CC 21-50 -> Complex High Risk program
CC > 50 -> High Complex and Very high risk program

  Was this answer useful?  Yes

Cyclomatic complexity is likely the most widely used complexity metric in software engineering.  It describes the complexity of a procedure by measuring the linearly independent paths through its source code. 

  Was this answer useful?  Yes

Cyclomatic complexity is a software metric. It is used to indicate the complexity of a program. It directly measures the number of linearly independent paths through a program's source code. The concept, although not the method, 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 .

mailme.qualityfirst (Pkhade)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions