How to export the coverage report from SonarQube dashboard

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Community Edition Version 8.9.2 (build 46101)

  • what are you trying to achieve
    Want to export the code coverage report in Excel/PDF like format

  • what have you tried so far to achieve this
    Didn’t found any export option in Sonar Dashboard


That functionality doesn’t exist. If you want a report, you’ll need to craft it yourself using the Web APIs (which, BTW return JSON, so you’ll need to build your spreadsheet manually).

The best way to master the Web API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.