Age Testing in Software
Prerequisite – Software Testing
Age Testing :
Age testing is a type of software testing which is performed to evaluate the system’s performance in future means this testing tells that how the system will behave in future after its getting older or after used for a certain period of years. With the help of Age testing, the ability of future performance is evaluated. When different types of software testing are performed by the tester team during that period this Age testing is also performed. Age testing is an approach to know the durability of the system/software. This age testing report not only helps in detecting future performance of the system but also it helps in future improvement of the system. As based on the Age testing report new modifications, updates, features are also added accordingly.
Defect Age is the basis on which Age testing is performed. So before knowing about Defect Age, Lets first know what is referred as Age in a system/software then we will know about Defect Age in software.
In this world, everything that may be a living entity or an non-living entity has an age of sustainability. After a certain period, everything comes to end of its life with variation in performance. Similarly a software/system has its time of sustainability. So, due to aging a software lacks in performance and different defects arise.
There are different problems associated with aging of a software like
- Security of software
- Obsolete libraries and packages
Defect Age :
Defect is something due to which a software behaves abnormally. Defects are identified and fixed also by following a Defect/Bug Life Cycle. So, defect has also an age. The Defect Age is calculated based on two factors/parameters i.e.
1. Defect Age in Time :
Defect Age in Time is the difference between the time of defect detection and defect fixing. Means when the testing team identified the defect and when the defect is fixed. The defect fix date may be the past date on which it is fixed or the current date if still the defect is open/unsolved. Mainly this defect age is calculated in days or in hours.
Defect Age in Time
= Defect Fix/Solve Date (OR Current Date) – Defect Detection/Identification Date
For example a defect identified on 5/11/20 and the defect fixed on 20/11/20. So, the defect age is 15 days.
2. Defect Age in Phase :
Defect Age in Phase is the difference between the phases of defect injection phase and defect detection phase. Means on which phase the defect is identified and on which phase the defect is introduced/originated. Here the phase refers to the different phases of SDLC (Software Development Life Cycle).
Defect Age in Phase
= Defect Detection/Identification Phase – Defect Injection/Originate Phase
For example a defect identified in Integration Testing Phase but the defect introduced in Coding phase. So, the defect age is 2.
Where SDLC phases are like :
- Requirements Development
- Unit Testing
- Integration Testing
- System Testing
- Acceptance Testing
Defect Spoilage :
Defect spoilage refers to the factors for which it becomes very difficult to identify and debug a defect for the tester. High defect spoilage value refers that defect detection is so difficult and lower defect spoilage value refers that defect detection is easy to detect and debug.
It can be calculated by:
= (Total number of defects in one phase * defect discover phase)/ Total number of defects found.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.