Sonar PLSQL Rules customization

Hi -

In our organization we are trying to create custom rules for PLSQL language. We were able to create custom rules for XML language using XPATH expressions.

Would like to check whether any documentation is there for setting up custom rules for PLSQL language.

Eg rule If a cursor is open must be closed.

You can have a look at the documentation for custom rules: it gives some information about how you can write XPath rules for PL/SQL and other languages.

Please note that SonarQube already has a rule to check that cursors are closed.