Can u please explain wat is Cyclomatic Complexity?and wat
is incident?
Answers were Sorted based on User's Feedback
Answer / revati
Cyclomatic Complexity(CC):
The number of independent paths through a program.
You can count CC with 3 different ways .
1. CC = Edges - Nodes + 2
2. CC = Predicate Node(which has 2 paths) + 1
3. CC = Bounded or Closed region + 1.
Other than above the easiest way to calculate CC is to sum
the number of binary decision statements(e.g. if, while,
for etc) and add 1 to it.
Incident:
It is an event that occures during testing requires further
investigation.
An incident is any situation where the system exhibits the
questionable behavior, but often to refer to an incident as
a defect only when the root cause is some problem in the
item we're testing.
Other causes of incidents include misconfiguration or
failure of the test environment, corrupted test data, bad
tests, invalid expected results and tester mistakes.
| Is This Answer Correct ? | 3 Yes | 1 No |
Cyclomatic complexity is a software metric, It used to
measure the complexity of a program. It directly measures
the number of linearly independent paths through a program's
source code.
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.
Here main things is of identifying predicates or decision
points ( predicate node means edge connectin two nodes).
Incident:- Its unusual or unespected behaviour that occurs
or occured in the software or appplication is caled incident
specifically designated for the task beforehand or on the
spot, It can be a hardware problem too.
It can be produced or may not be produced
| Is This Answer Correct ? | 2 Yes | 0 No |
what is monkey testing?
how can u do database testing manually?
Define each of the following and explain how each relates to the other: Unit, System, and Integration testing.
Tell me about SOFTWARE DEVELOPMENT LIFE CYCLE? Explain in brief?
what statements did Philip Crosby use to capture the essence of the Quality Assurance discipline?
What is bug priority?
How do we do "cookie Testing" in web based testing. what we check in that testing,anybody can explain in detail. Thanks in advance.
Is Test plan a running document or a fixed document?
what are the contents of a test plan?
Explain prototype model?
What is difference b/w Windows XP & Windows NT
hi all, i am new to testing environment.i have two questions 1.what is the difference between volume test and load test.? 2.generally ,what is the output for stress testing.?because it is beyond the limit.and what is the use of stress testing?