I am writing to bring to your attention an issue I am experiencing with our SonarQube instance. Despite removing almost 3 million lines of code from our projects, the total number of lines analyzed has not decreased accordingly. As shown in the attached screenshot, it still indicates that we have reached 9.9 million lines.
Could you please advise if there are any other options or steps, we can take to accurately reflect the current number of lines of code? This situation is quite concerning as we are nearing our limit.
Deleting a branch from a project won’t move the needle. License LOC are calculated by summing the largest branch (or PR) from each project. So even deleting the largest branch from a project will only mean that now the next-largest is counted toward the license.
Your screenshot shows you’re on 9.9.6. Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:
If you have questions about upgrading, feel free to open a new thread for that here.
Will the upgrade help with project deletion and license LOC reclamation? That’s not clear to me. My search of Jira didn’t turn up anything conclusive, but we’re not going to be able to help you debug this on an EOL version.