3 ms·
That's typically the Lincoln-Petersen Estimator. You can use this type of approach to estimate the number of bugs in your code too! If reviewer A catches 4 bugs
by pants2 3y ago
That's typically the Lincoln-Petersen Estimator. You can use this type of approach to estimate the number of bugs in your code too! If reviewer A catches 4 bugs, and reviewer B catches 5 bugs, with 2 being the same, then you can estimate there are 10 total bugs in the code (7 caught, 3 uncaught) based on the Lincoln-Petersen Estimator.
- mewpmewp2 3y agoBut this implies that all bugs are of equal likelihood of being found which I would highly doubt, no?
- pants2 3y agoYes, it's obviously not a perfect estimate, but can be directionally helpful. You could bucket bugs into categories by severity or type and that might improve the estimate, as well.
- cpeterso 3y agoA similar approach is “bebugging” or fault seeding: purposely adding bugs to measure the effectiveness of your testing and to estimate how many real bugs remain. (Just don’t forget to remove the seeded bugs!) https://en.m.wikipedia.org/wiki/Bebugging https://en.m.wikipedia.org/wiki/Bebugging
- rightbyte 3y agoOh this is a really interesting concept. I guess it underestimates the number hard to find bugs though since it assumes same likelyhood to be found.