Does line of code billing carry over if not used?

Does line-of-code billing carry over if not used? For example, I just used 90,000 lines of code this month and have a package plan for 100,000 lines of code. Will the remaining 10,000 lines carry over to the next month? This means that next month, I will have 110,000 lines of code allowed for analysis.

From Plans & Pricing

How are the plans licensed?

Developer Edition, Enterprise Edition, and Data Center Edition are priced per instance per year and based on your lines of code (LOC). An instance is an installation of SonarQube. You pay per instance for a maximum number of LOC to be analyzed.

How are my Lines of Code (LOC) calculated?

LOC is calculated by summing up the LOC of each project analyzed in your SonarQube instance. Blank lines, comments, and lines of test code are never included in the count. The LOC of a project is counted as the lines in the largest branch of the project. […]

The number of lines of code you analyze monthly is irrelevant for SonarQube’s licensing. What matters is the lines of code stored in the database. SonarQube’s licensing counts only the largest branch of each project.

So, if your license covers 100,000 lines of code and your project has 50,000, you’re free to run analyses as often as you like, whether that’s once, 10, 1000, or even 1,000 times daily without affecting your license.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.