Code-coverage for shared libraries

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) - * Enterprise Edition* v10.8.1
  • how is SonarQube deployed: zip, Docker, Helm - Zip
  • what are you trying to achieve - code coverage for shared libraries.
    Using
    1. llvm as code coverage tool
    2. using c/cmake
  • what have you tried so far to achieve this - creating coverage files for shared libs but coverage score is less.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Note that for static libs our coverage scores are good and we re expected scores.

Please share more information on above query. Thank you

Hi,

Could you expand on this, please? The coverage score is… lower in SonarQube than in the reports?

 
Thx,
Ann