5 votes 5 votes The Cyclomatic Complexity metric V(G) of the following control flow graph 3 4 5 6 IS&Software Engineering isro2011 is&software-engineering cyclomatic-complexity + – jaiganeshcse94 asked May 30, 2016 retagged Nov 13, 2017 by Arjun jaiganeshcse94 4.3k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply rude commented May 30, 2016 reply Follow Share Do not study this dude, Its out of syllabus. 1 votes 1 votes asu commented Jun 7, 2016 reply Follow Share these questions coming in isro,,,,and other exams 3 votes 3 votes shubhra_d commented May 3, 2017 reply Follow Share Not really. This question is from s/w engineering and the anzwer is 4. As the no. Of regions is 4. Three inner and one outer. 1 votes 1 votes Please log in or register to add a comment.
Best answer 9 votes 9 votes Cyclomatic complexity = e - n + 2 p = 7 - 5 + 2(1) = 4 Or cyclomatic complexity is the number of regions enclosed = 4 Kapil answered Jun 23, 2016 selected Jun 23, 2016 by Praveen Saini Kapil comment Share Follow See all 3 Comments See all 3 3 Comments reply `JEET commented Jan 7, 2020 reply Follow Share What is e,n,p? 0 votes 0 votes Hradesh patel commented Jan 7, 2020 reply Follow Share e - edge n - node P - component 0 votes 0 votes `JEET commented Jan 7, 2020 reply Follow Share Yes. 0 votes 0 votes Please log in or register to add a comment.
8 votes 8 votes Cyclomatic complexity is a software metric (measurement), used to indicate the complexity of a program.Cyclomatic complexity is computed using the control flow graph of the program The complexity M is then defined as M = E − N + 2P, where E = the number of edges of the graph. N = the number of nodes of the graph. P = the number of connected components. Cyclomatic complexity(M) = E − N + 2P, =7-5+2(1)=4 vnc answered Jun 30, 2016 vnc comment Share Follow See 1 comment See all 1 1 comment reply chirudeepnamini commented Jan 8, 2020 reply Follow Share But this video from nptel has a different definition. watch at 11:34 sec . Even this video has same definition.. 0 votes 0 votes Please log in or register to add a comment.