# Sonarscan coverage dropped to 0% on new code

**URL:** <https://community.sonarsource.com/t/sonarscan-coverage-dropped-to-0-on-new-code/136650>\
**Category:** SonarQube Server / Community Build\
**Tags:** coverage\
**Created:** [March 11, 2025, 7:33pm UTC](https://community.sonarsource.com/t/sonarscan-coverage-dropped-to-0-on-new-code/136650 "2025-03-11T19:33:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devadakshith](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Devadakshith](https://community.sonarsource.com/u/Devadakshith)\
**Post date:** [March 11, 2025, 7:33pm UTC](https://community.sonarsource.com/t/sonarscan-coverage-dropped-to-0-on-new-code/136650/1 "2025-03-11T19:33:29Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - 10.7 Developer edition
- how is SonarQube deployed: zip
- what are you trying to achieve : troubleshoot coverage issue
- what have you tried so far to achieve this:
- 

Hi Team,  
We’ve noticed that the coverage on one of our SonarQube projects has dropped significantly, from around 90% to 0%. Upon investigation, we found that this issue started occurring after March 5, 2025. The UI indicates that the ‘new code’ period started 6 days ago.

Could you please check and help us understand the issue

Regards!  
Dev

**Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!**

---

<div class="post-metadata">

**Author:** ![Devadakshith](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Devadakshith](https://community.sonarsource.com/u/Devadakshith)\
**Post date:** [March 11, 2025, 7:37pm UTC](https://community.sonarsource.com/t/sonarscan-coverage-dropped-to-0-on-new-code/136650/2 "2025-03-11T19:37:45Z")

</div>

![Screenshot 2025-03-12 at 1.03.58 AM](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/c/4/c47f8b2e92f262b0956e4885f7debb10e753140a.png)  
 ![Screenshot 2025-03-12 at 1.05.54 AM](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/3/e/3e6eb7d65352cdfd34b3aa7b5308cbf64902ce37.png)  
 ![Screenshot 2025-03-12 at 1.06.31 AM](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/5/f/5f606dc4bb53fd69574fd70e6da2250f872b14c4.png)

attaching screenshots

---

<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:** [March 12, 2025, 1:47pm UTC](https://community.sonarsource.com/t/sonarscan-coverage-dropped-to-0-on-new-code/136650/3 "2025-03-12T13:47:43Z")

</div>

Hi,

Please share your analysis logs.

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

[This guide](https://community.sonarsource.com/t/how-to-find-logs-about-importing-code-coverage/73317) will help you find them.

&nbsp;  
Thx,  
Ann

---

<div class="post-metadata">

**Author:** ![Devadakshith](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Devadakshith](https://community.sonarsource.com/u/Devadakshith)\
**Post date:** [March 12, 2025, 5:57pm UTC](https://community.sonarsource.com/t/sonarscan-coverage-dropped-to-0-on-new-code/136650/4 "2025-03-12T17:57:16Z")

</div>

Hi Ann,  
we’ve identified the cause of the issue—it turns out the coverage was skipped due to some recent changes. Please go ahead and close this request

Thanks!  
Dev
