Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The plugin enables analysis of JavaScript projects within SonarSonarQubeTM.

It is compatible with the Issues Report plugin to run pre-commit local analysis.


  1. Install the JavaScript plugin through the Update Center or download it into the SONAR SONARQUBE_HOME/extensions/plugins directory
  2. Restart the Sonar SonarQubeTM server


Run a


SonarQubeTM Analysis with the Sonar Runner (Recommended Way)

To launch a Sonar run an analysis of your JavaScript project, use the Sonar Runner.

A sample project is available on GitHub that can be browsed or downloaded: /projects/languages/javascript/javascript-sonar-runner.

Run a


SonarQubeTM Analysis with the other Analyzers

Maven and Ant can also be used to launch analysis on JavaScript projects.


Reports from JsTestDriver can be imported into SonarSonarQubeTM.

A sample project is available on Github (can be browsed or downloaded): this is a JavaScript project analyzed with the Sonar Runner reusing unit tests and code coverage reports generated with JsTestDriver. It is located in /projects/languages/javascript/javascript-sonar-runner-JsTestDriver.


See Metrics documentation page.