"XX selected project branches in E" much higher then the actual number of projects in E

Using SonarQube Enterprise 2025.1.1 running on premise

I go to a portfolio. I look at the reliability stats. I see, let’s say, 35 select project branches in E. Then I click on the link and it gives me a list of projects.

If I count the E that, I see about 8 let’s say.

Where is the 35 coming from?!? Maven sub-modules? Something weird calculation with branches instead of only counting the main branch?

Thanks for your help.

Hi,

Welcome to the community!

It’s possible you don’t have access to see all the projects in the portfolio. There should be some messaging in the UI about that:

Do you see this warning? Perhaps you can talk to an admin of the portfolio in question to see what projects you’re missing and work on getting permissions to them.

 
HTH,
Ann

No. I’m an almighty admin. I was able to extract the projects from the API and the number of “E” matches the number on the summary. But the details do not. I have no idea how a project can be D on screen and E on the API.

Hi,

Okay, I’m not sure I got the correct interpretation the first time I read your OP.

You’re not saying that you only see 8 out of 35 projects. You’re saying that you expect all 35 to have an E rating and only 8 do?

Could you share some screenshots - redacted as necessary - to help us understand what you’re seeing?

 
Thx,
Ann

I start to seriously do not see why this is not a bug. In the portfolio here is a 57. The REST API will give the same number.

But when I click on the link, I see an unsorted mix of E and D with only 12 E.

Or, actually, I will make the problem simple. For a project, the API says 5.0 in reliability and on the project detail, on screen, it says D.

Hi,

Thanks for the screenshots. Can you share which rating this is? Also, there seems to be a watermark in the corner of the first screenshot. Is that from the PDF, or the live UI? Is the portfolio made up of all main branches, or are some (all) of them non-main?

And finally, is your server in MQR mode?

 
Thx,
Ann

We are in MQR. The screenshots are live. This is the bottom of the Reliability screen. The portfolio is all main branches (master branches configured to be the default).

Hi,

Thanks for those details. I suspect this is about MQR mode, but I don’t know for sure, so I’m going to flag this for more expert eyes.

 
Ann

Any news?

Hi,

I’ve flagged this for the experts. Hopefully they’ll be along soon.

 
Ann

1 Like

We’re investigating this now. I believe @ganncamp is correct - this is likely connected to the ability to turn on/off MQR mode, and specifically the duplication of many common measures that resulted from this feature.

Looking through the relevant code, this should be pretty easy to fix on our end; I’ve moved this work to the top of our backlog.