Name |
SIG Maintainability Model Plugin |
Authors |
Roland Schmaderer, Olivier Gaudin |
Jira |
http://jira.codehaus.org/browse/SONARPLUGINS/component/13990 |
State |
Under development |
License |
LGPL v3 |
Download sources |
|
Download jar |
|
Compatibility with Sonar
Plugin |
0.1-SNAPSHOT |
|---|---|
Sonar |
1.10+ |
Description / Features
This plugin is an implementation of the Software Improvement Group(SIG) Maintainability Model.
The model is a 2 steps approach: calculate base indicators and then combine them to get higher level ones.
Every indicator results to a 5-levels ranking from – (very bad)to ++ (very good).
The first step is to evaluate base metrics.
Volume: based on the number of lines of code
Unit tests: based on the coverage of the application by unit tests
Duplications: base on the density of duplications
Complexity: base on the cyclomatic complexity of methods
Unit size: based on the lines of code of methods
The second step is to combine them, by doing a simple average, using the following mapping table :
|
volume |
complexity |
duplication |
unit size |
unit testing |
|---|---|---|---|---|---|
analysability |
|
|
|
|
|
changeability |
|
|
|
|
|
stability |
|
|
|
|
|
testability |
|
|
|
|
|
and therefore obtain 4 advanced indicators representing the 4 axes of maintainability of a software.
Optionally, the 4 indicators can be combined to give the maintainability ranking.

It is to be noted that the color of the spider represents the actual combined value, from RED = – to GREEN = ++
Usage & Installation
1. Copy the jar into /extensions/plugins/ directory
2. Restart Sonar Web server
3. Launch a new quality analysis
Known limitations
TBD

