Code Coverage shows as Processed by SonarCloud in DevOps Pipelines but not visible in SonarCloud UI

  • Azure DevOps Pipelines
  • Visual Studio 2019 Enterprise
  • .NET Framework 4.8.1 C# solution
  • NUnit

We are generating coveragexml files for sending to SonarCloud. Here is the output from the SonarCloud analysis, it all looks as expected but in the SonarCloud UI there isn’t even a Coverage block.

INFO: Sensor C# [csharp] (done) | time=2057ms
INFO: Sensor C# Tests Coverage Report Import [csharp]
INFO: Parsing the Visual Studio coverage XML report D:\a\1\a\TestResults\******.coveragexml

INFO: Adding this code coverage report to the cache for later reuse: D:\a\1\a\TestResults\******.coveragexml

INFO: Coverage Report Statistics: 990 files, 886 main files, 886 main files with coverage, 104 test files, 0 project excluded files, 0 other language files.

Hi @slacksach!

Welcome to our community!

The pasted logs look fine but we need to check if there are any warnings raised in the end step or if there are any reasons to exclude the results.

Would it be possible to run the analysis again, this time with verbose logging enabled (using /d:sonar.verbose=true parameter in the begin step), and share the end step logs with us?