Hello,
Recently I have upgraded Sonarqube having a postgresql database backup of 8.6 sonar versions restored to 8.9 LTS and upgraded database then perform sonar upgrade to 9.9 LTS–>10.2
An initial sonar version 8.6 is having LOC: 4,260,070 lines currently analyzed.
But after upgrading to 10.2 version LOC increased to 5481000 lines which exceeded LOC limit of 5000000.
Note:
- I performed analysis of 1 project after 10.2 which was already part of base database of 8.6 version having 500K LOC. Even after including this LOC(which we should not as it was already part of database) it should be 4,260,070 + 500k = 4760070 (within threshold of 5000000 LOC) but it was 5481000 which is incorrect and not getting result on sonar dashboard becasue of it
Why lines of code increase after sonarupgrade?
Let me know if any info is needed.