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
What is cyclomatic complexity? Cyclomatic complexity is software metric that gives the quantitative measure of logical complexity of the program. The Cyclomatic complexity e

Define Verification &Validation. Verification: The set of activities that make sure that software correctly executes a specific function. Validation: The set of activiti

What is a data object? Data object is a collection of attributes that act as an aspect, characteristic, quality, or descriptor of the object.

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

Compare and contrast two operating systems

Bottom-up integration This testing starts construction and testing with the components at the lowest levels in the program structure.

Top down design: A top down design approach begins by identifying the main modules of the system, decomposing them into their lower level modules and iterating unless the desired

What are the different architectures developed during BPE? Data architecture framework for the information requires of a business. Application architecture incorporates the


Q. Explain Test data generators - testing tools? Test data generators: this is a hard one and at lease for the present is one for which no general solution exists. One of the