Viewing billing or usage information
This page provides instructions on how to view billing and usage information for both SonarQube Cloud organizations and enterprises.
This page explains how to view your billing and usage information. If you are concerned that you might be close to the LOC (number of lines of code) limit defined in your subscription plan, you can check your current consumption as described below. For more information, see LOC-based pricing. To change the LOC limit, see Changing your subscription plan.
Viewing your organization’s billing and usage information
To view your organization’s billing and usage information, you must be an admin of the organization. Proceed as follows:
Retrieve your organization. See Retrieving your organizations for more details.
Select the Billing & Usage tab. The dashboard shows details of the total LOC analyzed to date and the total number of projects. If your organization belongs to an enterprise and uses the shared LOCs, you will see the usage of the shared LOCs. For more information about shared LOCs, see About the enterprise lines of code limit (Shared LOC and Allocated LOC).
Click on the number of projects to view a breakdown of the number of lines of code contained in each project within your organization.

Viewing your enterprise’s usage information
See Viewing the lines of code consumption.
Related pages
Last updated
Was this helpful?