# Code coverage not displaying on PR analysis

**URL:** <https://community.sonarsource.com/t/code-coverage-not-displaying-on-pr-analysis/4613>\
**Category:** SonarQube Cloud\
**Tags:** java\
**Created:** [November 27, 2018, 12:45am UTC](https://community.sonarsource.com/t/code-coverage-not-displaying-on-pr-analysis/4613 "2018-11-27T00:45:32Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Alwyn\_Davis](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alwyn_davis/32/4919_2.png) [@Alwyn\_Davis](https://community.sonarsource.com/u/Alwyn_Davis)\
**Post date:** [December 12, 2018, 1:50am UTC](https://community.sonarsource.com/t/code-coverage-not-displaying-on-pr-analysis/4613/8 "2018-12-12T01:50:10Z")

</div>

Hi Duarte,

Thanks for highlighting that issue; it looks like that was the cause!

I copied our code into a new repository with the code to analyse in the root folder. Ran a base analysis on “master” and then on a “test” branch targeting “master”; the SonarCloud results then showed both changed lines and missing test coverage:

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/9/9e37ebd4972f5784fdd1ffda523f21d19eebe46b.png)

(I think I’ve replicated the steps from [Lines to cover on new code is 0 in PR and for branches](https://community.sonarsource.com/t/lines-to-cover-on-new-code-is-0-in-pr-and-for-branches/3396/17))

I can’t see anyway to workaround this for now, so I guess we’ll just have to wait for the fix to be released!

Thanks.

---

_[View the full topic](https://community.sonarsource.com/t/code-coverage-not-displaying-on-pr-analysis/4613)._
