I am using the SonarQube developer edition. My code is having more than 500000 LOC.
SonarQube is throwing below error after every pull request analysis.
**
the last analysis failed because it would have caused your server-wide lines of code total to exceed your 500000 limit.
I ask because with sonar.pullrequest.key, sonar.pullrequest.branch and sonar.pullrequest.base, you should be getting a PR analysis and it appears that you’re not.
And at the same time, I notice some things in your parameter list that are off-kilter:
sonar.ProjectVersion=1.0 - the correct key is sonar.projectVersion. What you’ve provided will be ignored
sonar.analysis.mode=publish - this one hasn’t done anything literally for years
sonar.java.binaries=**/src - I sincerely hope your binaries aren’t actually located in your src directory
sonar.projectBaseDir=/devops/... - you shouldn’t need to specify this. It’s only useful in very special conditions.
sonar.pullrequest.github.endpoint=https://api.github.com/ - should be set server-side. Has no effect when set client-side