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
Problem 1. Explain Iterative Development Model in detail 2. Explain the Incremental Development Model in detail 3. What are the major technical and non-technical factors whic

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

Q. Post-production design feedback for future designs ? Post-production design feedback for future designs Implementation it is introducing the designed solution into

Define the Behavioural Model It defines operational behaviour of the system.  In this model, numerous operations of the system are represented in pictorial form. Tools used to

Function points: Function point calculates the functionality from the user point of view, that is, on the basis of what the user request and receives in return. Thus, it deals wit

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

Equivalence class testing Equivalence class testing is based on partitioning the input domain of a program into a number of equivalence classes so that the test of a representa

What is Equivalence Partitioning? Equivalence Partitioning (EP) is the process of methodically decreasing the huge set of possible test cases into a much smaller but still equ

Mention some of the Design principles. a.    The design process should not suffer from tunnel vision. b.    The design should not reinvent the wheel. c.     The Design sh

Describe various types of Cohesion? i. Coincidentally cohesive -The modules in which the set I\of tasks are linked with each other loosely then these modules are called coincid