Tuesday, January 29, 2008

Software Test Metrics

We come across different kinds of software testing metrics during testing which are very helpful during test strategy and test planning .

Below are few software testing metrics.

1) Test coverage metrics :

(No of requirements covered for test case development) / (Total no of requirements)

2) Test case design productivity :

(No of test cases developed) / (Engineering day)

Here 1 engineering day is 8 hours.

Standard value for test case design productivity is 25 to 30.

3) Test case execution productivity :

(No of test cases executed) / (Engineering day)

Standard value for test case execution productivity is 30 to 35.

Test effort estimation

1) Schedule variance = ((Estimated Schedule – Actual Schedule)/Estimated Schedule)) * 100

2) Effort variance = ((Estimated effort – Actual effort)/Estimated effort)) * 100

Defect metrics

1) Defect prevention ratio :

((Sum of all review defects) + (Number of unit test defects) ) / ((Numerator) + (Sum of defects in integration and system testing))

Acceptable value for defect prevention ratio is 0.85

2) Defect detection ratio :

((Sum of all review defects) + (Sum of integration testing and system testing defects)) / ((Numerator) + (Sum of user acceptance testing defects))

Acceptable value for defect detection ratio is 0.98.

Any suggestions for improvements is appreciated.

Best Regards

Narasimha Murthy.

No comments: