O'Reilly logo

Sonar Code Quality Testing Essentials by Charalampos Arapidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Sonar Metrics Index

This appendix lists all Sonar metrics in separate categories along with a brief description for each metric and information on where to locate it within the Sonar user interface.

Sonar metrics

Sonar metrics are categorized into the following categories:

  • Complexity
  • Design and Architecture
  • Documentation
  • Duplication
  • General
  • Unit Tests
  • Rules Compliance and Violations
  • Project Size
  • Management

Complexity metrics

Complexity metrics are available in the Complexity and Quality Index widgets in the dashboard. The Quality Index widget is available as a plugin.

Metric name

Definition

Sonar component

Complexity

The total Cyclomatic Complexity number was introduced by McCabe. For each of the following java statements the number increments ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required