Estimating the number of remaining defects after inspection

An essential component of all software inspection processes is a well‐founded decision about continuing or stopping the current process. This decision should be based upon directly relevant quantitative information — the number of defects remaining in the artefact. This quantity can be estimated by the use of capture–recapture methods. Several software engineering papers have explored this topic, but the question of which capture–recapture technique is best still remains unresolved. This paper attempts to shed further light upon this question. After reviewing the relevant capture–recapture models and previous evaluations within a software engineering context, the paper proceeds to evaluate the models by using data collected from subject‐based experiments on software inspection. The experiments used artefacts where the number of defects was known and hence a direct measure of the accuracy of the various capture–recapture techniques was available. The paper reports that most heterogeneity models show, in general, superior performance — especially the Jackknife estimator. However, the paper concludes that further work is required to correct the limitations of the current models if reliable estimates are to be achieved. Copyright © 1999 John Wiley & Sons, Ltd.

[1]  Lionel C. Briand,et al.  Quantitative evaluation of capture-recapture models to control software inspections , 1997, Proceedings The Eighth International Symposium on Software Reliability Engineering.

[2]  E. P. Doolan,et al.  Experience with Fagan's inspection method , 1992, Softw. Pract. Exp..

[3]  Stephen G. Eick,et al.  Estimating software fault content before coding , 1992, International Conference on Software Engineering.

[4]  David R. Anderson,et al.  Statistical inference from capture data on closed animal populations , 1980 .

[5]  Thomas Gilb,et al.  Software Inspection , 1994 .

[6]  Anne Chao,et al.  Estimating Animal Abundance with Capture Frequency Data , 1988 .

[7]  Khaled El Emam,et al.  The repeatability of code defect classifications , 1998, Proceedings Ninth International Symposium on Software Reliability Engineering (Cat. No.98TB100257).

[8]  Michael Fagan Design and Code Inspections to Reduce Errors in Program Development , 1976, IBM Syst. J..

[9]  Kathryn L. Heninger Specifying Software Requirements for Complex Systems: New Techniques and Their Application , 2001, IEEE Transactions on Software Engineering.

[10]  Lionel C. Briand,et al.  Using simulation to build inspection efficiency benchmarks for development projects , 1998, Proceedings of the 20th International Conference on Software Engineering.

[11]  Glen W. Russell,et al.  Experience with inspection in ultralarge-scale development , 1991, IEEE Software.

[12]  Barry W. Boehm,et al.  Software Engineering Economics , 1993, IEEE Transactions on Software Engineering.

[13]  Per Runeson Models for Estimation of Software Faults and Failures in Inspection and Test , 1998 .

[14]  Lawrence G. Votta,et al.  Assessing Software Designs Using Capture-Recapture Methods , 1993, IEEE Trans. Software Eng..

[15]  Claes Wohlin,et al.  An experimental evaluation of capture‐recapture in software inspections , 1995, Softw. Test. Verification Reliab..

[16]  Lionel C. Briand,et al.  A comparison and integration of capture-recapture models and the detection profile method , 1998, Proceedings Ninth International Symposium on Software Reliability Engineering (Cat. No.98TB100257).

[17]  Fraser Macdonald,et al.  Computer Supported Software Inspection , 1999 .

[18]  A. Chao Estimating the population size for capture-recapture data with unequal catchability. , 1987, Biometrics.

[19]  Adam A. Porter,et al.  Comparing Detection Methods for Software Requirements Inspections: A Replicated Experiment , 1995, IEEE Trans. Software Eng..

[20]  Claes Wohlin,et al.  Defect content estimations from review data , 1998, Proceedings of the 20th International Conference on Software Engineering.

[21]  Nader B. Ebrahimi,et al.  On the Statistical Analysis of the Number of Errors Remaining in a Software Design Document after Inspection , 1997, IEEE Trans. Software Eng..

[22]  A Chao,et al.  Estimating population size for capture-recapture data when capture probabilities vary by time and individual animal. , 1992, Biometrics.

[23]  K. Burnham,et al.  Estimation of the size of a closed population when capture probabilities vary among animals , 1978 .

[24]  J. Darroch THE MULTIPLE-RECAPTURE CENSUS I. ESTIMATION OF A CLOSED POPULATION , 1958 .

[25]  Michael E. Fagan Advances in software inspections , 1986, IEEE Transactions on Software Engineering.