Sonar Qube coverage option doubt for windows

Hi,
I was using the developer edition of Sonar Qube (V2025.2).My IDE name is Mcuxpresso v11.8.0.Using Embedded C programming Langauage to code our project.I don’t know How to use the coverage option in the Sonar Qube.Can you guide me How to generate the report for coverage part.I was imported the project and unable to get the report of the covera

Hey @vicky_Babu,

The IDE plug-in, SonarQube for Eclipse (formerly known as SonarLint), differs from the SonarQube Server (Developer Edition) you have there.

You can use the plug-in alongside the server application in Connected Mode - I highly recommend it - but they differ in their features.

The IDE plug-in does not support coverage reports, this is only available on the SonarQube Server. But when in Connected Mode, all your configurations regarding rules are synchronized to the IDE!

Cheers :cocktail_glass:

1 Like

Is there is any procedure to see the coverage report in the Sonar Qube Developer Edition.In Mcuxpresso they recommeded the gcov tool to got the coverage report.So I was generated the .gcno,.gcda and source file in the separate folder.Then using the Command prompt to execute the report.But It unable to generate the coverage report.
Is there is any Manual to generate the covergae report of the project in the sonar qube developer edition.



SonarQube does not generate the coverage report for you, but rather, you have to generate it (e.g. in your build) and then pass its result on to the Sonar Scanner via a dedicated property based on the type of coverage report. In your case, it seems to be C/C++ and GCOV - so it would be sonar.cfamily.gcov.reportsPath.
Here is the dedicated documentation.

In the screenshots you share, it seems that generating the coverage fails already, I would recommend you have a look at the documentation of the tool (gcovr) you use. Once these issues are sorted out, you can pass the coverage report on to the Sonar Scanner as mentioned above.

When this works, the coverage is correctly displayed on your SonarQube Server.