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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
B.Beizer, Software testing techniques, second ed. Van Nostrand Reinhold, 1990.
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.
J. J. Li, D. Weiss, H. Yee, âCode coverage guided prioritized test generationâ, Information and Software Technology, no. 48, 2006, pp. 1187-1198.
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.
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.
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.
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.
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.
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.
IBM Rational tools: http://www-306.ibm.com/software/rational/
M.R. Garey, D.S. Johnson, Computers and Intractability: aguide to the theory of NP-compleyeness, Freeman and Company, 1979.
K. Beck, Extreme programming explained, Sec. Edition Embrace Change, Addison-Wesley, Boston, MA, USA, 2004.
D. Astels, Test-Driven Development: A practical Guide, Prentice Hall, NJ, USA, 2003.
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.
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.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)