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