- Install the Toad CodeXpert plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
- Restart the Sonar server
- Quest Software Toad 9.5 or higher with the CodeXpert module (included into Toad for Oracle Xpert, Toad for Oracle Professional and Toad Development Suite for Oracle).
- A connection to an Oracle database if you use Toad 9.x or 10.x. This is a limitation of Toad that needs to be connected to the database even if it is not used by the CodeXpert module. So you can set a “fake” connection to an empty database.
The following properties have to be set (at project level through the 'sonar-project.properties' file or at instance level through the 'sonar-runner.properties' file or web interface):
sonar.plsql.toad.exePath=C:/Program Files/Quest Software/Toad for Oracle 10.5/Toad.exe sonar.plsql.toad.login=USER@XE sonar.plsql.toad.password=user_password
Run an Analysis
Activate some rules from Toad CodeXpert in your project quality profile and run an analysis of your project.