Evaluate mccabes cyclomatic complexity, Software Engineering

Assignment Help:

Q. For the flow graph showed in figure compute McCabe's Cyclomatic Complexity.

2354_Evaluate McCabes Cyclomatic Complexity.png

Ans: In this flow graph Number of regions are 5 hence the Cyclomatic complexity is

= 5

OR

No of edges = 10

No of nodes (N) = 7

Therefore Cyclomatic complexity + E-N+2 = 10-7+2 = 5


Related Discussions:- Evaluate mccabes cyclomatic complexity

What are the levels of testing, What are the two levels of testing? i. ...

What are the two levels of testing? i. Component testing Individual components are tested. Tests are produced from developer's experience. ii. System Testing The group

How many types of project plan, How many types of project plan. Quality...

How many types of project plan. Quality plan - This plan describes the quality techniques and standards that will be used in a project. Validation plan - This plan explains the

What are the rules for making DFD, What are the Rules for making DFD   ...

What are the Rules for making DFD   The below factors must be considered when making DFDs:  1.   Keep a note of all processes and external entities. Give unique names to th

What is the objective of regression testing, The aim of regression testing ...

The aim of regression testing is to test that the fixes have not formed any other problems elsewhere. The aim is to ensure the software has remained intact. A baseline set of data

What is test documentation, Documentation explaining plans for, or results ...

Documentation explaining plans for, or results of, the testing of a system or component, Types contain test case specification, test incident report, test log, test procedure, test

Define in brief about the silktest agent, Define in brief about the SilkTes...

Define in brief about the SilkTest Agent SilkTest component which receives testing commands from SilkTest Host and interacts with AUT (Application under Test) directly. SilkT

Driven development, what is driven development?give example what benifit of...

what is driven development?give example what benifit of driven development

Software myth, how does software myth affects software process

how does software myth affects software process

What is top-down testing, An integration testing methods that tests the hig...

An integration testing methods that tests the high-level components first using stubs for lower-level known as components that have not yet been integrated and that stimulate the n

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