What is the total metricKey value?

I am new to Sonarqube and would like to understand what is the total metric value. If normal metricKey value consists new code value as well or in order to get total I have to add normal metricKey + new code metricKey eg:

TOTAL = vulnerabilities
OR
TOTAL = vulnerabilities + new_vulnerabilities

SonarQube server API version: 8.0.0.29455

I would like to know what is the correct way to get total metric value for latest analyses report?

Hi,

Welcome to the community!

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.0 β†’ 8.9.2 β†’ 9.1 (last step optional)

Regarding your actual question, the metrics without β€œnew” in the name are the overall values, so the totals. No addition needed.

 
HTH,
Ann