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}
)
- Lines with a single bracket (
PHP
- Lines with a single bracket (
{
or}
).
Kotlin
Kotlin produces Jacoco reports.
Codecov fixes the following:
- Extra statements that [exceed the EOL] (planned)(https://youtrack.jetbrains.com/issue/KT-9766).
- Comment lines.
Updated over 3 years ago