Function Coverage - CI/CD Glossary Definition
Function coverage counts how many functions were called during tests out of all functions defined.
Function coverage is the percentage of defined functions or methods that were called at least once during the test suite. It reveals entire functions that no test ever invokes.
Low function coverage is an early warning that whole units of behavior are untested, even if the lines that do run are well covered.
Why it matters
A function never called by any test is dead weight in the coverage report. Function coverage surfaces these before they hide real bugs.
Related guides
Statement Coverage - CI/CD Glossary DefinitionStatement Coverage: Statement coverage is the percentage of individual statements in the code that were execu…
Line Coverage - CI/CD Glossary DefinitionLine Coverage: Line coverage is the fraction of executable source lines that ran at least once during the tes…
Test Coverage - CI/CD Glossary DefinitionTest Coverage: Test coverage is the percentage of your code (lines, branches, or functions) that is executed…