- ALM used (GitHub)
- CI system used (Github Workflow)
- Scanner command used when applicable (sonar-scanner -Dsonar.projectBaseDir=.)
- Languages of the repository - Go, Vue, psql
- Error observed (loc metrics not tally on postgresql file.)
- scanner cli version: SonarScanner CLI 8.1.0.6389
- Steps to reproduce
- create a psql query and save in two file with .sql and .pgsql extensions.
ensure sql file scanned by plsql analyzer and pgsql by postgresql analyzer
- create a psql query and save in two file with .sql and .pgsql extensions.
Hi, I faced some issue regarding the LOC metrics when processing the psql files. Anyone facing the same issue?
I saved postgresql sql into two file extensions: sql and psql.
analyze result:
- plsql analyzer - parsing error but LOC match the file content.
- postgresql analyzer - syntax parsing without issue but LOC not tally with the file content.
