Metric "tests" not listed in api/metrics/search but is shown in UI and can be fetched

Hi,
Using SonarQube 8.9.10 Enterprise Edition. I would need to understand why the metric “tests” is not listed when I query api/metrics/search? It is shown in the UI and I can get the results by API calls.

In addition, why there is no new_tests to get the number of unit tests on the new code only?

As a side question, to save a topic: why new_sqale_rating metric does not exist? In the UI, Maintanability is shown for new code separately…

Hi,

We really prefer one question per topic. Otherwise things get messy, fast.

Perhaps it’s in page 2 of the results?

 
Ann