Code Coverage is not shown in the SonarCloud.io

Hi,

We have several projects in SonarCloud.io (Pay mode) showing code coverage results, but we have problems with one of them.

We are generating an opencover file:

<?xml version="1.0" encoding="utf-8"?> DataFactory.CustomActivities.Common.dll 2019-10-04T11:01:26 DataFactory.CustomActivities.Common

Ans the scanner is adding this file

INFO: Sensor C# Tests Coverage Report Import [csharp]
INFO: Parsing the OpenCover report /home/vsts/work/1/./s/***/results/coverage.opencover.xml
INFO: Adding this code coverage report to the cache for later reuse: /home/vsts/work/1/./s/*/results/coverage.opencover.xml
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=107ms
INFO: Sensor C# Unit Test Results Import [csharp]
INFO: Parsing the Visual Studio Test Results file /home/vsts/work/1/./s/
+
/builds/.test-results/_4336933ca612_2019-10-04_11_01_23.trx
INFO: Sensor C# Unit Test Results Import [csharp] (done) | time=67ms

But in SonarCloud.io teh results of Code Coverage is always 0%.

Can you help us to resolve this annoing problem?

Regards!

7 Likes