plsql:UpperCaseReservedWordsCheck rule marks SQL file extension as wrong

Version info:

  • SonarQube Developer Edition - Version 8.0
  • SonarPLSQL Code Analyzer for PL/SQL 3.4.1

Hello,

we found the rule Reserved words should be written in upper case marks “sql” as an error, but it is a line from SQL*Plus script and the “sql” is just an extension of a file to be executed.

@@check_prerequisites.sql

Otherwise the rule is great, but we put our SQL*Plus scripts into the SVN as they are a part of installation that should be versioned, so we check it with SonarQube with our sources too.

We hope there could be a solution to this.

Thank you in advance.

Best regards,
Karel

That’s indeed a false positive.
I created SONARPLSQL-735 to track the problem.

Thanks for the feedback!

Great, thank you.
P.S.: sorry for the delay - I had to postpone my SonarQube activities.