SonarScanner → 188.8.131.5247
Sonarqube → 7.9 community
SonarQube deployed → Kubernetes
We’re trying to scan a sql repository which is taking between 1hr and 45 minutes for complete the scan.
I’ve seen one file have an average of 92 line of code which take like 45 minutes and we want decrease this scanner time.
these are the approach taken:
- Update SONAR_SCANNER_OPT with -Xmx4056m
- Execute in difference SO (unix, Windows)
- Use parameters such as: -D"sonar.language=plsqlopen" -D"sonar.lang.patterns.plsqlopen=**/*.sql to avoid other plugins