Sources:
Code coverage is a metric for software testing that shows what percentage of the source code is tested.
Percentage is calculated as (items tested/items found).
Why use code coverage in CI/CD at all? It is an automatic test quality control, which is quite fast (compared to mutation testing). It also makes the process more transparent for the team, and it is an automatic way to drop the build if the code coverage is too low.