4.defect Report
4.defect Report
DEFECT
REPORT
4.0 INTRODUCTION
A software defect arises when the expected result don't
match with the actual results. It can also be error, flaw,
failure, or fault in a computer program.
The variation in the expected and actual results is known as
defects. A defect is an error or a bug in the application.
Defect can be defined as "an inconsistency in the behavior of
the software”
Root causes of defects are:
1. Requirements are not defined clearly by customer.
2. Designs are wrong and not implemented properly.
3. People are not trained for work in collecting requirements.
4. Processes used for product development, testing are not
Examples Of Defective
Statements
1. Accept user details on the registration form
2. Shape of a submit button is circular on one page and rectangular
on another page
3. Functional requirements are collected but non-functional
requirements are not collected
4. After requirement analysis, Feasibility study is skipped and
directly started with designing.
4.1 DEFECT LIFE CYCLE
Defect life cycle also known as Bug Life cycle is
the journey of a defect cycle, through which a defect
goes through during its lifetime.
It varies from organization to organization and also
from project to project as it is governed by the
software testing process and also depends upon the
tools used.
It is a cycle of defects from which it goes through
covering the different states in its entire life.
This starts as soon as any new defect is found by a tester and comes to an
end when a tester closes that defect assuring that it won't get reproduced
again.
1. New: Whenever any new defect is found in application, it is defined as a
"New" state, and validations and testing are performed on this defect in the
later stages of the Defect Life Cycle.
2. Assigned: Newly created defect is assigned to the development team to
work on the defect. This is assigned by the project lead or the manager of
the testing team to a developer. It's state is now defined as "assign“
3. Open: Developer analyzes the defect and works on it and fix it, if
required. If the developer feels that the defect is not appropriate then it may
get transferred to any of the below four states namely Duplicate, Deferred,
Rejected, or Not a Bug-based upon a specific reason.
4. Fixed: When the developer finishes the task of fixing a defect by making
the required changes then it is marked as "Fixed".
5. Pending Retest: After fixing the defect, the developer assigns the
defect to the tester to retest the defect at their end, and until the tester
works on retesting the defect, the state of the defect remains in "Pending
Retest".
6. Retest: At this point, the tester starts the task of retesting the defect to
verify if the defect is fixed accurately by the developer as per the
requirements or not.
7. Reopen: If any issue persists in the defect, then it will be assigned to the
developer again for testing and the status of the defect gets changed to
'Reopen".
8. Verified: If the tester does not find any issue in the defect after being
assigned to the developer for retesting and he feels that if the defect has
been fixed accurately then the status of the defect gets assigned to Verified.
9. Closed: When the defect does not exist any longer, then the tester
changes the status of the defect to "Closed". A few more state includes: .
1. Rejected: If the defect is not considered a genuine defect by
the developer then it is marked as "Rejected by the developer.
2. Duplicate: If the developer finds the defect as same as any
other defect or if the concept of the defect matches any other
defect then the status of the defect changed to 'Duplicate' by the
developer.
3. Deferred: If the developer feels that the defect is not very
important and it can get fixed in the next releases or so in such a
case, he can change status of the defect as 'Deferred.
4. Not a Bug: If the defect does not have an impact on the
functionality of the application, then the status of the defect gets
changed to "Not a Bug"
4.2 DEFECT CLASSIFICATION
1. Requirement Defects: These defects arise in a product when one fails
to understand what is required by the customer.
Requirement defects may be due to customer gap, where the customer is
unable to define his requirements or producer gap, where developing team is
not able to make a product as per requirements.
Requirement-related defects may be further classified as given below:
(A) Functional defects are mainly about the functionalities
present/absent in the applications which are expected/not expected by the
customer.
(B) Interface defects talk about various interfaces essential as per the
requirement statement. Generally, these defects may be due to user
interface problems, problems with connectivity to other systems
including hardware, etc.
4.2 DEFECT CLASSIFICATION
Defects may be a result of wrong implementation of
requirements, something missing that is required by the
customer or putting something more (extra) than required.
Defects may be classified in different ways under different
schemes. Defect
classification
Requirement
Design Defects Testing Defects Coding Defects
Defects
-System
-Test
interface -Initialization
-Functional environment
-User interface -Database
-Interface -Test tool
-Module related.
-test design
-Algorithmic
4.2 DEFECT CLASSIFICATION
2. Design Defects:
1. These defects generally refer to the way of design creation
or in usage while creating a software product.
2. The customer may or may not be in a position to
understand these defects, if structures are not correct.
3. They may be due to problems with design creation and
implementation during SDLC (Software Development Life
Cycle).
A)Algorithmic defects may be introduced in a product if
designs of various decisions are not handled correctly.
B) Module interface defects are about communication
problem between various modules. If one module gives some
parameters which are not recognized by another, it creates
4.2 DEFECT CLASSIFICATION
Severity Classification:
Critical: Severe impact causing crashes, data loss, or security issues.
Major: Affects major functionality or data; requires urgent fixing.
Minor: Affects minor functionality or non-critical data; easy workaround.
Trivial: No impact on functionality or data; just an inconvenience.
Priority Levels:
High (P1): Immediate fixing required due to severe impact on the application
(e.g., crashes, data loss, security vulnerabilities).
Medium (P2): Fixed in the next release (e.g., non-critical formatting issues).
Low (P3): May not be fixed at all (e.g., spelling mistakes).
DEFECT REPORT
INFORMATION:
Summary: Brief description of the defect with reproduction
details (e.g., browsers, OS used).
Defect Description: Detailed explanation of the defect.
Status: Indicates the defect's current state (open, resolved,
closed, etc.).
Reported By/Reported On: Tester details and the date the
defect was reported.
Version: Version of the application where the defect was found.
Date Raised: Date the defect was reported.
Detected By: Tester who raised the defect.
Fixed By: Developer who fixed the defect.
Date Closed: Date the defect was closed.
ASSIGNMENTS
WRITE DEFECT REPORT IN ABOVE
FORMAT
1. Incorrect total calculation in shopping
cart
2. Missing 'Forgot Password' link
3. Instagram Profile picture upload not
working