...
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
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
Configuration
Every limit and every formula should be configure with administration view.
If you want to remove a metric just do,
"ARCH=0.25 DESIGN=0.25 CODE=0.50 TESTS=0.00"
| 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 on a global or project level. |
Known limitations and TODO
...
| JIRA Issues | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| JIRA Issues | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|

