Code coverage is showing as 0.0% while i can see the code bugs, vulnerabillity ,code smell issues, duplications etc

Hi @james_prakash ,

Welcome to SonarSource community! :sonarsource:

Please check these 2 community guides and review them to see if this matches your problem:

If those do not help you, please take a look at my example pipeline yaml file for Azure DevOps that imports VSTests and coverage correctly:

azure-pipelines.yml

It’s for SonarCloud, but it’s similar for SonarQube.

If all that fails, please add sonar.verbose=true to the extraProperties key in SonarQubePrepare task with Azure pipelines yaml and share the logs here.

Joe