what is cyclomatic complexity ?

Answers were Sorted based on User's Feedback



what is cyclomatic complexity ? ..

Answer / rathnapriya

Cyclometric complexity or conditional complexity is
software metric used to measure the complexity of the
software program.It measures the linear independent paths
that passes through the program source code.

formula for cuclometric complexity is
M= E-N+2P

Where M is cyclometric complexity
E is the number of the edges in the graph
N is the number of the nodes in the graph
P is the number of connected components

Is This Answer Correct ?    3 Yes 0 No

what is cyclomatic complexity ? ..

Answer / janaki

for a particular flow diagram it is the no of conditions+1

Is This Answer Correct ?    0 Yes 2 No

what is cyclomatic complexity ? ..

Answer / anjani dubey

Cyclomatic complexity is the most widely used member of a
class of static software metrics.
Cyclomatic complexity may be considered a broad measure of
soundness and confidence for a program.It is often used in
concert with other software metrics. As one of the more
widely-accepted software metrics it is intended to be
independent of language and language format.
Cyclomatic complexity has also been extended to encompass
the design and structural complexity of a system.
The cyclomatic complexity of a software module is calculated
from a connected graph of the module

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QA Concepts Interview Questions

What is the difference between Bug and Issue?

2 Answers  


what is build acceptance test?

7 Answers  


Explain what is the rule of a "test driven development"?

0 Answers  


When do you think qa activities should start?

0 Answers  


What is 'Context Driven Testing' in Agile Method?

3 Answers   L&T,






what is Bottle Neck testing??

2 Answers  


What are the automation challenges that sqa(software quality assurance) team faces while testing?

0 Answers  


Difference between Quality control and Quality Assurance?

4 Answers   Cap Gemini, CTS,


When there is a new enhancement, what kind of test cases will you write and how will you ensure that everything is covered

2 Answers   FIC,


What is the differance between QA & Qc?? and brief introduction of QA & QC's role in testing??

2 Answers  


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

1 Answers  


write bug due for a web app in which a text field "phone number" which should allow only 10 numbers,but allows chars, special char and more than 10 numbers in to the field?

2 Answers   NTT Data,


Categories