Compute the mccobes cyclomatic complexity, Software Engineering

Assignment Help:

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


Related Discussions:- Compute the mccobes cyclomatic complexity

Applications of a stochastic model , Aims: The aims of this report are to e...

Aims: The aims of this report are to enable you to explore the background, motivations, history,  development and/or applications of one of the stochastic models.   You may choose

Srs, Why is SRS document known as black box specification of a system

Why is SRS document known as black box specification of a system

Explain iso 9000, Explain ISO 9000 ISO 9000 An international set o...

Explain ISO 9000 ISO 9000 An international set of standards for quality management. Applicable to a range of organisations from manufacturing to service industries.

Illustrate about web-testing, Illustrate about web-testing - Web testin...

Illustrate about web-testing - Web testing is software testing concentrating on web applications. - It assists in addressing issues before making the application live to pub

Explain the data flow diagram, Define Data Flow Diagram. A Data flow di...

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

Write down any four application of a stack, Write down any four application...

Write down any four application of a stack. (i)  Conversion of infix to postfix form (ii)  Reversing of a line. (iii) Removal of recursion (iv) Evaluating post fix expression

Why decision tables are not used in boundary value, Why decision tables are...

Why decision tables are used in many cases instead of boundary value and equivalence partitioning analysis? - A decision table is an efficient way to deal with combinations of

Explain the software design, Define Software design. a. Software desig...

Define Software design. a. Software design is a step by step process through which requirements are translated into a "blue print" to construct the software. b. The blue pr

Calculate the development time, Q. Assuming the Putnam model and given S = ...

Q. Assuming the Putnam model and given S = 100,000 C = 5000 and D 0 = 15 calculate the development time t d.  Ans: In Putnam model (S/C ) 3 = D 0 t d 7 lhs = 20

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd