Sonarscan coverage dropped to 0% on new code

Must-share information (formatted with Markdown):

  • 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)!



attaching screenshots

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 will help you find them.

 
Thx,
Ann

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