Thursday, April 12, 2012

Software Testing Metrics


1. Cost of finding a defect in testing (CFDT)
= Total effort spent on testing / defects found in testing

Note: Total time spent on testing including time to create, review, rework, execute the test cases and record the defects. This should not include time spent in fixing the defects.

2. Test Case Adequacy: This defines the number of actual test cases created vs estimated test cases at the end of test case preparation phase. It is calculated as
No. of actual test cases / No: of test cases estimated

3. Test Case Effectiveness: This defines the effectiveness of test cases which is measured in number of defects found in testing without using the test cases. It is calculated as
No. of defects detected using test cases*100/Total no: of defects detected

4. Effort Variance for Testing
{(Actual Efforts-Estimated Efforts) / Estimated Efforts} *100

5. Schedule Variance: It can be calculated for Testing as
{(Actual Duration - Estimated Duration)/Estimated Duration} *10

1 comment:

  1. Hi
    With Ref to Point#3
    1) Is it No of defects reported or No of defects accepted.? Reason there is always a conflict between Test Team & Dev team.

    ReplyDelete