# Coverage is 100% (locally) vs 3.28% (codcov.io)

**URL:** https://community.codecov.com/t/coverage-is-100-locally-vs-3-28-codcov-io/1959
**Category:** Support
**Tags:** github, r
**Created:** [September 4, 2020, 7:16pm UTC](https://community.codecov.com/t/coverage-is-100-locally-vs-3-28-codcov-io/1959 "2020-09-04T19:16:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bogaotory](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bogaotory](https://community.codecov.com/u/bogaotory)
#### Post date: [September 4, 2020, 7:16pm UTC](https://community.codecov.com/t/coverage-is-100-locally-vs-3-28-codcov-io/1959/1 "2020-09-04T19:16:38Z")

</div>

### Description

The coverage dropped from 100% to 3.28% with one of the commits which should not have changed the coverage at all. (see [Codecov](https://codecov.io/gh/ocelhay/comoOdeCpp/commits)). The commit that seems to have caused the drop is [Codecov](https://codecov.io/gh/ocelhay/comoOdeCpp/commit/5e34ef162d76358cfccf48465ce3233ac1ca9755)

I’ve made a few commits after that one, however, the coverage remained really low. After the latest commit (09da958e1abde0d5a1e91316fe8b407386a59178) the coverage is still showing as 100% when tested locally with `codecov(quiet=FALSE)`, but [codecov.io](http://codecov.io) is showing only ~3% coverage for some reason?

### Repository

> **[GitHub - ocelhay/comoOdeCpp](https://github.com/ocelhay/comoOdeCpp)**
>
> Contribute to ocelhay/comoOdeCpp development by creating an account on GitHub.

### CI/CD

Travis CI

### Uploader

Not required because Travis CI

### Commit SHAs

> **[Code coverage done right.](https://app.codecov.io/github/ocelhay/comoOdeCpp/commit/09da958e1abde0d5a1e91316fe8b407386a59178)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

### Codecov YAML

```auto
fixes:
  - "::comoOdeCpp/"

```

### Codecov Output

$ Rscript -e ‘library(covr);codecov()’  
$uploaded  
[1] TRUE  
$url  
[1] “[Codecov](https://codecov.io/github/ocelhay/comoOdeCpp/commit/09da958e1abde0d5a1e91316fe8b407386a59178)”  
$queued  
[1] TRUE  
$meta  
$meta$status  
[1] 200  
$message  
[1] “Coverage reports upload successfully”  
$id  
[1] “11998cee-9321-46a8-9ff1-b00f861ae538”

### Additional Information

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

---

<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 22, 2020, 3:24pm UTC](https://community.codecov.com/t/coverage-is-100-locally-vs-3-28-codcov-io/1959/2 "2020-09-22T15:24:42Z")

</div>

Hi @bogaotory, if you take a look at the coverage report [uploaded to Codecov](https://codecov.io/api/gh/ocelhay/comoOdeCpp/download/build?path=v4/raw/2020-09-04/20B1B1FC497609C02BFC8B1F8C867288/09da958e1abde0d5a1e91316fe8b407386a59178/11998cee-9321-46a8-9ff1-b00f861ae538.txt) you’ll notice that almost all the lines are 0 or null, meaning not covered or no coverage. What uploader are you using and can you link to a Travis build?
