| Wiki Markup |
|---|
{iframe:src=http://update.sonarsource.org/plugins/totalquality.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe} |
Description / Features
Total Quality plugin combines four domains domain measures (architecture, design, code, and tests) in order to calculate a global and unified project quality health. Plugin provides metrics at project level only.
...
TQ = 0.25*ARCH + 0.25*DES + 0.25*CODE + 0.25*TS
or
TQ = 0.25*ARCH + 0.25*DES + 0.25*CODE + 0.25*OVERALL_TS (if computing Quality with IT Tests is enabled)
where:
Architecture (ARCH)
...
SUC = Unit Tests success density
Configuration
...
Overall Test (OVERALL_TS)
Testing quality is based on coverage metric family (coverage, and test success).
Test = 0.60*TS + 0.40*IT_COV
TS = Test Quality of Unit Tests
IT_COV = Integration Tests coverage
Installation
- Install the Total Quality plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
- Restart the Sonar server
Usage
Run an analysis on the project to compute the Total Quality metrics.
Every threshold and every formula should be configure configured with administration view.
If you want to remove a metric just do,
"ARCH=0.25 DESIGN=0.25 CODE=0.50 TESTS=0.00"
Known limitations and TODO
...
| Info |
|---|
| To enable the computation of IT Tests in Test Quality metric you need to enable it by setting "true" the sonar.tq.it_tests.enabled property at global or project level. |
TODO
Usage & Installation
1. Copy the jar into /extensions/plugins/ directory
2. Restart Sonar Web server
3. Launch a new quality analysis and the metrics will be fed
...
Change Log
| JIRA Issues |
|---|
| anonymous | true |
|---|
| title | Release 1.1 |
|---|
| renderMode | static |
|---|
| width | 900 |
|---|
| columns | type;key;summary;priority |
|---|
| url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17623&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000 |
|---|
|
...
...
...
...
| 900 | | columns | type;key;summary;priority |
|---|
|
...
| | url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16926&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000 |
|---|
|
...
...
...
...
| 900 | | columns | type;key;summary;priority |
|---|
|
...
| | url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16542&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000 |
|---|
|
...
...
...
...
| 900 | | columns | type;key;summary;priority |
|---|
|
...
| | url | http://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16289&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000 |
|---|
|