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 does data dictionary contains, What does data dictionary contains? ...

What does data dictionary contains? Name: The primary name of the data. Alias: other names used Where-used/How-used: A record of processes that use the data or control it

Describe briefly on the seven stages in a product life cycle, Problem 1: ...

Problem 1: Describe briefly on the seven stages in a product life cycle. Problem 2: What do you meant by SSAD? Explain in detail. Problem 3: What is a predictiv

Software configuration management , Software configuration management is a...

Software configuration management is an umbrella activity which is applied by the software procedure. SCM identifies controls, audits and reports modifications that invariably occ

What is recovery/error testing, Recovery/error testing is testing how well ...

Recovery/error testing is testing how well a system recovers from crashes, hardware failures, or other catastrophic problems.

Different phases of spiral model, Four Different Phases of spiral model are...

Four Different Phases of spiral model are: 1) Planning  2) Risk analysis 3) Development 4) Assessment

Explain basic execution time model, Q. Explain Basic Execution Time Model? ...

Q. Explain Basic Execution Time Model? The model was developed by the J.D. MUSA in 1979(MUSA79) and is based on execution time. It is presumed that failures may occur according

What is data binding, Q. What is Data Binding? Ans. The matrix that at...

Q. What is Data Binding? Ans. The matrix that attempts to imprison the module-level concept of coupling is data binding. Data binding are a calculate that captures the data in

What is black box and white box testing techniques, Software Project Manage...

Software Project Management 1. What is black box and white box testing techniques? 2. Describe different roles of the software development? 3. List out different project

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