Have SonarQube publish coverage information and duplication information for Pull Request Analysis for Android.
What have I done so far
The long lived branch is the master branch.
Regular and Branch analysis are successfully setup for iOS projects where the code coverage information is visible in the SonarQube dashboard.
iOS is configured via sonar-project.properties file. Here we use sonar.coverageReportPaths. The coverage file is compiles using the iOS script in the sample repository on GitHub.
PR analysis is set up as per the docs and there is a GitHub Enterprise App that adds the checks on PRs.
Here is a screenshot to confirm.
I see that you are using SonarQube 7.7. It is highly recommended that you upgrade to SonarQube 7.9.1 LTS to take advantage of improvements and fixes .
Can you verify that you are seeing Coverage information in SonarQube for these scans? Go to your project in SonarQube and use the branch dropdown to find the branch for your PR. If you are not seeing coverage in SonarQube, there is likely a configuration issue in your scan. See the Java and Swift entries (there is a separate process for Swift 9.3+) in the Test Coverage section of the Test Coverage and Execution documentation page.