Zero code coverage


I have visited several topics that are similar to my problem which is zero code coverage. For some reasons when I am looking at the projects created that have SonarQube integration, only one of them has a correct number of code coverage, the rest are showing 0% even though bugs are found and alerts are raised.

I am not currently an owner of that SonarQube’s configuration but was trying to figure out why it shows 0% (the owner didn’t know either).

Hoping for your help.

Hi @dbx_pepe,

Welcome to the Community! :smiley:

Can you give a bit more information about the projects you’re investigating?

  • What language(s) are they in
  • What tools are you using to generate your coverage data?
  • Are the coverage files being passed to SonarQube in the scanner configuration?