Eclipse Sonar Tutorial

Eclipse Sonar Tutorial explains step by step details of installing and configuring Sonar plugin with eclipse.

By using Sonar Eclipse Plugin, you can see various reports inside from your eclipse IDE.

How to configure Sonar plugin with eclipse?

SonarQube is an open source platform for Continuous integration and improving the code quality.

It is entirely written in java and supported for other 25+ languages such as Java, C/C++, C#, PHP, Flex, Groovy, JavaScript, Python, PL/SQL, COBOL, etc, it is also used for Android Development

Note

If you interested on PMD Eclipse Plugin (another source code analysis tool), You can follow PMD Eclipse Tutorial

If you interested on Eclipse Checkstyle Tutorial (another code analysis tool), You can follow Eclipse Checkstyle Tutorial

If you interested on FindBugs Eclipse Plugin (another source code analysis tool), You can follow FindBugs In Eclipse Tutorial

Note

Eclipse Sonar Tutorial only works if you are created a sonar project and configured with sonar server, if not please follow SonarQube Tutorial first.

Sonar Eclipse Tutorial

You need to download

  1. Eclipse 3.7
  2. SonarQube 3.3

You can install the Sonar Eclipse plugin using Eclipse update manager from the following links

  1. http://dist.sonar-ide.codehaus.org/eclipse/

Sonar Eclipse Installation

For Installing Sonar Plugin from eclipse, select Help->Install New Software Then click add, then provide Name and Location according to the following screenshot

Sonar Eclipse Installation

Sonar Eclipse Plugin Installation

Then select the Sonar Java click next and accept the license details, it will install the Sonar

Sonar Eclipse Configuration

After install, you need to associate created sonar projects with eclipse (See the below screen shot)

Associate Sonar Eclipse Plugin

After that type Project name on the search box, it will popup with Created Sonar projects and click finish (See the below screen shot)

Sonar Eclipse Configuration

Now the project is associated with eclipse and you can view various reports inside eclipse (See the below screen shot)

Sonar Eclipse Report











2 Responses to "Eclipse Sonar Tutorial"
  1. Sujata 2013-11-01 09:50:49.0
  1. Sudhahar F 2013-11-02 09:50:49.0

Your email address will not be published. Required fields are marked *