how to detect the error rate of a program
Page 1 of 1

Author:  bughunter [ Tue Nov 25, 2014 9:25 pm ]
Post subject:  how to detect the error rate of a program


what is a good method to detect the error rate (defects per 1.000 loc) of a program?

I'm aware of two methods:

1. needs data from two testers A and B which independently analysed the same code parts. If tester A observed m errors and tester B n errors, whereas
k of the errors were observed by both testers, a rough estimate is (m*n) / k

problem: get data from at least two observers

2. artificially insert m bugs into source code analysed by testers. Assume x bugs were detected in total and z of them were artificial bugs,
then the estimate is (x-z)*(m/z)


Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group