thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Code Coverage

The percentage of code executed by automated tests, measured by lines, branches, or functions.

Definition

Coverage highlights untested code but does not prove tests are meaningful. Tools such as coverage.py, JaCoCo, and Istanbul feed results into quality gates.

Example

pytest --cov=app reports 87% line coverage.

Exam tip

High coverage does not guarantee quality; branch coverage is stricter than line coverage.

Related terms