Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

Table of Contents

Description / Features

The plugin enables analysis of JavaScript projects within Sonar.

Installation

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

Usage

You can analyze your project with the different analyzers. Here are properties files examples for the Sonar Runner and Maven.

A list of sample projects is available on github that can be browsed or downloaded:

  1. JavaScript project analyzed with the Sonar Runner: /projects/languages/javascript/javascript-sonar-runner.
  2. JavaScript project analyzed with the Sonar Runner reusing unit tests and code coverage reports generated with JsTestDriver: /projects/languages/javascript/javascript-sonar-runner-JsTestDriver
  3. JavaScript project analyzed with Maven reusing unit tests and code coverage reports generated with JsTestDriver (integrated through jstd-maven-plugin): /projects/languages/javascript/javascript-maven-JsTestDriver

Extending Coding Rules using XPath

New coding rules can be added using XPath. See the related documentation.

To navigate the AST, download the SSLR JavaScript Toolkit.

Changelog

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

Roadmap Ideas

 

  • No labels