sorry to dredge this up, but just to confirm, these are the metrics keys needed to fill that info up?
branch_coverage,conditions_to_cover
coverage,ncloc
What’s a bit confusing is that branch_coverage and coverage are percentages.
And if you try to roll these up to the “folder/component” level, do you divide that by the total ncloc+conditions_to_cover?
nvm: found this page and it’s good enough to follow:
https://docs.sonarqube.org/latest/user-guide/metric-definitions/
On that doc, could elaborate on B a bit and mention all the metricKeys that can be used to do the calculation (was missing one IIRC).