Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
anonymoustrue
titleRelease 1.0.1
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16542&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.0
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16289&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000