Open Access Open Access  Restricted Access Subscription or Fee Access

A Review on Code Coverage Analysis

Anju Bansal, Kamna Solanki


In Software testing; Software Metrics provide information to support a quantitative managerial decision-making for the test managers. Among the various metrics, Code coverage metric is considered as the most important metric often used in analysis of software projects in the industries for testing. Code coverage analysis helps in the testing process by finding the areas of a program not exercised by a set of test cases. It ensures that testing is effectively carried out without missing out all the key functional areas or the features of the software under development. If made available, the coverage information can be very useful for many other related activities, like, regression testing, test case prioritization, test-suite augmentation, test-suite minimization etc. This paper aims to provide an introduction to code coverage and describes how code coverage is performed. It also describes its potential usage and the challenges faced by industries in implementing code coverage. We hope our work will be helpful in software testing research.


Code Coverage, Coverage Metrics, Coverage Tools, Limitations, Potential Usage

Full Text:



Asaf, S., E. Marcus, et al., ”Defining coverage views to improve functional coverage analysis”, In the Proceedings of 41st Design Automation Conference, 2004.

Williams, B. S. a. L., "A Survey on Code Coverage as a Stopping Criterion for Unit Testing.", Technical report (North Carolina State University. Dept. of Computer Science), TR-2008-22, 2008.

E Kajo-Mece , Megi Tartari , “An Evaluation of Java Code Coverage Testing Tools”,pp 72-75 , 2012.

Faizah Omar, S. I,. "A Software Traceability Approach to Support Test Coverage Analysis."In the proceedings of Third International Conference on Advances in Human-oriented and Personalized Mechanisms, Technologies, and Services CENTRIC 2010.

Li, J. J., ”Prioritize code for testing to improve code coverage of complex software”, In the 16th IEEE International Symposium on Software Reliability Engineering, 2005. ISSRE 2005, 10-pp.

Jones, J.A. and Harrold, M.J. Test-suite reduction and prioritization for modified condition/decision coverage. IEEE Trans. Softw. Eng., 29, 195–209, 2003.

M. Kessis, Y. Ledru, G. Vandome, “Experiences in Coverage Testing of a Java Middleware”, in Proceedings SEM 2005, Lisbon, Portugal.ACM, pp. 3945, 2005.

Lormans M, D. "Reconstructing Requirements Coverage Views from Design and Test using Traceability Recovery via LSI”, TEFSE, Long Beach, California, USA, ACM 2005, 2005

Malaiya, Y.K., Li, M.N., Bieman, J.M. and Karcich, R. (Software reliability growth with test coverage. IEEE Trans. Reliab., 51, 420–426,2002.

Shahid Muhammad, Ibrahim Suhaimi, “An Evaluation of Test Coverage Tools in Software Testing”, International Conference on Telecommunication Technology and Applications, Proc .of CSIT vol.5, Singapore, pp 216-222, 2011.

Priya L.S., Ram Raj N., Askarunisa A., “Measuring The Effectiveness Of Open Coverage Based Testing Tools”, Journal of Theoretical and Applied Information Technology, Vol. 5, No.5, pages 499-514, 31 May, 2009.

Qian Yang, J. Jenny Li, David M. Weiss, “A Survey of Coverage-Based Testing Tools”, Published in The Computer Journal (2009) , volume 52 (5): pp. 589-597, 2009.

Rauf, A., S. Anwar, “Automated GUI Test Coverage Analysis Using GA”, Proceedings of the 2010 Seventh International Conference on Information Technology: New Generations, pp. 1057-1062, 2010.

Whalen, M. W., M. P. E. Heimdahl, et al. “Coverage metrics for requirements-based testing.” 2006, In Proceedings of the 2006 International Symposium on Software Testing and Analysis, ISSTA 2006, pp. 25-35, 2006.

Xia, C. and Michael, R.L. The Effect of Code Coverage on Fault Detection under Different Testing Profiles. Proc. First International Workshop on Advances in Model-Based Testing, ACM Press, St. Louis, MO , 2005.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.