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
Evolutionary prototyping: Evolutionary Prototyping (also called as breadboard prototyping) is quite dissimilar from Throwaway Prototyping. The main goal when using Evolutionary Pr

Write a report which critically analyses the system design process of a project. Projects might include designing a light rail network for a city, more environmentally-conscious bu

INFORMATION STORAGE  AND RETRIEVAL SOFTWARE: IBM (International Business Machines Corporation) was one of the earliest to invest money to develop software packages intended fo

Depth of conditional nesting This is a measure of the depth of nesting of if-statements in a program. Deeply nested if statements are hard to understand and are potentially er

The Clue-Less system shall operate with the following Web browsers: Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, and Safari. OE-2: The Clue-Less system shall

Ask quewhat is code restructuringstion #Minimum 100 words accepted#

Q. Explain the reuse maintenance model with the help of a diagram. Ans: Recycle maintenance model this model is based on the principal that maintenance could be viewed as an

explain the effect of reverse engineering of software development #

What are the characteristics of the software?  Software is engineered, not manufactured.  Software does not wear out.  Most software is custom built rather than being ass

Searching the Database: Searching the database and printing the results of a search are important features associated with CDS/ISIS package. The query formulation strategy pro