Skip to end of metadata
Go to start of metadata
NameComparing
Latest version0.1 ( 8 Aug 2012 )
Requires SonarQube version3.2 or higher      ( check version compatibility )   
Downloadhttp://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/sonar-comparing-plugin/0.1-SNAPSHOT/sonar-comparing-plugin-0.1-SNAPSHOT.jar
LicenseGNU LGPL 3
DevelopersDavid FRANCOIS
Issue trackerhttps://jira.codehaus.org/browse/SONARPLUGINS/component/15588
Sources-

 

Description / Features

This plug-in offers one new global widget to display the number of lines of code or the number of projects by language:


This plug-in offers one new page at project level as well. This page enables to compare different metrics with the average value for the corresponding metric for the current language:

By default, the plugin displays the following metrics:

  • SQALE (only if it is installed)
    • sqale_rating
  • Size
    • ncloc
    • files
  • Violations
    • violations_density
  • Complexity
    • function_complexity
    • file_complexity
  • Duplication
    • duplicated_lines_density
  • Documentation
    • comment_lines_density
    • public_documented_api_density 

It is possible to display more metrics (quantitative metrics). It can be useful during the comparison with another project

We add the following metrics  for display:

  • SQALE
    • sqale_index
  • Size
    •  functions
    • statements
  • Violations
    • violations
    • blocker_violations
    • critical_violations
    • major_violations
    • minor_violations
    • info_violations 
  • Complexity
    • complexity
  • Duplication
    • duplicated_lines
    • duplicated_blocks
    • duplicated_files
  • Documentation
    • comment_lines
    • public_undocumented_api 

It is possible to select a specific project for the same language to compare the different metrics with:

Installation

  1. Install the Comparing plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the SonarQubeserver

Configuration

Widget parameters

 

ParameterDefault valueDescription
metricDisplayPRJ

To define if the widget displays the number of projects or the number of lines of code by language.

Possible values:

  • PRJ                   (for projects) 
  • LOC                  (for lines of code)

 

Change Log

TODO

 

Labels
  • None