0

I would like to calculate the cyclomatic complexity of the code given below. However, I have problem while drawing its CGF (control flow graph). How to draw the code's CGF?

1: int a=10;
2: for (int i = 0; i < 10; i ++)
3: {
4: a++;
5: }
6: print a;
James Z
  • 12,209
  • 10
  • 24
  • 44
  • just google it: https://www.geeksforgeeks.org/software-engineering-control-flow-graph-cfg – ale Mar 08 '23 at 05:39

0 Answers0