Code coverage

In computer science, 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. 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.

Comment
enIn computer science, 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. 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.
Has abstract
enIn computer science, 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. 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. Test 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.
Hypernym
Measure
Is primary topic of
Code coverage
Label
enCode coverage
Link from a Wikipage to another Wikipage
Avionics software
Basis path testing
Boolean expression
C (programming language)
Category:Software metrics
Category:Software testing tools
Communications of the ACM
Computer program
Computer science
Conditional (programming)
Control-flow graph
Cyclomatic complexity
DD-path
Decision Coverage
Dependability
DO-178B
DO-178C
Entry and exit points
European Cooperation for Space Standardization
Exception handling
Fault injection
Federal Aviation Administration
Finite-state machine
Graph theory
Halting problem
Intelligent verification
ISO 26262
Java code coverage tools
Linear Code Sequence and Jump
Martin Fowler (software engineer)
Mutation testing
Null object
Race condition
Real-time computing
Regression testing
Safety-critical
Software bug
Software metric
Software testing
Source code
Statement (computer science)
Static code analysis
Subroutine
Test suite
White box testing
SameAs
Cobertura de código
Code coverage
Couverture de code
FXQH
m.020f4
Pokrytí kódu testy
Q1211721
Testabdeckung
Test pokrycia
Überdeckungstest
Пакрыццё кода
Покриття коду
Покрытие кода
כיסוי קוד
تغطية الكود
コード網羅率
代碼覆蓋率
코드 커버리지
Subject
Category:Software metrics
Category:Software testing tools
WasDerivedFrom
Code coverage?oldid=1124928481&ns=0
WikiPageLength
19206
Wikipage page ID
7030
Wikipage revision ID
1124928481
WikiPageUsesTemplate
Template:Citation needed
Template:Clarify
Template:Main
Template:More citations needed section
Template:Program execution
Template:Reflist
Template:Short description
Template:Snd