# New file created in PR shows no coverage

**URL:** <https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575>\
**Category:** Support\
**Created:** [October 1, 2019, 7:24pm UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575 "2019-10-01T19:24:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikemhenry](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mikemhenry/32/314_2.png) [@mikemhenry](https://community.codecov.com/u/mikemhenry)\
**Post date:** [October 1, 2019, 7:24pm UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575/1 "2019-10-01T19:24:25Z")

</div>

### Description

When someone submits a PR with a new file, I cannot figure out how to view the new file’s code coverage.

### Repository

> **[Code coverage done right.](https://app.codecov.io/gh/mosdef-hub/mbuild/pull/586/src/formats/json_formats.py)**
>
> Hosted coverage report highly integrated with GitHub, Bitbucket and GitLab. Awesome pull request comments to enhance your QA.

### Additional Information

tl;dr How can I view the test coverage on a new file?

---

<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:** [October 4, 2019, 1:43pm UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575/2 "2019-10-04T13:43:43Z")

</div>

Visit the changes tab for the pull [Codecov](https://codecov.io/gh/mosdef-hub/mbuild/pull/586/changes) and expand the new file.

The file not showing up in the files tab is something we are aware of, I’m not sure if it will be changed in the current UI, or in the much clearer UI redesign that is in progress and coming soon.

---

<div class="post-metadata">

**Author:** ![mikemhenry](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/mikemhenry/32/314_2.png) [@mikemhenry](https://community.codecov.com/u/mikemhenry)\
**Post date:** [October 7, 2019, 4:14pm UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575/3 "2019-10-07T16:14:42Z")

</div>

Not sure if I’m looking in the wrong place but it still doesn’t look like its working

 ![32%20AM](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/1X/70b3d0836bc59ef93e7af17a091d0fec3bd5ea58.png)

---

<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:** [October 9, 2019, 4:18pm UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575/4 "2019-10-09T16:18:41Z")

</div>

We are investigating this view. Since the file was not in the base coverage, there will be no changes to see here at the PR level. If you view the commit, and then files, are you able to see the coverage?

---

<div class="post-metadata">

**Author:** ![survyvaish](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/survyvaish/32/1406_2.png) [@survyvaish](https://community.codecov.com/u/survyvaish)\
**Post date:** [December 9, 2020, 7:41am UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575/5 "2020-12-09T07:41:04Z")

</div>

I have the same issue. I created a new PR in github that addes a few new files. The changes also include new tests. However, i cannot see the coverage in for the new files in any view on codecov - PR or commit.

---

<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:** [December 10, 2020, 9:16pm UTC](https://community.codecov.com/t/new-file-created-in-pr-shows-no-coverage/575/6 "2020-12-10T21:16:42Z")

</div>

Hi @survyvaish, please open a new ticket for this so we can investigate appropriately.
