Question 3 of 10Pro Only

What is code coverage? What metrics does it include and is 100% coverage always the goal?

Sample answer preview

## What is Code Coverage? Code coverage is a **metric that measures how much of your code is executed by your tests**. It helps identify untested parts of your codebase. ## Coverage Metrics ### 1. Line Coverage Percentage of lines executed by tests.

code coverageline coveragebranch coveragefunction coveragetesting metrics

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Full-Stack Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime