Compute the mccobes cyclomatic complexity, Software Engineering

Q. Compute the McCobes cyclomatic complexity?

(i) compute the McCobe's cyclomatic complexity

(ii) Find out independent path

624_Compute the McCobes cyclomatic complexity.png

Ans

(i) Cyclomate complexity V (G)

V(G) = E-N+2

Where E is the number of flow graph edges and N is the no of nodes.

Consequently we have E = 8 N = 7 and V(G) = 8-7+2 = 3

(ii) Independent path

(i) 1, 2, 3,5,6,7

(ii) 1,2,3,4,5,6,7

(iii) 1, 2, 3,4,6,7

Posted Date: 7/26/2013 3:56:54 AM | Location : United States







Related Discussions:- Compute the mccobes cyclomatic complexity, Assignment Help, Ask Question on Compute the mccobes cyclomatic complexity, Get Answer, Expert's Help, Compute the mccobes cyclomatic complexity Discussions

Write discussion on Compute the mccobes cyclomatic complexity
Your posts are moderated
Related Questions
Software project planning entails what activities? Software project planning entails the many activities: -  Estimation:  o Effort, , resource, cost and project duratio

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

What is VO browser extension? - It is a SilkTest add-on component to test Web applications. - To identify browser-rendered objects it employs sophisticated pattern recogniti

Question 1: (a) Describe the Formal Software Process Model. (b) What are the main strengths of the Formal Software Process Model ? (c) Why is the Software Process Mode

Define Requirement Engineering. Requirement Engineering is a process that includes all of the activities needed to create and maintain a system requirements document. The fo

What is Relationship Entities are associated to each other by relationships. It denotes how two entities are associated. A diamond notation with name of relationship signifi

How to compute the cyclomatic complexity? The cyclomatic complexity can be calculated by any one of the following ways. 1. The numbers of regions of the flow graph correspon

Ask Create an XML file with markup tags and some sample data to represent a list of invoices.

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

Q. Illustrate Basic COCOMO model? Basic COCOMO model:- It provides an order of magnitude of cost. This model utilizes estimated size of software project and the type of softwar