Start Free
Latest | User guide | Viewing reports | Portfolios

Viewing portfolios

On this page

Portfolios are available starting in Enterprise Edition.

Portfolio Overview page

The Portfolio Overview page is the central place for managers and tech leads to keep an eye on the releasability of the projects under their supervision. Releasability is based on the portfolio's projects' quality gates. Each portfolio home page offers an aggregate view of the releasability status of all projects in the portfolio.

Depending on the configuration of your SonarQube Server instance, the portfolio report is generated with metrics either from Standard Experience or MQR Mode.

At the top of the page, you can see the overall releasablilty of the portfolio, a graph showing the releasability trend, and the number of project branches that are failing and passing their quality gate.

Reliability, Security (in MQR Mode) or Security Vulnerabilities (in Standard Experience), Security Review, and Maintainability ratings show the portfolio's overall health, both for new code and overall code.

Below the new code rating for each metric, you see how many project branches are doing well and how many are at risk.

Below the overall code rating, a graph showing the trend for each metric is displayed, along with the number of at risk project branches.

Releasability rating

The releasability rating is the ratio of projects in the portfolio that have a passed quality gate:

A: > 80%
B: > 60%
C: > 40%
D: > 20%
E: <= 20%

Rating conversion

Reliability, Security (in MQR Mode) or Security Vulnerabilities (in Standard Experience), Security Review, and Maintainability ratings for a portfolio are calculated as the average of the ratings for all projects included in the portfolio.

SonarQube Server converts each project's letter rating to a number (see conversion table below), calculates an average number for the projects in the portfolio, and converts that average to a letter rating. Averages ending with .5 are rounded up resulting in the "lower" of the two possible ratings, so an average of 2.5 would be rounded up to 3 and result in a "C" rating).

This gives a problem density measure on the four axes of Reliability, Security (in MQR Mode) or Security Vulnerability (in Standard Experience), Security Review, and Maintainability for your portfolio.

Rating conversion:

E: 5
D: 4
C: 3
B: 2
A: 1

Note: the Portfolio Overview page is also available at the sub-portfolio level

Portfolio PDF report

See PDF reports.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License