# Don't infer 100% coverage on partial results

**URL:** <https://community.codecov.com/t/dont-infer-100-coverage-on-partial-results/91>\
**Category:** Bug Fixes\
**Created:** [April 4, 2019, 4:49am UTC](https://community.codecov.com/t/dont-infer-100-coverage-on-partial-results/91 "2019-04-04T04:49:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickpalmer](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/nickpalmer/32/53_2.png) [@nickpalmer](https://community.codecov.com/u/nickpalmer)\
**Post date:** [April 4, 2019, 4:49am UTC](https://community.codecov.com/t/dont-infer-100-coverage-on-partial-results/91/1 "2019-04-04T04:49:12Z")

</div>

Code coverage is incorrectly assumed to be 100% on partial builds.

We have a mono repo with multiple subdirectories as projects which we do not build and test if there are no changes to save CI time. We upload coverage using the `-F <topic>` parameter to segment out the various subdirectories.

On pull requests where a `<topic>` is not built the Github coverage numbers show as 100%. While it would be great if it showed the percentage from the branch base for this `<topic>`, 100% is certainly not correct.

I have uploaded a screen shot of the report on a build that only touched the “goservices” topic. You can see that the “android” topic is reported as 100% even though no coverage results were pushed for this topic.

![15%20PM](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/codecov/original/1X/3a1b99b28400b6311d3b46fb9cb30c93bd052dda.png)

---

<div class="post-metadata">

**Author:** ![jerrod](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jerrod/32/41_2.png) [@jerrod](https://community.codecov.com/u/jerrod)\
**Post date:** [April 5, 2019, 5:57pm UTC](https://community.codecov.com/t/dont-infer-100-coverage-on-partial-results/91/2 "2019-04-05T17:57:35Z")

</div>

@nickpalmer saw this expressed in “Feature Ideas” too, definitely a feature for us / how we will expect product work in future.

---

<div class="post-metadata">

**Author:** ![nickpalmer](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/nickpalmer/32/53_2.png) [@nickpalmer](https://community.codecov.com/u/nickpalmer)\
**Post date:** [April 5, 2019, 7:51pm UTC](https://community.codecov.com/t/dont-infer-100-coverage-on-partial-results/91/3 "2019-04-05T19:51:56Z")

</div>

This is certainly related to the partial coverage case, but it is weird that it reports 100% instead of not reporting at all so I filed it as a bug instead. Looking forward to “carry forward” resolving this either way.
