Evaluate mccabes cyclomatic complexity, Software Engineering

Q. For the flow graph showed in figure compute McCabe's Cyclomatic Complexity.

2354_Evaluate McCabes Cyclomatic Complexity.png

Ans: In this flow graph Number of regions are 5 hence the Cyclomatic complexity is

= 5

OR

No of edges = 10

No of nodes (N) = 7

Therefore Cyclomatic complexity + E-N+2 = 10-7+2 = 5

Posted Date: 7/26/2013 5:14:04 AM | Location : United States







Related Discussions:- Evaluate mccabes cyclomatic complexity, Assignment Help, Ask Question on Evaluate mccabes cyclomatic complexity, Get Answer, Expert's Help, Evaluate mccabes cyclomatic complexity Discussions

Write discussion on Evaluate mccabes cyclomatic complexity
Your posts are moderated
Related Questions
In how many types requirements have been classified Requirements are classified in the below two types: i)  Functional requirements: They define the factors such as I/O fo

Explain about the software testing strategies. A method approach to software testing. Verification and Validation. Verification refers to the set of activities tha


ISO 9001 and CMM: 1:  Management responsibility 2: Document control 3: Purchasing 4: Training 5:  Internal quality audit

We discussed the importance of framing a problem in order to understand the problem better and be able to develop a solution more quickly and easily. In this homework, you are aske

What are the Tools of environmental  model (i)  Statement of purpose: It indicates basic objectives of system. (ii)  Event list: It describes different events of system

How many types of project plan. Quality plan - This plan describes the quality techniques and standards that will be used in a project. Validation plan - This plan explains the

What do you do if you have provided functionality which wasn't listed in requirements? - If functionality isn't necessary to purpose of the application, it must be removed.

What are the conditions exists after performing validation testing? After performing the validation testing there exists two conditions. The function or performance characteris