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

What are the Toolsused in system analyst Systems analyst have numerous tools to help them in carrying out their work. As many of their projects are for big companies it is ess

What is EVA? Earned Value Analysis is a process of performing quantitative analysis of the software project. It gives a common value scale for each task of software project. It

Iterative waterfall model The iterative waterfall model is as shown in the following figure. Requirement gathering phase in which all needs are identified. The design


Performance testing signifies loads, volumes, and response times, as described by requirements. Although performance testing is a part of system testing, it can be regarded as a ex

Write the Importance of standards. Encapsulation of best practice- avoids repetition of past mistakes. They are a framework for quality assurance processes - they include ch

Structure of design It allows the decomposition of a large system into smaller, more manageable units with well explained relationships to the other units in a system. N

QUESTION Draw a class diagram which represents the information handled by the Online Bakery-equipments Ordering System. Your class should briefly and simply reflect the relatio

How will you view GUI maps in Winrunner? - GUI maps are viewed by using GUI Map Editor - It's located in Tools menu within WinRunner. - It displays all of the GUI Map fil