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

Write definition of erd, Write definition of ERD? Entity Relationship D...

Write definition of ERD? Entity Relationship Diagram shows the graphical presentation of the object relationship pair. It is above all used in database applications.

What are the advantages of vertical partitioning, What are the advantages o...

What are the advantages of vertical partitioning? i. These are simple to maintain changes. ii. They decrease the change impact and error propagation.

What is the purpose of timeline chart, What is the purpose of timeline char...

What is the purpose of timeline chart? The purpose of the timeline chart is to emphasize the scope of the individual task. As set of tasks are given as input to the timeline ch

Explain some of the limitations of testing, Explain some of the limitations...

Explain some of the limitations of testing. Though testing is an significant part of system development and leads to a valid,  verified and efficient system, it also faces some

What is test file generators and test harness systems, Q. What is Test file...

Q. What is Test file generators and test harness systems? Test file generators: This creates a file of information that is utilized as the program and does so based on commen

SQA, Explain an error checklist for inspection in detail.

Explain an error checklist for inspection in detail.

What is recovery testing, What is recovery testing? Recovery testing is...

What is recovery testing? Recovery testing is a system test that forces the software to fail in a various of ways and verifies that recovery is properly done.

State the term- enginnering the product, Enginnering the product Becaus...

Enginnering the product Because of complexity involved in software development, engineering approach is being used in software design. Use of engineering approach in area of re

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