Cyclomatic Complexity Calculator
Method 1
Method 2
Method 3
Calculation of Cyclomatic calculation using
Number of nodes, edges and connected components
No. of components:
No. of Nodes:
No. of Edges:
Cyclomatic complexity is:
Calculate
Clear
Calculation of Cyclomatic calculation using
Number of closed regions in the graph
No. of closed regions present in control flow graph
Cyclomatic complexity is:
Calculate
Clear
Calculation of Cyclomatic calculation using
Number of condition nodes
Is there a switch case in the graph:
No. of cases present in the switch case:
Including default case
No. of condition nodes:
Excluding switch case node
Cyclomatic complexity is:
Calculate
Clear