“When I checked one day, I found that SonarQube had a high number of lines of code (LOC) recorded. However, after a few days, when I checked again, the LOC in SonarQube had decreased. Does this happen?”
Hi,
The lines of code reported by SonarQube are a direct result of what’s fed into analysis. If you want to pursue this, you should look at what project changes and pipeline configuration changes were made in the period of this fluctuation. For instance, was a new library added to the project? Was sonar.sources
changed? There are a dozen reasons this could happen. Your answers will be found in your configurations.
HTH,
Ann