# Zero code coverage on Sonar

**URL:** <https://community.sonarsource.com/t/zero-code-coverage-on-sonar/65086>\
**Category:** SonarQube Server / Community Build\
**Tags:** coverage, java\
**Created:** [June 20, 2022, 9:53am UTC](https://community.sonarsource.com/t/zero-code-coverage-on-sonar/65086 "2022-06-20T09:53:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijit-sonar](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@vijit-sonar](https://community.sonarsource.com/u/vijit-sonar)\
**Post date:** [June 20, 2022, 9:53am UTC](https://community.sonarsource.com/t/zero-code-coverage-on-sonar/65086/1 "2022-06-20T09:53:07Z")

</div>

Hi Team,  
We are using SonarQube community edition and for the maven builds sonar stage been added to Azure DevOps pipeline.

We were getting the code coverage for the maven builds in sonar.  
But when we re-ran the same pipeline code coverage is showing Zero. Source code is same no changes were made but still zero code coverage.

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

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [June 20, 2022, 4:13pm UTC](https://community.sonarsource.com/t/zero-code-coverage-on-sonar/65086/2 "2022-06-20T16:13:19Z")

</div>

Hi,

Welcome to the community!

It seems that you’re doing something different and getting a different result. I would start by comparing the analysis logs (i.e. the commandline output from the analysis command) from the two methods and seeing what’s different.

&nbsp;  
HTH,  
Ann
