Codecov

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

Fixing Reports

The following languages, and their reports, will be adjusted upon uploading to Codecov. You may disable this by setting the flag -X fix in your bash upload command.

Go

By default Go coverage reports includes:

  • Empty lines.
  • Comments (// and blocks /* ... */).
  • Lines with a single bracket ({ or }).

C languages and Swift

ObjC, Swift, .cpp, .h, .cxx, .c, .hpp, .jsx

    • Lines with a single bracket ({ or })

PHP

  • Lines with a single bracket ({ or }).

Kotlin

Kotlin produces Jacoco reports.

Codecov fixes the following:

Updated 10 months ago


Fixing Reports


Suggested Edits are limited on API Reference Pages

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