The Fundamentals of Software Testing for Amateurs, Professionals, Novices and Experts. Welcome to the Glamorous World of Software Testing. Jim Morrison said, "Let's just say I was testing the bounds of society. I was just curious."

Defect Age

Defect Age can be measured in terms of any of the following:
  • Time
  • Phases
DEFECT AGE (IN TIME)

Definition

Defect Age (in Time) is the difference in time between the date a defect is detected and the current date (if the defect is still open) or the date the defect was fixed (if the defect is already fixed).  

Elaboration

The 'defects' are:
  • confirmed and assigned (not just reported).
  • Dropped defects are not counted.
The ‘difference in time’ can be calculated in hours or in days.

‘fixed’ means that the defect is verified and closed, not just ‘completed’ by the developer.

Example

If a defect was detected on 01/01/2009 10:00:00 AM and closed on 01/04/2009 12:00:00 PM, the Defect Age is 74 hours.

Defect Age Formula

Defect Age in Time

Normally, average age of all defects is calculated.

Uses
  • For determining the responsiveness of the development/testing team. Lesser the age better the responsiveness. 

DEFECT AGE (IN PHASES)

Definition

Defect Age (in Phases) is the difference in phases between the defect injection phase and the defect detection phase. 

Elaboration

‘defect injection phase’ is the phase in the software life cycle where the defect was introduced.

‘defect detection phase’ is the phase in the software life cycle where the defect was identified.

Defect Age Formula

Defect Age in Phases

Normally, average of all defects is calculated.

Example

Let’s say the software life cycle has the following phases:
  1. Requirements Development
  2. High-Level Design
  3. Detail Design
  4. Coding
  5. Unit Testing
  6. Integration Testing
  7. System Testing
  8. Acceptance Testing
If a defect is identified in ‘System Testing’ and the defect was introduced in ‘Requirements Development’, the Defect Age is 6.

Uses

For assessing the effectiveness of each phase and any review/testing activities. Lesser the age better the effectiveness. 

PROBABLY RELATED POSTS



0 comments:

Post a Comment

Software Testing Fundamentals is dedicated to providing you relevant information on the basics of various aspects of software testing. The field of Software Testing, as opposed to Software Development, might not look glamorous to some but it is exciting to many of us and this site is devoted to share that excitement along with valuable information. Most of the articles here are compilations from various resources and experiences. In no way do we claim that we are the authoritative voice in this field and all our articles are open for discussion (See the open comment boxes). We advise you to apply the knowledge gained from this site at your own discretion. Nevertheless, we are committed to thorough research and we always welcome your contribution. And, of course, we will appreciate your reporting of any defects or enhancements you encounter on this site.