Defect Management Board Questions With Answer
Defect Management Board Questions With Answer
Topic/Sub Topic
1. Defect classification
4. Defect Template
7. Reporting defect
Define Defect
A Software Defect / Bug is a condition in a software product which does not meet a software
requirement or end-user expectations .
OR
Defect Classification
• Requirement related defects arise in a product when one fails to understand what is required by
the customer.
• These defects may be due to customer gap, where the customer is unable to define his
requirements
• Producer gap, where developing team is not able to make a product as per requirements.
• Design defects occur when system components, interactions between system components,
interactions between the outside software/hardware, or users are incorrectly designed.
• This covers in the design of algorithms, control, logic/ data elements, module interface
descriptions and external software/hardware/user interface descriptions.
• Design defects generally refer to the way of design creation or its usage while creating a product.
Design Defects: Algorithmic Defects
These would encompass incorrect, incomplete, missing inappropriate test cases and test procedures.
• Defects found during Verification and validation process in SDLC must be recorded so that it helps
in further analysis and root causes of the defect.
• The defects found during these phases are used to find weak areas of project /process so that
action can be initiated to strengthening it.
• It is a process of improving quality and productivity by preventing the defects into a software
product.
• Implementation of techniques, methodology and standard processes are used to reduce the risk of
defects.
• Defect prevention is intended to remove the possibility of any defects before it occurs.
• Once the defect is fixed, retested and found to be closed, the product is created again .
• If the newly created product satisfies the acceptance criteria, it is base lined.
• A defect is said to be discovered when it is brought to the attention of the developers and
acknowledged (i.e., “Accepted”) to be valid one.
• Team should find defects before they become major problems. As soon as team finds the defects,
they should report them so that those can be resolved.
• Team should also make sure that defects should be acknowledged by developers and should be
valid one.
• Work by the development team to prioritize, schedule and fix a defect, and document the
resolution.
• This also includes notification back to the tester to ensure that the resolution is verified.
• All problems are due to failure in the process involved in creating software.
• Defects gives an opportunity to identify the problem with process used and update them.
• Analysis and reporting of defect information to assist management with risk management, process
improvement and project management.
Explain defect life cycle diagram and different states.
Defect Life Cycle
New: When the bug is posted for the first time, its state will be “NEW”. This means that the bug is
not yet approved.
Open: After a tester has posted a bug, the lead of the tester approves that the bug is genuine, and
he changes the state as “OPEN”.
Assign: Once the lead changes the state as “OPEN”, he assigns the bug to corresponding developer
or developer team. The of the bug now is changed to “ASSIGN”.
Test/Retest: Once the developer fixes the bug, he must assign the bug to the testing team for next
round of testing. Before he releases the software with bug fixed, he changes the state of bug to
“TEST”.
Deferred: The bug, changed to deferred state means the bug is expected to be fixed in next releases.
Rejected: If the developer feels that the bug is not genuine, he rejects the bug. Then the state of the
bug is changed to “REJECTED”.
Verified: Once the bug is fixed and the status is changed to “TEST”, the tester tests the bug. If the
bug is not present in the software, he approves that the bug is fixed and changes the status to
“VERIFIED”.
Reopened: If the bug still exists even after the bug is fixed by the developer, the tester changes the
status to “REOPENED”. The bug traverses the life cycle once again.
Closed: Once the bug is fixed, it is tested by the tester. If the tester feels that the bug no longer
exists in the software, he changes the status of the bug to “CLOSED”.
Fixed: When developer makes necessary code changes and verifies the changes then he/she can
make bug status as “Fixed‟ and the bug is passed to testing team.
Pending retest: After fixing the defect the developer has given that code for retesting to the tester.
Here the testing is pending on the testers end. Hence its status is pending retest.
Duplicate: If the bug is repeated twice or the two bugs mention the same concept of the bug, then
one bug status is changed to “duplicate“.
Not a bug: The state given as “Not a bug” there is no change in the functionality of the application.
For an example: If customer asks for some change in the look and field of the application like change
Defect Template
Severity
• Severity: Your bug report will also include Severity, which describes the impact of the defect on
the application.
• Severities may be ‘critical, high, medium or low depending on the impact of a defect. Severity
definitions may be as follows:
• 1. S1= Defect where an application fails or particular functionality is completely missing. There is
no work around available.
• 2. S2= Defect where functionality is not available but work around is possible. This may make
customer unhappy but alternate way to achieve same result does exist. 3.
• S3= Defects of very minor nature (such as cosmetic defects) are in this category. Spelling mistakes,
color and font mismatch may be put under least severity defects.
Priority
• Priority is defined based on how the project decides a schedule to take the defects for fixing.
• It is defined based on how many times the defect can be seen by normal users under normal
circumstances, or how many customers are being affected due to this.
• Priority which is related to defect fixing urgency. Priority could be High/Medium/Low based on the
impact urgency at which the defect should be fixed, respectively.
1. P1= Defects having highest probability of affecting the customer. Either it affects most of the
users or it appears at a place where maximum users will be visiting.
2. P2= Defects having lesser probability of affecting customer than P1 defects. They
• Some risks may not have any solutions. e.g., natural disasters.
• The actions to reduce the probability and/or impact of certain risks may be very costly; hence the
organization may not be able to implement them.
• These risks may be accepted by the organization as it is. Such decisions are generally taken by the
senior management.
• They may prepare a fallback arrangement but may not define the ways ofminimizing/eliminating
risks.
• This makes a team psychologically prepared to accept the risk so that the impact on the
organization/project/user can be reduced to some extent.
• Listing of known issues or defects in the product indicates acceptance of risk by the management.
• Customer user are given information about probable failures and effect of such failures.
• lf the approach is very risky to the users/customer, the management may decide to bypass the risk
by avoiding the approach.
• Bypassing of risk is required when the risk faced by the user cannot be accepted, or no action can
be taken to reduce probability/impact arising due to realization of risk.
• Risk minimization has three different methods of handling its probability, impact, or detection
ability.
• The decisions may be driven by organization policy, values, cost-benefit analysis etc..
Eliminate Risk:
• Elimination of risk involves taking steps to remove risk from the root.
• Risk's probability is reduced to almost ‘0’ by removing the causes of risk, so that the risk must not
happen at all.
• Organization user may be protected from the possible losses arising due to risk.
Mitigation of Risk
• Actions initiated by an organization to minimize the possible damage due to realization of risk are
considered mitigation actions.
• Mitigation actions are planned by an organization/project so that if the risk is realized, the impact
due to it can be reduced to minimum possible.
• If people are aware of the risks, they can be well prepared to handle them.
• Generally, detective controls are used to increase the visibility towards risks. Sometimes, detective
controls give threshold to corrective controls.
Contingency Planning:
• They are previously planned ways of tackling risks when all other planned activities for reducing
probability and impact of the risk fail, and the risk becomes reality.
Enlist different techniques for finding defects and describe any one technique
with an example.
❖ Checking the software product and related artifacts without executing them.
❖ The work product is reviewed by the reviewer with the help of a checklist, standards, any other
artifact, knowledge, and experience, to locate the defect with respect to the established criteria.
❖ Dynamic testing is a validation technique which includes dummy or actual execution of work
products to evaluate it with expected behaviour.
❖ The testing methods evaluate the product with respect to requirements defined; designs created
and mark it as ‘pass’ or ‘fail’.
❖ To understand whether the processes defined for development/testing are being followed
correctly or not, and whether they are effective or not.
❖ It also includes revisiting the defects before and after fixing and analysis.
❖ Operational technique may include smoke testing and sanity testing of a work product.
Reporting a Defect
• Defect finding and reporting are the important steps in software development life cycle.
• When we find defect, analyses it, take corrective and preventive actions for further steps. Points
for defects reporting are:
• Give Complete Record of Discrepancies:
• Project manager must conduct complete analysis of how the defect occurred and what was not
done correctly.
• They should perform root-cause analysis to identify and correct the defect and responsible
processes which have resulted into the defect.
• It is the primary activity done by the author or developer responsible for defect fixing.
• In case it is not possible to correct the defect or it is not advisable to do so, it may be noted as
• The status of system with respect to organizational standards and acceptance criteria fulfilment
• Number of defects found and fixed is a major measurement to establish the status of software.
• It helps in informing users, customer, and management about the readiness of an application for
delivery.
• Requirements of any efforts needed for fixing them, and any level of retesting and regression
testing required.
• Defect statistics is used by an organization to plan corrective and preventive actions (CAPA) at
project/organizational level.
• It can be used for benchmarking a product as well as an organization and assessing the quality
Process Improvement:
• Finding and fixing defects cannot improve quality of software as well as productivity of team.