# Code coverage visualization not working

**URL:** <https://forum.gitlab.com/t/code-coverage-visualization-not-working/57633>\
**Category:** GitLab CI/CD\
**Created:** [August 25, 2021, 9:10am UTC](https://forum.gitlab.com/t/code-coverage-visualization-not-working/57633 "2021-08-25T09:10:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtorsten](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@rtorsten](https://forum.gitlab.com/u/rtorsten)\
**Post date:** [August 25, 2021, 9:10am UTC](https://forum.gitlab.com/t/code-coverage-visualization-not-working/57633/1 "2021-08-25T09:10:12Z")

</div>

I try to configure gitlab to display coverage inside merge request but seems it doesn’t work.

Prepare pet clinic project with additional cobertura step as described in guidelines: [https://docs.gitlab.com/ee/user/project/merge\_requests/test\_coverage\_visualization.html](https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html)

But no success at all. In MR I didn’t found any visualization that line covered or not.  
Project is public: [https://gitlab.com/r.torsten/test-coverage-visualization](https://gitlab.com/r.torsten/test-coverage-visualization)

Will be glad if you somebody can share some idea why this functionality not working.

---

<div class="post-metadata">

**Author:** ![jheimbuck\_gl](https://sea2.discourse-cdn.com/gitlab/user_avatar/forum.gitlab.com/jheimbuck_gl/32/8112_2.png) [@jheimbuck\_gl](https://forum.gitlab.com/u/jheimbuck_gl)\
**Post date:** [August 25, 2021, 1:56pm UTC](https://forum.gitlab.com/t/code-coverage-visualization-not-working/57633/2 "2021-08-25T13:56:31Z")

</div>

Thanks for the post @rtorsten and welcome to the forum!

It looks like it’s working but the lines shown in the Changes tab don’t have data in the cobertura.xml file. If you expand the view you can see coverage for surrounding lines.

 ![Screen Shot 2021-08-25 at 7.55.24 AM](https://us1.discourse-cdn.com/gitlab/original/3X/2/8/286b71be072dffc3a14a2118c8699b036ac2fadc.png)

-James H, GitLab Product Manager, Verify:Testing

---

<div class="post-metadata">

**Author:** ![rtorsten](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@rtorsten](https://forum.gitlab.com/u/rtorsten)\
**Post date:** [August 25, 2021, 2:39pm UTC](https://forum.gitlab.com/t/code-coverage-visualization-not-working/57633/3 "2021-08-25T14:39:40Z")

</div>

Many thanks, James. Now this functionality is clear for me.
