Code Coverage
Noun · Development
Definitions
A metric that measures the percentage of source code executed during automated testing. While high coverage does not guarantee correctness, low coverage reliably indicates untested code paths. Common targets are 80% line coverage, though 100% is often impractical.
In plain English: A number that shows what percentage of your code is actually tested by your automated tests, helping find blind spots.
Example: "We have 95% code coverage and the app still crashes in production. Turns out we tested the happy paths 95 different ways."
Related Terms
- A/B Testing
- Bug
- Dependency Injection
- Mocking
- Prometheus
- Pure Function
- pytest
- Test-Driven Development
- Testing
- Unit Testing
- Snapshot Testing
- Contract Testing
- Mutation Testing
- Shift Left
- Property-Based Testing
- Acceptance Testing
- Assertion
- BDD
- Benchmark Suite
- Breakpoint
- Code Review Bot
- End-to-End Test
- Mock Object
- Test Container
- Test Coverage
- Test Mock
- Test Spy