Start Free
SonarQube Community Build | User guide | Monitoring code metrics | Introduction

Introduction to the code metrics monitoring

On this page

The language analyzers calculate the different code metrics that will be used to evaluate the 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.
  • Code metrics are used in the quality gate definition. For example, you can set a condition on the total number of raised issues in the code.
  • The mode of your SonarQube Community Build instance, either Multi-Quality Rule (MQR) mode or Standard Experience, will determine which code metrics you see in the UI.

You can use different tools in the SonarQube Community Build UI to monitor and compare your project or portfolio's code metrics. 


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License