Skip to main content
Log in

A note on risks in software development with imperfect testing

  • Technical Note
  • Published:
OPSEARCH Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

References

  1. Pressman, R.S.: Software Engineering, A Practitioner’s Approach. McGraw-Hill (2005)

  2. Rice, J.A.: Mathematical Statistics and Data Analysis, 3rd ed. Thomson (2007)

  3. Quality Cost Analysis: Benefits and Risks http://www.kaner.com/qualcost.htm opened January 4, 2009

  4. Jorgensen, P.C.: Software Testing: A Craftsman’s Approach, 2nd ed CRC Press (2002)

  5. Rider, P.R.: Truncated poisson distributions. J. Am. Stat. Assoc. 48(264), 826–830. http://www.jstor.org/stable/2281076 (1953)

    Google Scholar 

  6. Gryna, F.M., Chua, R., Defeo, J.: Juran’s QPA for Enterprise Quality, 5th ed. Tata-McGraw-Hill, (2007)

  7. http://www.cse.buffalo.edu/∼hungngo/SCE-Papers/p67-slaughter.pdf accessed January 29, 2009

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tapan P. Bagchi.

Rights and permissions

Reprints 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

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12597-011-0037-2

Keywords

Navigation