A collection of Software Testing Metrics
Process Metrics • Test Coverage = Number of units (KLOC/FP) tested / total size of the system. (LOC represents Lines of Code) • Number of tests per unit size = Number of test cases per KLOC/FP (LOC represents Lines of Code). • Acceptance criteria tested = Acceptance criteria tested / total acceptance criteria • Defects per size = Defects detected / system size • Test cost (in %) = Cost of testing / total cost *100 • Cost to locate defect = Cost of testing / the number of defects located • Achieving Budget = Actual cost of testing / Budgeted cost of testing • Defects detected in testing = Defects detected in testing / total system defects • Defects detected in production = Defects detected in production/system size • Quality of Testing = No of defects found during Testing/(No of defects found during testing + No of acceptance defects found after delivery) *100 • Effectiveness of testing to business = Loss due to problems / total resources processed by the sy...