Viewing portfolios
Your SonarQube Cloud portfolio includes a set of projects within your enterprise that enables an aggregate view of each project's metrics and risks.
This feature is only available in the Enterprise plan.
A portfolio is a set of projects within your enterprise that enables an aggregate view of the project metrics and risks. More precisely, a portfolio consists of project branches and for each project, you can add a single long-lived branch to the portfolio.
Retrieving a portfolio

Click My Portfolios in the top navigation bar and select your enterprise
The Portfolios home page lists all the portfolios that belong to this organization. Use the search box to narrow down the results.
Here, you can review the portfolio’s overall code ratings, including the number of projects with the worst rating, see the number of Lines of Code analyzed, and see the number of projects included in the portfolio.
Click on the portfolio name to view more details.
See Managing portfolios for more information about how to create, edit, and delete portfolios.
Portfolio metrics
The reliability, security vulnerabilities, security review, and maintainability ratings are calculated as the average of the ratings for all projects included in the portfolio.
SonarQube Cloud converts each project’s letter rating to a number, 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 for your portfolio’s four axes: reliability, security vulnerabilities, security review, and maintainability.
Rating conversion: E->5, D->4, C->3, B->2, A->1
A risk level is associated with each metric, except for the Releasability:
High: if at least one project in the portfolio is rated E or D.
Medium: if at least one project in the portfolio is rated C or B.
Low: If all projects in the portfolio are rated A.
Each metric is calculated by SonarQube Cloud for New and Overall Code.
Overview page
Once you retrieve a portfolio, you will land on an Overview page, which displays a summary of information from the project branches included in the portfolio for Releasability, Security, Reliability, Maintainability, and Security Review. The ratings are calculated on New and Overall code and include project distribution for a rating as well as a risk level.

Portfolio Breakdown page
The Portfolio Breakdown page lists the projects included in the portfolio for which you have the Browse permission. They are ordered according to the Releasability column. You can switch between New code and Overall code views.

Measures page
The Measures page provides an in-depth breakdown of metrics across your portfolio projects, helping you gain broader visibility. It includes:
Software quality rating breakdown: View ratings breakdown across multiple projects at once.
Code coverage visibility: Easily see code coverage at the portfolio level without manually aggregating project data.
Duplication insights: View duplications by project in your portfolio to maintain high-quality, maintainable software. Note that his feature does not cover cross-project duplications.
Lines of Code (LOC) tracking: Quickly understand LOC usage breakdown by language and by project.
See Understanding measures and metrics for more information about code metrics used in the Sonar solution.
Related pages
Last updated
Was this helpful?