Answer Posted / vidya
Cyclomatic complexity is a software metric (measurement).
It was developed by Thomas McCabe and is used to measure
the complexity of a program. It directly measures the
number of linearly independent paths through a program's
source code. It is computed using a graph that describes
the control flow of the program. The nodes of the graph
correspond to the commands of a program. A directed edge
connects two nodes if the second command might be executed
immediately after the first command.
Definition
M = E − N + 2P
where
M = cyclomatic complexity
E = the number of edges of the graph
N = the number of nodes of the graph
P = the number of connected components.
"M" is alternatively defined to be one larger than the
number of decision points (if/case-statements, while-
statements, etc) in a module (function, procedure, chart
node, etc.), or more generally a system.
Separate subroutines are treated as being independent,
disconnected components of the program's control flow graph.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you train another QA engineer?
How is negative testing different from positive testing?
What is maturity level?
Mention some of the types of software testing?
Any Automation tool in the market to help quality test team members communicate with each other? While server startup or restart Which Will inform each member .
List out the roles of quality assurance engineer?
What are test driver and test stub and why it is required?
How to log defect in HP ALM
In Software Development Team, Who has the biggest and smallest salary? Can You list all of it? It say that SQA Tester is the smallest one, Is it right?
What is binary portability testing?
Can anyone please tell me how to export the requirements from QC 9.2 to excel file.
Explain stress testing, load testing and volume testing?
What are the types of documents in sqa?
What are the benefits of destructive testing?
Hi I m working as a sqa engineer and after 1 yr i want to switch to system analyst side kindly tell me how both fields relate each other and is this easy to switch job from qa to system analyst and what's the difference b/w both fields.