Code coverage displayed 0% in sonarqube dashboard

Template for a good bug report, formatted with Markdown:

  • versions used : SonarQube 7.9.3
  • error observed “”" We are performing build pipeline activity in our project azure Devops with all required SonarQube tasks and proper values. When we finish the build pipeline activity we can see that all the test cases are executed with no errors/warnings with 100% but we cannot see any coverage calculated and displayed in SonarQube dashboard. Kindly help with some checks or settings which we can see to find out and resolve the issue. “”"
  • steps to reproduce
  • potential workaround

P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour

There are many things that can go wrong here. At a minimum, you’ll need to provide all the property values you are setting, and all of the relevant log output. We don’t even know what language you’re scanning.

If your build produces an html file showing the coverage results, inspect that to see if even the build registered any coverage.

Hello David,
our application is .net core and we are using C# language for development. We are using all the standard tasks for pipeline.