Powered by Blogger.

Saturday, March 15, 2014

What is Defect Age in software testing?

In this post we will discuss about defect age in software testing. Also you can check out my previous posts on:

- Automated Performance Testing and its Parameters

- QuickTest Testing Process

- How to do Web Application Testing?

Defect Age can be measured in two ways in the world of Software testing:
      1. Time
      2. Phases

DEFECT AGE (In terms of TIME):
i. Defect Age is the difference between the date a defect is detected and the current date (incase the defect is still open) or the date the defect was fixed (incase the defect is already fixed).
ii. The 'defects' are confirmed and assigned (not just reported).
iii. Dropped defects are not counted.
iv. The difference in time can be calculated in hours or in days.
v. 'Fixed defect' means,the defect is verified and closed.Not only just ‘fixed’ by the developer.
vi. Defect Age in Time = Defect Fix Date (OR Current Date) – Defect Detection Date
vii. Normally, average age of all defects is calculated.
viii. Example: If a defect was detected on 01/01/2013 10:00:00 AM and closed on 01/04/2013 12:00:00 PM, the Defect Age is 74 hours.

DEFECT AGE (In terms of PHASES):

i. Defect Age is the difference in phases between the defect injection phase and the defect detection phase.
ii.‘Defect injection phase’ is the phase in the software life cycle where the defect was introduced.
iii. ‘Defect detection phase’ is the phase in the software life cycle where the defect was identified.
iv. Defect Age in Phase = Defect Detection Phase – Defect Injection Phase
v. Example:Consider that the software life cycle has the following phases:

                  a. Requirements Gathering
                  b. High-Level Design
                  c. Low level Design
                  d. Coding
                  e. Unit Testing
                  f. Integration Testing
                  g. System Testing
                  h. Acceptance Testing

If a defect is identified in System Testing and the defect was introduced in Requirements Development, the Defect Age is 6.