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
Explain clearly the Agile Process Model

. We discussed the importance of framing a problem in order to understand the problem better and be able to develop a solution more quickly and easily. In this homework, you are


What are the two levels of testing? i. Component testing Individual components are tested. Tests are produced from developer's experience. ii. System Testing The group

How many types of project plan. Quality plan - This plan describes the quality techniques and standards that will be used in a project. Validation plan - This plan explains the

CARS-LMS: In this section let us try to learn about a different software package, which is commonly used in some of the libraries abroad. The package is known as CAIRS/LMS or

Describe the various elements of data design? i. Data object - The data objects are identified and relationships among various data objects are represented using ERD or data di


What is Test phase? Ans) The time period in the software life cycle in which the parts of a software product are evaluated and integrated, and the software product is evaluated

What is statement coverage? Statement coverage is the testing to test each statement in the code has been executed at least once.