Compute the mccobes cyclomatic complexity, Software Engineering

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

Posted Date: 7/26/2013 3:56:54 AM | Location : United States







Related Discussions:- Compute the mccobes cyclomatic complexity, Assignment Help, Ask Question on Compute the mccobes cyclomatic complexity, Get Answer, Expert's Help, Compute the mccobes cyclomatic complexity Discussions

Write discussion on Compute the mccobes cyclomatic complexity
Your posts are moderated
Related Questions
QUESTION 1 (a) Suggest how the atomicity of EV1 "Request for estimate" could be improved (b) Document any five events listed above (Tip: state the actor, system agent, input

What is Process improvement? Understanding existing processes and introducing process changes to improve product quality, decrease costs or accelerate schedules. Most proces

Question: (a) Briefly explain the following concepts: (i) Encapsulation and its advantages (ii) Abstract class and its use (iii) Polymorphism and its advantages (b)

Write the Problems with the CMM. Practices associated with model levels Companies could be using practices from dissimilar levels at the same time but if all practices

Q. Management Issues in software development? Management Issues:-Project managers typically write the risk management plan and most people don't wish to air their weaknesses in

how to make timeline chart for timetable generation system

What are the different types of Cohesion? i. Coincidentally cohesive -The modules in which the set of tasks are related with each other loosely then such modules are called as

"Upwardly compatible software" is software that is compatible with a later or more difficult version of itself. For example, an upwardly compatible software is able to occur files

Ask Create an XML file with markup tags and some sample data to represent a list of invoices.

Requirement traceability matrix RTM is a matrix tying up needs with the testcases. It is a way of making sure that each requirement has a corresponding testcase which will be t