Software Testing Learning Hub

Software Testing Metrics and its Advantages

Software Testing Metrics plays import role in measurement of Quality deliverable in the project. Its gives you lot of important information in all phases of software testing.

also it helps to improve the process and quality of the software.

What is Software testing Metrics?

Definition : Software Testing Metrics is a Measurement Based Technique which is applied to processes, products and services to supply engineering and management information and working on the information supplied to improve processes, products and services, if required.

Advantages:

  • Metrics is used to improve the quality and productivity of products and services thus achieving Customer Satisfaction.
  • Easy for management to digest one number and drill down, if required.
  • Different Metric(s) trend act as monitor when the process is going out-of-control.
  • Metrics provides improvement for current process.

Based on the types of testing performed,There are 3  types of software testing metrics:

  1. Manual Testing Metrics
  2. Automation Testing Metrics
  3. Performance Testing Metrics

Manual Test Metrics :

  • Test Case Productivity : It is ” No of Steps written/Hours Spent”  step/hr
  • Defect Acceptance:   It is “No of Valid Defects/total No of Defects logged”
  • Defect Rejection : It is ” No fo Defects Rejected/total No of Defects”
  • Bad Fix Defect:  It is “total no of Bad fix Defects/Total No of Valid Defects”
  • Test Execution Productivity : It is ” No of Tests Executed/Hours Spent”  tests/hr
  • Test Efficiency : It is ” (No of valid defects found before release by QA/(No of valid defects found before release by QA + No of valid defects found before release by Customer/User)*100)   %

in similar way you can derive the different test metrics for Automation and Performance testing.

There are few other important testing metrics

Effort Variance can be calculated as  {(Actual Efforts-Estimated Efforts) / Estimated Efforts} *100

Schedule Variance: It can be calculated as {(Actual Duration – Estimated Duration)/Estimated Duration} *100

Schedule Slippage:  it can be calculated as ((Actual End date – Estimated End date) / (Planned End Date – Planned Start Date) * 100