No code coverage item displayed in measures

Hi
I use sonar scanner to analyse code and code coverage, but I don’t see the item “coverage” in measures for PR.
the coverage.xml is well generated with gcovr.
in sonar-project.properties sonar.cfamily.gcov.reportsPath=path_to_coverage.xml,
in my CmakeFiles.txt I have option for the code coverage :
set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -g -O0 --coverage”)
set(CMAKE_EXE_LINKER_FLAGS “${CMAKE_EXE_LINKER_FLAGS} --coverage”)

despite all my attempts, I cannot get the coverage item in measure menu.

What am I missing?

SONAR_SCANNER_VERSION=5.0.1.3006
Deployed in docker.

Thank you

Hi,

Welcome to the community!

Can you post your analysis logs?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann