Question about codecov result

Description

I’m confused why the result is like this when I didn’t modify this specific file at all: https://i.imgur.com/XmRuafU.png

Repository

https://github.com/woocommerce/woocommerce/pull/25316 (link to PR)

specific codecov url: https://codecov.io/gh/woocommerce/woocommerce/compare/93e3e5bfe134dbbdaadb8056e395a8749667b91e...825feae7b23d4ddd0f1438e0f110d55a034165c8

Versions

Please include the browser and OS and what versions you’re running.

Chrome, Windows 10

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

It looks like the commit before yours, https://codecov.io/gh/woocommerce/woocommerce/commit/93e3e5bfe134dbbdaadb8056e395a8749667b91e/build had three uploaded reports

Yours had one: https://codecov.io/gh/woocommerce/woocommerce/commit/825feae7b23d4ddd0f1438e0f110d55a034165c8/build

Your uploaded coverage report shows no coverage for that line <line num="52" type="stmt" count="0"/>

Therefore, I would assume this line is only covered by one of the reports that was not uploaded.

Thank you for replying, drazisil! I really appreciate it.

I see… is this something I can fix from my end? I’m just not sure if I could and how.

Without digging into the Travis jobs and the tests, I’m not sure offhand. What I would probably suggest is to check the after: steps of your Jobs where Codecov uploads and see if you can locate any errors.

The uploader does not fail the Job on purpose so all the steps will be green, but there may still be errors. If you can find one, bring it back to me and we’ll see what happened.