# Fixing path of missing directory

**URL:** <https://community.codecov.com/t/fixing-path-of-missing-directory/1131>\
**Category:** Support\
**Created:** [March 9, 2020, 10:23pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131 "2020-03-09T22:23:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndsanchez](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@ndsanchez](https://community.codecov.com/u/ndsanchez)\
**Post date:** [March 9, 2020, 10:23pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/1 "2020-03-09T22:23:02Z")

</div>

There are some directories of my repository missing in the Codecov UI.

Could you give me an example about how to fix the path?

This instruction is really not clear for me 😐. [Path Fixing](https://docs.codecov.io/docs/fixing-paths) help me out, please!

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [March 10, 2020, 1:44pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/2 "2020-03-10T13:44:08Z")

</div>

Hi @ndsanchez

Can you share a commit SHA so I can check the raw report and assist?

---

<div class="post-metadata">

**Author:** ![ndsanchez](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@ndsanchez](https://community.codecov.com/u/ndsanchez)\
**Post date:** [March 10, 2020, 2:50pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/3 "2020-03-10T14:50:12Z")

</div>

Sure @drazisil

Commit: [https://gitlab.com/fluidattacks/integrates/-/merge\_requests/4629](https://gitlab.com/fluidattacks/integrates/-/merge_requests/4629)

Codecov Analysis: [Codecov](https://codecov.io/gl/fluidattacks/integrates/commit/d09e9ee77912115eeb29aed0130c954cc9a1ab38)

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [March 10, 2020, 2:58pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/4 "2020-03-10T14:58:33Z")

</div>

This isn’t a path fixing issue. What you need to to be able to have the full path in the filername value of the report. You can see [GitHub - codecov/python-standard: Codecov coverage standard for Python](https://github.com/codecov/python-standard) for an example of how to configure this.

---

<div class="post-metadata">

**Author:** ![ndsanchez](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@ndsanchez](https://community.codecov.com/u/ndsanchez)\
**Post date:** [March 10, 2020, 4:19pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/5 "2020-03-10T16:19:49Z")

</div>

I see, but I don’t understand why Codecov is not tracking all my files?

Do you have any idea?

---

<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:26pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/6 "2020-04-24T18:26:44Z")

</div>

Hi @ndsanchez, it’s because we are not receiving coverage metrics for those files. You’ll see in the report [https://codecov.io/codecov/v4/raw/2020-03-02/4EA0CDF74CF8F1E27CCEAA30ECF8D5A3/d09e9ee77912115eeb29aed0130c954cc9a1ab38/465c913c-43e8-4574-9f84-6482d17d63ac.txt](https://codecov.io/codecov/v4/raw/2020-03-02/4EA0CDF74CF8F1E27CCEAA30ECF8D5A3/d09e9ee77912115eeb29aed0130c954cc9a1ab38/465c913c-43e8-4574-9f84-6482d17d63ac.txt) (before `EOF`) that Codecov only receives coverage for a few files. We cannot make assumptions on coverage for files that aren’t included here.

---

<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:29pm UTC](https://community.codecov.com/t/fixing-path-of-missing-directory/1131/7 "2020-04-24T18:29:50Z")

</div>

I took a look at how to do this in Jest, let me know if this helps: [Jest Coverage All Files · Issue #1211 · facebook/jest · GitHub](https://github.com/facebook/jest/issues/1211#issuecomment-559561044)

```plaintext

I changed the pattern to find the files and it works now. Here is my setup.

  collectCoverageFrom: [
    'src/**/*.{js,vue}',
    '! **/node_modules/**',
    '! **/vendor/**',
  ],
```
