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

What is the difference between testing and quality assurance, Differentiate...

Differentiate between testing and QA. - Quality Assurance is more a preventive thing, which ensures quality in company and hence the product instead of just testing the product

What are the benefits of using bi dashboards, Question: (a) Explain wha...

Question: (a) Explain what is meant by Dimensional Modeling as used in Business Intelligence (BI) solutions. (b) There has been a request from the Managing Director of an In

What is the meaning of cardinality in data modelling, What is the meaning o...

What is the meaning of cardinality in data modelling? Cardinality in data modelling, cardinality specifies how the of occurrences of one object is linked to the number of occur

What are the types of static testing tools, What are the types of static te...

What are the types of static testing tools? There are three kinds of static testing tools.  Code based testing tools - These tools take source code as input and get test cases.

What does the insert statement in extract datasets do, What does the insert...

What does the insert statement in extract datasets do? It describes the fields of a field group.

Normalization, normalization Explain its forms in brief

normalization Explain its forms in brief

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

What is cocomo, Software project Management & Quality Assurance 1. Brie...

Software project Management & Quality Assurance 1. Briefly explain various activities involved in project management. 2. What is COCOMO? Write necessary steps for cost estim

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