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
Define Data Flow Diagram. A Data flow diagram is a graphical description that depicts information flow & the transforms that are applied as data move from input to output. T

Grey box testing is a software testing method that uses a combination of black box testing and white box testing. Gray box testing is not the black box testing, because the tester

What is the use of Architectural design? The Architectural design explains the relationship among major structural elements of the software, the "design patterns" that can be u

Q. Explain about Total Quality Management? TQM is a part of management practices throughout the organization, geared to make sure the organization consistently exceeds or meets

Define the meaning of Code Inspection - A formal testing technique where programmer reviews source code with a group who ask questions analyzing program logic, analyzing code

Problem: (a) Using a diagram, explain the four central concepts and the four phases of the Rational Unified Software Development Process. (b) Explain with an example what

What is Vertical partitioning 1. The Control & work should be Modular Hierarchy for each distributed top-down in the program major program function structure 2. Higher prob

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

Smoke testing It decreases the integration risk. Error diagnosis and correction are simplified

Write short note on the various estimation techniques. Algorithmic cost modelling - the cost estimation is depend on the size of the software. Expert judgement - The experts fr