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


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 is boundary data- Test data Extreme/boundary data -  This is data at the limits of validity/acceptability (for instance, if a date is being input, two values at the

A dynamic analysis method which inserts assertions about the relationship among program variables into the program code. The truth of the assertions is determined as the program im

What are the principle stages of VORD method? Viewpoint identification: Identify the services provided to each point of view Viewpoint structuring: Sorting related viewpoint

Q. Design black box test suits for a function that checks whether a character or string upto ten characters in a palindrome? Ans Following may be the test cases: - Try wit

When to Re-Engineer? When the system alter are mostly confined to part of the system then re-engineer that part. When hardware or software support becomes obsolete.

Q. Compare and contrast reliability and availability? Ans. Reliability: The probability of failure-free system operation over a specified time in a given environment for a gi

Explain any two graphical design notations used in procedural design

Identify the type of cohesion in the following statements: 1. Compute average daily temperatures at various sites 2. Initialize sums and open files 3. Create new temperature recor

Problem 1. Explain why the use of a standard high-level language does not guarantee that software will be portable across a range of machines 2. Draw possible data flow diag

#questionHomes R Us is a group of large department stores who wish to improve the customer service they decide they need a database to capture and store information relating to cus