Versions Compared

Key

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

This plugin is deprecated since SonarQube 4.0. Please move to the concept of Technical Debt introduced in SonarQube 4.0.

 

 

Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/qualityindex.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

...

The Quality Index measures 4 weighted axes of quality and combines them to give a global note score between 0 and 10 to the project, 10 being the best.

...

Coverage = Code coverage by unit tests.

If there is are no unit tests and thus no code coverage, the Coverage axis will get the worst grade.

...

Quality Index = 10 - 4.5 * Coding - 2 * Complexity - 2 * Coverage - 1.5 * Style

Complexity Factor

The Complexity Factor measures the complexity density.

...