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 65 Next »

Table of Contents

Once Sonar installation is complete, you are ready to run analyses on your projects.

Scope of Analysis

Sonar has capability to perform analysis on 18+ languages. The outcome of this analysis is going to be mainly measures of metrics and violations of coding rules. However, what gets analyzed by Sonar will vary depending on the language analyzed:

  • On all languages, Sonar performs static analysis of source code (java files, Cobol programs, etc.)
  • Sonar can perform static analysis of compiled code on certain languages (.class files or jars in Java, dll files in C#, etc.)
  • Sonar can perform dynamic analysis of code on certain languages (execution of unit tests in Java, C#, etc.)

Running Analysis

First, you should install the language of the project to be analyzed either by a direct download or through the update center.

To launch your Sonar analysis, the following clients are available:

For more information, see also:

Since Sonar 3.3, it is possible to analyze a multi-module project with different languages. For Sonar versions prior to 3.3, each of those modules needs to be analyzed separately by running a specific Sonar analysis. Then the results can be aggregated at project level, using the Views plug-in.

  • No labels