Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: how to detect the error rate of a program
PostPosted: Tue Nov 25, 2014 9:25 pm 
Hello,

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)


Jakob


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Sat Oct 21, 2017 3:54 pm
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group