Introduction
SonarQube’s automated code review and analysis uses various code metrics to evaluate code quality.
Code metrics are used in:
Rules to raise issues, for example, when a certain level of complexity is reached for a function in the code. See Rules Overview for more information.
Quality gate definition, for example, you can set a condition on the total number of raised issues in the code. See Understanding quality gates for more information.
The mode of your SonarQube Server instance, either MQR mode or Standard Experience, will determine which code metrics you see in the UI.
You can use different tools in the SonarQube Server to monitor and compare your project or portfolio’s code metrics.
Related pages
Last updated
Was this helpful?