# After I merged the branch with the main on github, the calculated percentage was zero!

**URL:** <https://community.codecov.com/t/after-i-merged-the-branch-with-the-main-on-github-the-calculated-percentage-was-zero/1944>\
**Category:** Uncategorized\
**Tags:** java\
**Created:** [August 31, 2020, 3:32pm UTC](https://community.codecov.com/t/after-i-merged-the-branch-with-the-main-on-github-the-calculated-percentage-was-zero/1944 "2020-08-31T15:32:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HughWick](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/hughwick/32/1079_2.png) [@HughWick](https://community.codecov.com/u/HughWick)\
**Post date:** [August 31, 2020, 3:32pm UTC](https://community.codecov.com/t/after-i-merged-the-branch-with-the-main-on-github-the-calculated-percentage-was-zero/1944/1 "2020-08-31T15:32:31Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/d/d7705e638d1b8172585a2080bbe4dc115a7c7d06.png)

What did i do wrong?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [August 31, 2020, 10:35pm UTC](https://community.codecov.com/t/after-i-merged-the-branch-with-the-main-on-github-the-calculated-percentage-was-zero/1944/2 "2020-08-31T22:35:51Z")

</div>

Hi @HughWick, if you open up the [build](https://codecov.io/gh/HughWick/toolbox/commit/8364e2bd747162027155d664bfcedaeb11a38b59/build), you’ll notice that the coverage report provided to Codecov shows all lines are not hit. I would double-check how you are collecting coverage metrics in your CI.

---

<div class="post-metadata">

**Author:** ![HughWick](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/hughwick/32/1079_2.png) [@HughWick](https://community.codecov.com/u/HughWick)\
**Post date:** [September 1, 2020, 1:02am UTC](https://community.codecov.com/t/after-i-merged-the-branch-with-the-main-on-github-the-calculated-percentage-was-zero/1944/3 "2020-09-01T01:02:52Z")

</div>

What should I do to start collecting coverage metrics again?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [September 4, 2020, 4:36pm UTC](https://community.codecov.com/t/after-i-merged-the-branch-with-the-main-on-github-the-calculated-percentage-was-zero/1944/4 "2020-09-04T16:36:34Z")

</div>

If you are using the bash uploader, you can use the `-q` or `-d` argument to inspect the coverage report that might be sent to Codecov. If you are seeing hits, please paste the report here or a build URL. If it is not, there is likely an error in whatever you are doing to collect coverage in your CI.
