This article is about coverage based on source code. For coverage based on requirements, see Test coverage.
Program execution
General concepts
Code
Translation
Compiler
Compile time
Optimizing compiler
Intermediate representation (IR)
Execution
Runtime system
Runtime
Executable
Interpreter
Virtual machine
Types of code
Source code
Object code
Bytecode
Machine code
Microcode
Compilation strategies
Ahead-of-time (AOT)
Just-in-time (JIT)
Tracing just-in-time
Compile and go system
Precompilation
Transcompilation
Recompilation
Notable runtimes
Android Runtime (ART)
BEAM
Common Language Runtime (CLR) and Mono
CPython and PyPy
crt0
Java virtual machine (JVM)
LuaJIT
Objective-C and Swift's
V8 and Node.js
Zend Engine
TempleOS
Notable compilers & toolchains
GNU Compiler Collection (GCC)
LLVM and Clang
MSVC
v
t
e
In software engineering, code coverage, also called test coverage, is a percentage measure of the degree to which the source code of a program is executed when a particular test suite is run. A program with high test coverage has more of its source code executed during testing, which suggests it has a lower chance of containing undetected software bugs compared to a program with low test coverage.[1][2] Many different metrics can be used to calculate test coverage. Some of the most basic are the percentage of program subroutines and the percentage of program statements called during execution of the test suite.
Code coverage was among the first methods invented for systematic software testing. The first published reference was by Miller and Maloney in Communications of the ACM, in 1963.[3]
^Brader, Larry; Hilliker, Howie; Wills, Alan (March 2, 2013). "Chapter 2 Unit Testing: Testing the Inside". Testing for Continuous Delivery with Visual Studio 2012. Microsoft. p. 30. ISBN 978-1621140184. Retrieved 16 June 2016.
^Williams, Laurie; Smith, Ben; Heckman, Sarah. "Test Coverage with EclEmma". Open Seminar Software Engineering. North Carolina State University. Archived from the original on 14 March 2016. Retrieved 16 June 2016.
^Joan C. Miller, Clifford J. Maloney (February 1963). "Systematic mistake analysis of digital computer programs". Communications of the ACM. 6 (2). New York, NY, USA: ACM: 58–63. doi:10.1145/366246.366248. ISSN 0001-0782.
software engineering, codecoverage, also called test coverage, is a percentage measure of the degree to which the source code of a program is executed...
Java codecoverage tools are of two types: first, tools that add statements to the Java source code and require its recompilation. Second, tools that instrument...
Calgary, Alberta, Canada Coverage (album), a 2003 album by Mandy Moore Codecoverage measure used in software testing Coverage (telecommunication), a measure...
as, for example, codecoverage. While code integrity is usually achieved by unit testing the source code to reach high codecoverage, it is definitely...
Gcov is a source codecoverage analysis and statement-by-statement profiling tool. Gcov generates exact counts of the number of times each statement in...
determine which units provide personnel for codecoverage. In theory any medical professional may respond to a code, but in practice, the team makeup is limited...
Computing the codecoverage of a test identifies code that is not tested; not covered by a test. Although this analysis identifies code that is not tested...
Codecoverage as a software metric can be reported as a percentage for: Function coverage, which reports on functions executed Statement coverage, which...
parallelization API is native to all three compilers. Tcov, a source codecoverage analysis and statement-by-statement profiling tool, comes as a standard...
area codes established in California in October 1947. It originally covered most of Northern California, but area code splits have reduced its coverage to...
code analysis tool, or even analysis by hand, could be used to decide whether the code is truly unreachable. Codecoverage Redundant code Dead code Oxbow...
geographic coverage, it is the largest numbering plan area in New Jersey. Area code 609 was created in a split of area code 201 in c. 1956. Area code 640 is...
test vector some instructions of that algorithm get covered, ( see codecoverage for details ) others do not. This gives the interesting relationship...
SQLite 3.6.17, SQLite releases have 100% branch test coverage, one of the components of codecoverage. The tests and test harnesses are partially public-domain...
its coverage, Title 18 is similar to most U.S. state criminal codes, which typically are referred to by names such as Penal Code, Criminal Code, or Crimes...
Wyoming which led to extensive media coverage due to her popularity Whanganui, New Zealand, which has the telephone area code 06. O6 (disambiguation) 6 (disambiguation)...
analogue with low overhead libFuzzer, an LLVM tool that adds codecoverage to fuzzing A code sanitizer detects suspicious behavior as the program runs....
can really catch the problems. Weak mutation is closely related to codecoverage methods. It requires much less computing power to ensure that the test...
country codes (MCC) as well as mobile network codes (MNC). The mobile country code consists of three decimal digits and the mobile network code consists...