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

hi friends, i plan to study istqb certification cource. so any one send me model question paper for me.

1 Answers  


what is system specification ? what is functional specification?

0 Answers  


How many testcases should be there in one project or one requirment?How many test case have you wrote in your last project?

4 Answers  


What is Buddy testing?

2 Answers  


What is the term for decomposing a software program so that latent design information can be extracted? Choice 1 Regression Choice 2 Restructuring Choice 3 Reusability Choice 4 Reverse engineering Choice 5 Reengineering

4 Answers   Brainbench Certification,






Is there any other tool like QC which we can get as open source. the software should be able to write test cases, store documentation, dashboard and bug report. If anyone can suggest me it would be helpful.

2 Answers   Hydus,


what is mutation testing ? when we are using this type of testing?

0 Answers  


different between bitmap checkpoint and image checkpoint ?

1 Answers  


What is exploratory testing and specification-driven testing?

0 Answers  


What is your understanding regarding a test plan?

0 Answers  


What is mr and what information does mr consists of?

0 Answers  


What is the difference between functional and nonfunctional testing?

0 Answers  


Categories