Abstract
This study analytically assesses the statistical risk of releasing defective software that cannot be exhaustively tested, and of needlessly testing defect-free software. Specifically, it quantifies the probability of committing Type I (α) and Type II errors (β) in software development when one may release software that still is faulty or do needless testing since the test methods themselves may not be perfect. The study uses Truncated-Poisson and geometric distributed path lengths and Bernoulli-type inspection errors to link α and β to software design features, the development philosophies employed, and certain aspects that include code quality, cyclomatic complexity and the average length of basis paths. For risk reduction this study finds quantitative justification for raising test coverage, perfecting the test methods, the adoption of recent innovations and programming methods such as component-based design, SOA and XP as ways to raise the likelihood that the product developed will be fault free. Results are relatively robust with respect to the probability distributions assumed.
References
Pressman, R.S.: Software Engineering, A Practitioner’s Approach. McGraw-Hill (2005)
Rice, J.A.: Mathematical Statistics and Data Analysis, 3rd ed. Thomson (2007)
Quality Cost Analysis: Benefits and Risks http://www.kaner.com/qualcost.htm opened January 4, 2009
Jorgensen, P.C.: Software Testing: A Craftsman’s Approach, 2nd ed CRC Press (2002)
Rider, P.R.: Truncated poisson distributions. J. Am. Stat. Assoc. 48(264), 826–830. http://www.jstor.org/stable/2281076 (1953)
Gryna, F.M., Chua, R., Defeo, J.: Juran’s QPA for Enterprise Quality, 5th ed. Tata-McGraw-Hill, (2007)
http://www.cse.buffalo.edu/∼hungngo/SCE-Papers/p67-slaughter.pdf accessed January 29, 2009
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Bagchi, T.P. A note on risks in software development with imperfect testing. OPSEARCH 48, 65–72 (2011). https://doi.org/10.1007/s12597-011-0037-2
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12597-011-0037-2