These docs are for v4.6. Click to read the latest docs for v2023.

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 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: