Skip to main content

Experiences from an Empirical Study of Programs Code Coverage

  • Conference paper
Advances in Computer and Information Sciences and Engineering

Abstract

The paper is devoted to functional and structural testing of programs. Experimental results of a set of programs are presented. The experiments cover selection of functional tests, analysis of function and line coverage and optimization of test suites. The comparison of code coverage results and selection of the most effective tests are discussed in the relation to the test-first approach for program development. The types of the code not covered by the tests are classified for different categories.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. B.Beizer, Software testing techniques, second ed. Van Nostrand Reinhold, 1990.

    Google Scholar 

  2. S. Elbaum, D. Gable, G. Rothermel, “The impact of software evolution on code coverage information”, Proc. of IEEE Intern. Conf. on Softare. Maintenance, 7-9 Nov. 2001, pp. 170-179.

    Google Scholar 

  3. J. J. Li, D. Weiss, H. Yee, “Code coverage guided prioritized test generation”, Information and Software Technology, no. 48, 2006, pp. 1187-1198.

    Google Scholar 

  4. W. Masri, A. Podgurski, D. Leon, “ An empirical study of test case filtering techniques based on exercising information flows”, IEEE Transaction on Software Engineering, vol. 33, no. 7, July 2007, pp. 454-477.

    Google Scholar 

  5. D. Jeffrey, N. Gupta, “Improving fault detection capability by selecting retaining test cases during test suite reduction”, IEEE Transaction on Software Engineering, vol. 33, no. 2, Feb. 2007, pp. 108-123.

    Google Scholar 

  6. J. H. Andrews, L. C. Briand, Y. Labiche, A. S. Namin, “Using mutation analysis for assessing and comparing testing coverage criteria”, IEEE Transaction on Software Engineering, vol. 32, no. 8, Aug. 2006, pp. 608-624.

    Google Scholar 

  7. F. Del Frate, P. Garg, A. P. Mathur, A. Pasquini, “On the correlation between code coverage and software reliability”, Proc. of 6th Intern. Symp. on Software Reliability. Engin., 24-27 Oct., 1995, pp. 124-132.

    Google Scholar 

  8. L. C. Braind, D. Pfahl, “Using simulation for assessing the real impact of test-coverage on defect-coverage”, IEEE Transactions on Reliability, vol. 49, no. 1, March. 2000, pp. 60-70.

    Google Scholar 

  9. S. S. Gokhale, R. E. Mullen, “From test count to code coverage using the lognormal failure rate”, Proc. of 15th Intern. Symposium on Software Reliability Engineering, ISSRE"04, 2004.

    Google Scholar 

  10. IBM Rational tools: http://www-306.ibm.com/software/rational/

    Google Scholar 

  11. M.R. Garey, D.S. Johnson, Computers and Intractability: aguide to the theory of NP-compleyeness, Freeman and Company, 1979.

    Google Scholar 

  12. K. Beck, Extreme programming explained, Sec. Edition Embrace Change, Addison-Wesley, Boston, MA, USA, 2004.

    Google Scholar 

  13. D. Astels, Test-Driven Development: A practical Guide, Prentice Hall, NJ, USA, 2003.

    Google Scholar 

  14. H. Erdogmus, M. Morisio, M. Torchiano, “On the effectiveness of the test-first approach to programming”, IEEE Transactions on Software Engineering, vol. 31, no. 3, March 2005, pp. 226-237.

    Google Scholar 

  15. M. Siniaalto, P. Abrahamsson, “Does test-driven development improve the program code? Alarming results from a comparative case study”, Proc. of 2 nd IFIP Central and East European Conference on Software Engineering Techniques, CEE-SET, PoznaƄ, 2007, pp. 125-136.

    Google Scholar 

  16. M. Hóst., B. Regnell, C. Wohlin, “Using students as subjects - A comparative study of students and professionals in lead-time impact assessment”, Empirical Software Eng., vol. 5, 2000, pp.201-214.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer Science+Business Media B.V.

About this paper

Cite this paper

DereziƄska, A. (2008). Experiences from an Empirical Study of Programs Code Coverage. In: Sobh, T. (eds) Advances in Computer and Information Sciences and Engineering. Springer, Dordrecht. https://doi.org/10.1007/978-1-4020-8741-7_11

Download citation

  • DOI: https://doi.org/10.1007/978-1-4020-8741-7_11

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-1-4020-8740-0

  • Online ISBN: 978-1-4020-8741-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics