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 stages in test plan?
From whom do u gather the use case document?
How would u test and automate an Antivirus application ?
Types of reviews and explain them????
what is the difference between primary key and foreign key
What is Buddy testing?
Should Tester have to write separate test cases document for Functional testing, UI testing, Regression Testing, Stress testing etc....?
how recovery manager works in winrunner
is gorilla testing & monkey testing is same r not?
difference between change management and configuration management
what is the diff between testing and debugging
1. fault based testing is reversed of which testing? option.1 conventional software testing Option 2Operations and classes that are critical or suspect Option 3 Use-case validation Option 4White-box testing of operator algorithms 2. Testing OO class operations is made more difficult by Option 1 Encapsulation Option 2 Inheritance Option 3 Polymorphism Option 4 Both Inheritance and Polymorphism 3. Which of these techniques is not useful for partition testing at the class level Option 1 attribute-based partitioning Option 2 category-based partitioning Option 3 equivalence class partitioning Option 4 state-based partitioning 4.Client/server architectures cannot be properly tested because network load is highly variable. Option 1 true Option 2 false 5. Real-time applications add a new and potentially difficult element to the testing mix Option 1 performance Option 2 reliability Option 3 security Option 4 time 6.Which one is not key term used in internal control and security Option 1 Threat Option 2 Risk Control Option 3 Vulnerability Option 4 Exposure 7.Acceptance testing occurs only at the end point of the development process; it should be an ongoing activity that test both interim and final products. Option 1 true Option 2 false 8.Static testing requires...? Option 1 Binaries Option 2 Source code Option 3 Product Option 4 Executables 9.etesting is testing the application with multiple sets of data is called retesting Option 1 true Option 2 false