[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Code Coverage

Definition - What does Code Coverage mean?

Code coverage is a term used in software testing to describe how much program source code is covered by a testing plan. Developers look at the number of program subroutines and lines of code that are covered by a set of testing resources and techniques.

Code coverage is also known as test coverage.

Techopedia explains Code Coverage

Using code coverage analysis, development teams can provide reassurance that their programs have been broadly tested for bugs and should be relatively error-free. Professionals in the software industry have pointed out the evident benefits of this kind of testing analysis, namely, that including code coverage analysis and other testing aspects in beta or other development rounds exposes bugs to a small test audience, rather than to millions of users when products finally go live.

Some development environments such as Microsoft Visual Studio have specific menu tools for doing code coverage analysis. In other cases, developers may use relatively manual methods that involve mapping out the software source code and determining where testing applies. Third-party vendors also provide specific code coverage tools for different programming languages.

Experts describe code coverage analysis as a part of "white box testing," a method that examines program code. In some cases, code coverage analysis is done mostly to find the precise areas that are not covered by testing strategies. There are many different technical metrics and parameters used to specifically assess code coverage in a given project.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.