Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


what is cyclomatic complexity and what is the formula used
for it

Answers were Sorted based on User's Feedback



what is cyclomatic complexity and what is the formula used for it..

Answer / sunny

Cyclomatic complexity: Is a metric that provides a
quantitative measure of the logical complexity of a
program.It defines number of independent paths in the basis
set.

Cyclomatic comlexity V(G)=

--> Number of edges-number of nodes + 1
--> Number of predicate nodes + 1
--> Independent region + 1

Note: Predicate nodes means conditions.

thanx

Is This Answer Correct ?    20 Yes 9 No

what is cyclomatic complexity and what is the formula used for it..

Answer / ankita agrawal

1.) no. of regions of the flow graph correspond to the
cyclomatic complexity.
2.)cyclomatic complexity, V(G), for a flow graph, G, is
defined as V(G)=E-N+2
where E is the no. of flow graph edges, N is the no. of
flow graph nodes.
3.)cyclomatic compexity, V(G)=P+1
where, P is the no. of predicate nodes contained in the
flow graph G.

Is This Answer Correct ?    12 Yes 3 No

what is cyclomatic complexity and what is the formula used for it..

Answer / mfsi_priyankaa

Cyclomatic complexity is used to indicate the complexity of
a program. It directly measures the number of linearly
independent paths through a program's source code.

No. of decision + 1.
and L-N+2P
L=no. of edges
N=no. of nodes
P=no. of independent path (1)

Is This Answer Correct ?    5 Yes 0 No

what is cyclomatic complexity and what is the formula used for it..

Answer / suneel reddy

cyclomatic complexity measures the quantitative measure of
the logical complexicity
NO of conditions+1

Is This Answer Correct ?    11 Yes 7 No

what is cyclomatic complexity and what is the formula used for it..

Answer / gopaldas

Cyclomatic complexity is no of independent paths in a
program.It is calculated using the formula L-N+2P where L
is no of links,N is no of nodes and P is no of independent
paths

Shortcut for calculating CC:

No of Decisions + 1

Is This Answer Correct ?    6 Yes 5 No

what is cyclomatic complexity and what is the formula used for it..

Answer / dipti surve

cyclomatic complexity is technique of whitebox testing. its
requires internal logic. i.e.coding part
Cyclomatic comlexity V(G)=

--> Number of edges-number of nodes + 1
--> Number of predicate nodes + 1
--> Independent region + 1

Is This Answer Correct ?    7 Yes 8 No

what is cyclomatic complexity and what is the formula used for it..

Answer / vedha_sathya

cyclomatic complexity measures the quantitative measure of
the logical complexicity
NO of conditions+1

Is This Answer Correct ?    5 Yes 9 No

what is cyclomatic complexity and what is the formula used for it..

Answer / vedha_sathya

cyclomatic complexity measures the quantitative measure of
the logical complexicity
NO of conditions+1

Is This Answer Correct ?    2 Yes 6 No

Post New Answer



More Manual Testing Interview Questions

In my application, date box is present on every screen. As a tester I have to test it on every screen. So need to write test case for it. If I write a test case for Date box only once & I refer that test case for next screen date box testing. Is it Ok?? E.g. Test case name - Date Box test Test Case Id - 01 If I want to write test case for Date box on New screen/module. Then is it OK?? Test Case Name - Date Box test Test Case Id - 20 Test Steps - Refer steps of test case id-01

3 Answers  


how will you define your bug status flow in softsmith qamonitor?

2 Answers  


plz explain about tracebility matrix with example? thanks in advance

2 Answers  


What is meant by Test Methodology?

4 Answers   Blackmagic Design,


Who will participate in testcase review?

2 Answers  






What was a problem you had in your previous assignment (testing if possible)? How did you resolve it? (eswar)

1 Answers  


Hi friends Does anyone have screen shot of POWERMHS and please can anyone post anything which will be helpful to understand POWERMHS. thanks.

0 Answers  


1.Tell me negative test cases for notepad 2.Tell me the factors for for writing severity based test cases

1 Answers   Syntel,


Is compatabilitytestig and port testing are same

0 Answers  


wat if fiddler and how it is used in tesing an application. please explain with a real time scenario

0 Answers  


What are the different is manual database checking types?

0 Answers  


what is basis for testcase review?

5 Answers   Verizon,






Categories