Compare metrics of two different projects

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Community 7.9.1

  • what are you trying to achieve
    We would like to compare the metrics of two different SonarQube projects. We have one repository that contains some base code. We have a fork that is an extension of this base code. Both are set up as different projects in SonarQube. Is there a way to see a diff of the metrics of these two projects? It would be nice to know if the quality has fallen in the fork .

  • what have you tried so far to achieve this
    I have tried to find a comparison or diff tool in the UI and google searched for the feature. I could script this using the api, but it seems like something that would already exist.


Welcome to the community!

That functionality was present a long, long time ago but was removed because we didn’t find it to be terribly useful day-to-day and it didn’t seem to get used.