For AI agents: visit https://docs.codecov.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.

Fixing Reports

The following languages, and their reports, will be adjusted upon uploading to Codecov. You may disable this by setting the flag --disable-file-fixes in your 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:


Did this page help you?
Morty Proxy This is a proxified and sanitized view of the page, visit original site.