# Code Coverage

Code coverage is a measure that indicates the percentage of a codebase that is tested by automated tests. It helps ensure that the tests cover a significant portion of the code, identifying untested parts and potential bugs.

<figure><img src="/files/AfwK4CJMLjhZ41wvrzCg" alt=""><figcaption></figcaption></figure>

[Guide to set up code coverage for your account](/typo-help-docs/configurations/code-coverage.md)

### Code coverage report

* **Total Coverage:** The percentage of the codebase covered by automated test cases.
* **Uncovered Lines:** The number of lines without any associated test cases.
* **Uncovered Conditions:** The number of conditions without any associated test cases.
* **Overall Tracked Lines:** The total number of lines present in your codebase.
* **Overall Tracked Conditions:** The total number of conditions present in your codebase.
* **Covered Lines:** The number of lines covered by test cases.
* **Covered Conditions:** The number of conditions with test cases written for them.
* **Last Analyzed:** The date when the code was last analyzed, helping you understand the recency of the coverage report.
* **Repo Coverage Summary:** Displays coverage at the repository level, highlighting lines that lack tests.

### PR level coverage

This section shows the coverage for each Pull Request, allowing you to see the impact of each PR on your overall code coverage.<br>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://typo.gitbook.io/typo-help-docs/platform/code-health/code-coverage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
