Skip to content

Open source SonarQube plugin to perform static analysis of PL/SQL and Oracle SQL code. This project has no affiliation with SonarSource.

License

Notifications You must be signed in to change notification settings

pdellarciprete/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. This project has no affiliation with SonarSource.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 91.6%
  • HTML 4.7%
  • PLSQL 1.8%
  • TSQL 1.6%
  • SQLPL 0.1%
  • PLpgSQL 0.1%
  • Other 0.1%