Usage, Installation and Configuration
- Install from Update Center or download the JAR into the directory /extensions/plugins/
- If you plan to use this plugin with non-maven projects or no SCM information is included in project's pom.xml you have to install also the SCM Activity plugin
- Restart Sonar.
Set the SCM URL of your project (see SCM URL Format) by setting the sonar.scm.url property of SCM Activity plugin. For Maven projects this is automatically discovered if it's already set in pom.xml
- Launch a new quality analysis and the metrics will be fed.
Description / Features
The plugin computes and feds Sonar with four (4) new metrics : Top 10 commiters, Commits / Clock Hour, Commits / Week Day and Commits / Month.
Four project widgets ( under the SCM category ) display these metrics using graphical representations.
The "commits per user widget" displays a list with the number of commits for each user and a pie chart as well
The other three widgets display in a bar chart the number of commits / clock hour , week day or month.

The plugin also adds a project dashboard under the name SCM Stats that contains all four widgets. |
Compatibility Matrix
Plugin version | 0.1 |
|---|---|
| Source Control | |
| |
| Git |
Metrics Definitions
Name | Key | Qualitative | Description |
|---|---|---|---|
Top 10 Commiters | scm-commits-per-user | no | Reports on top 10 commiters |
Commits Per Clock Hour | scm-commits-per-clockhour | no | Reports on the number of commits per clock hour. |
| Commits Per Week Day | scm-commits-per-weekday | no | Reports on the number of commits per week day. |
| Commits Per Month | scm-commits-per-month | no | Reports on the number of commits per month. |
Future Work
Plenty !!! Waiting for your ideas as well!
Change Log

