# Missing files in codecov (but not in report)

**URL:** <https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825>\
**Category:** Support\
**Tags:** python, github\
**Created:** [December 20, 2019, 9:51pm UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825 "2019-12-20T21:51:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoshiBin](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/moshibin/32/437_2.png) [@MoshiBin](https://community.codecov.com/u/MoshiBin)\
**Post date:** [December 20, 2019, 9:51pm UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/1 "2019-12-20T21:51:43Z")

</div>

### Description

Codecov is missing some of the files in my repo - but they do appear in the coverage report.

> **[Code coverage done right.](https://app.codecov.io/gh/MoshiBin/ssdpy)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

Notice how server.py and client.py are missing - but they show up on the report: [https://codecov.io/codecov/v4/raw/2019-12-20/34749C3E1E6F8E0FD2B392F6B33CB864/2f2aa7bcdf794a57e132711f5e790e5d9b2bb7b5/acd4300b-d878-4196-b296-aa50f97fc396.txt](https://codecov.io/codecov/v4/raw/2019-12-20/34749C3E1E6F8E0FD2B392F6B33CB864/2f2aa7bcdf794a57e132711f5e790e5d9b2bb7b5/acd4300b-d878-4196-b296-aa50f97fc396.txt)

### Repository

MoshiBin/ssdpy on github

---

<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:** [January 3, 2020, 2:31am UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/2 "2020-01-03T02:31:45Z")

</div>

Hey @MoshiBin – thanks for reaching out! I was not able to reproduce this bug / I do see these two files in your repo view:

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

[https://codecov.io/gh/MoshiBin/ssdpy/tree/master/ssdpy/cli](https://codecov.io/gh/MoshiBin/ssdpy/tree/master/ssdpy/cli)

Can you let me know if this is still an issue?

Jerrod

---

<div class="post-metadata">

**Author:** ![MoshiBin](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/moshibin/32/437_2.png) [@MoshiBin](https://community.codecov.com/u/MoshiBin)\
**Post date:** [January 3, 2020, 1:09pm UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/3 "2020-01-03T13:09:56Z")

</div>

These aren’t the same files - there are “client.py” and “server.py” both in ssdpy/ and in ssdpy/cli/:

> <https://github.com/MoshiBin/ssdpy/blob/master/ssdpy/client.py>

> <https://github.com/MoshiBin/ssdpy/blob/master/ssdpy/server.py>

> <https://github.com/MoshiBin/ssdpy/blob/master/ssdpy/cli/client.py>

> <https://github.com/MoshiBin/ssdpy/blob/master/ssdpy/cli/server.py>

The ones outside of the cli folder aren’t in the coverage report

---

<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:** [April 24, 2020, 6:06pm UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/5 "2020-04-24T18:06:36Z")

</div>

Hi @MoshiBin, apologies that you were not updated on this. We made a change in late January to fix this issue, can you check to see if this is still a problem?

---

<div class="post-metadata">

**Author:** ![fmigneault](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/fmigneault/32/771_2.png) [@fmigneault](https://community.codecov.com/u/fmigneault)\
**Post date:** [May 17, 2020, 8:22am UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/6 "2020-05-17T08:22:35Z")

</div>

I seem to be experiencing something similar on my repo:  
[https://codecov.io/gh/crim-ca/weaver](https://codecov.io/gh/crim-ca/weaver)

The file `weaver/utils.py` is missing for me although it clearly is in my `coverage.xml` report, whereas other `utils.py` files located at other level are present as expected.

(not found!) =\> [Codecov](https://codecov.io/gh/crim-ca/weaver/src/master/weaver/utils.py)  
(available) =\> [Codecov](https://codecov.io/gh/crim-ca/weaver/src/master/weaver/wps_restapi/utils.py)  
(available) =\> [Codecov](https://codecov.io/gh/crim-ca/weaver/src/master/weaver/processes/utils.py)

Is it possible that some paths are not correctly resolved (ie: they get mixed up with same name files at other levels)?

---

<div class="post-metadata">

**Author:** ![fmigneault](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/fmigneault/32/771_2.png) [@fmigneault](https://community.codecov.com/u/fmigneault)\
**Post date:** [May 22, 2020, 6:11pm UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/7 "2020-05-22T18:11:20Z")

</div>

@tom I am seeing this issue as of today (2020-05-22T04:00:00Z), so this doesn’t seem related to the January changes.

The file getting ignored is available in the build:  
[https://codecov.io/codecov/v4/raw/2020-05-22/F30EF79C2304380A6469104F71A8547E/66f9db90691c4ea0f019e53cd4f563f9ea6b1ca6/72f0466e-0c4a-4dee-8ee4-5f07ae8640c5.txt](https://codecov.io/codecov/v4/raw/2020-05-22/F30EF79C2304380A6469104F71A8547E/66f9db90691c4ea0f019e53cd4f563f9ea6b1ca6/72f0466e-0c4a-4dee-8ee4-5f07ae8640c5.txt)  
But is is not present in the listing:  
[https://codecov.io/gh/crim-ca/weaver/tree/66f9db90691c4ea0f019e53cd4f563f9ea6b1ca6/weaver](https://codecov.io/gh/crim-ca/weaver/tree/66f9db90691c4ea0f019e53cd4f563f9ea6b1ca6/weaver)

---

<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:** [May 22, 2020, 9:11pm UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/8 "2020-05-22T21:11:38Z")

</div>

Hi @fmigneault, this looks like a path fixing issue. I’m going to take a stab and guess you’ll need to add this to a `codecov.yml` file

```auto
fixes:
  - "::weaver/"

```

Would you try that and see if it works?

---

<div class="post-metadata">

**Author:** ![fmigneault](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/fmigneault/32/771_2.png) [@fmigneault](https://community.codecov.com/u/fmigneault)\
**Post date:** [May 27, 2020, 5:33am UTC](https://community.codecov.com/t/missing-files-in-codecov-but-not-in-report/825/9 "2020-05-27T05:33:05Z")

</div>

Hi @tom

Using your suggestion, I went to the root of the cause and modified my `setup.cfg` to define `source = ./` instead of `source = weaver`.  
This solved it for me without adding `codecov.yml` file.

Thanks
