You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CT = conditions that have been evaluated to 'true' at least once
CF = conditions that have been evaluated to 'false' at least once
B = total number of conditions
And Quality-time calculates: uncovered conditions/total number of conditions.
Unfortunately, the CT and CF metrics are not available in the SonarQube API.
Proposed solution: for the percentage scale of the branch coverage metric, use the percentage from SonarQube (instead of calculating it) and for the count scale use the uncovered conditions (same as now).
The text was updated successfully, but these errors were encountered:
SonarQube calculates (see https://docs.sonarqube.org/latest/user-guide/metric-definitions/):
Condition coverage = (CT + CF) / (2*B)
where
And Quality-time calculates: uncovered conditions/total number of conditions.
Unfortunately, the CT and CF metrics are not available in the SonarQube API.
Proposed solution: for the percentage scale of the branch coverage metric, use the percentage from SonarQube (instead of calculating it) and for the count scale use the uncovered conditions (same as now).
The text was updated successfully, but these errors were encountered: