We are not able to see the coverage for the feature branches even if there is new code:
As shown below, coverage is not visible. On the Sonarqube dashboard(In the screenshot), Quality gate shows passed even though we have set quality gate condition to fail on new code coverage if it’s less than is 80%.
When we try the quality gate api for the same PR shown the screenshot: GET api/qualitygates/project_status (passing the parameter for the pull request ID), the result shows failed. The Sonar dashboard and the api results are not matching.
It looks like SonarQube isn’t detecting any changed lines that can be covered by code (executable lines). Are the 110 lines changed in this pull request actually covered by tests? What kinds of files are these?