Can u please explain wat is Cyclomatic Complexity?and wat
is incident?

Answers were Sorted based on User's Feedback



Can u please explain wat is Cyclomatic Complexity?and wat is incident?..

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

Can u please explain wat is Cyclomatic Complexity?and wat is incident?..

Answer / a sameer

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

Post New Answer

More Manual Testing Interview Questions

What are the difference between Water fall model and V- Model? Which one is better? Why 80% of Software companies using Water fall model nowadays?

5 Answers   iGate,


What is internatinalisation Testing?

3 Answers   Scandent,


If you have 1000 test cases which takes atleast 4 months for execution and now project has to be delivered within 2 weeks how will you execute your test cases. Which ones should be executed first.

11 Answers   GXS,


1.what si the out come of testing.?

5 Answers  


our testing team is very very small(how do u initiate the team members

1 Answers   HP,






1.register as candidate 2.go to skill set module 3.select any skill for test eg:"java" 4.save, page will open with start button on below 5.click on start button to start test for java this is a flow so do i need write test cases for this if yes,then how? plz help me guyss

1 Answers  


What is CRUD testing

13 Answers  


write test 5 negative test cases for pen?

30 Answers   IBM, Xento,


You have URL address it is opening fine with your team member system but it is not opening in your system browser? How will you come across?

3 Answers   AZTEC,


What are the various techniques in black box testing?

0 Answers  


What about manual testing opening in bangalore in September. Not getting a single interview call from last one month.

0 Answers  


what is Test management fundamental?

0 Answers  


Categories