Code coverage done right.®

Welcome to Codecov Documentation. You'll find comprehensive guides and documentation to help you start working with Codecov as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Viewing Source Code

Hits and missed lines

Lines that are hit (covered and executed).
The number in the green label represents execute count.

Lines that are missed (not covered and not executed).

Partially covered lines

Line 329 is partially hit.

Partially hit lines are typically branches that have one, or more, missing execution paths. In the example above, the missing execution path is clearly entering the if branch. The result of == "" was always False, therefore the proceeding lines were never executed.

Line coverage changes

This layout is an example of Unexpected Coverage Changes. The coverage on line 149 and 150 was covered before this commit. Now these lines are partially hit and missed, respectively.

Diff overlay

Updated about a year ago

Viewing Source Code

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.