Skip to content

Open source SonarQube plugin to perform static analysis of PL/SQL and Oracle SQL code

License

Notifications You must be signed in to change notification settings

phermsdorf/sonar-plsql

 
 

Repository files navigation

Continuous Integration Status
Travis (Linux build) Build Status
AppVeyor (Windows build and deployment) Build status

SonarQube PL/SQL Community plugin

This plugin adds PL/SQL and Oracle SQL support to the SonarQube. SonarQube is an open platform to manage code quality. This project supports SonarQube 5.6 and newer.

Installation

Contribute

You are welcome to contribute. PL/SQL and Oracle SQL are big languages and there are many pieces missing in the grammar.

Running the integration tests

There are two sets of integration tests:

  • plugin: checks if the metrics are imported correctly in SonarQube
  • ruling: checks the quality of parser and rules against real-world code

To run the integrations tests, first update the submodules:

git submodule update --init --recursive

Build the plugin:

mvn clean package

Then run the tests:

mvn test -Pit -Dsonar.runtimeVersion=LATEST_RELEASE -Dmaven.test.redirectTestOutputToFile=false

Alternatives:

If you're looking for PL/SQL support in SonarQube, there is also the commercial plugin from SonarSource.

About

Open source SonarQube plugin to perform static analysis of PL/SQL and Oracle SQL code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 91.8%
  • HTML 4.7%
  • PLSQL 2.5%
  • SQLPL 0.8%
  • PLpgSQL 0.1%
  • Shell 0.1%