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

State the software maintenance, What is software maintenance Alters to...

What is software maintenance Alters to the software are made in response to altered requirements but the fundamental structure of the software remains same.

Explain debugging, The act of attempting to verify the cause of the symptom...

The act of attempting to verify the cause of the symptoms of malfunctions noticed by testing or by frenzied user complaints.

Characteristics of an embedded system, Question: a) Draw a diagram show...

Question: a) Draw a diagram showing the parts of an embedded system. b) Give the definition of an Embedded Computer. c) Discuss the similarities and differences between a

Discuss the important issues that a srs must address, Q . Discuss the impo...

Q . Discuss the important issues that a SRS must address. Ans. SRS is the method of establishing the services the system should provide of the system in new it is difficult

Why testing is significant with respect to software, Why testing is importa...

Why testing is important with respect to software? A testing process focuses on logical internals of software ensuring that all statements have been tested and all are function

State the cocomo model, What is COCOMO model? COCOMO stands for COnstru...

What is COCOMO model? COCOMO stands for COnstructive COst MOdel. It is used for cost Effort=a * KDLOCb Where a and b are two parameters of the model whose specific values

What are the elements of design model, What are the elements of design mode...

What are the elements of design model? i. Data design ii. Component-level design iii. Interface design iv. Architectural design

What is upward compression, What is Upward compression? Ans) In software...

What is Upward compression? Ans) In software design, "upward compression" means a type of demodularization in which a subordinate module is copied into the body of a better modu

Define the system requirements, What is meant by System Requirements? ...

What is meant by System Requirements? Place the system services and constraints in detail. Serves as a link between the system purchaser & the system developer.

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