Sonar ios code coverage

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) — sonarqube 7.8 enterprise edition
  • what are you trying to achieve sonar --code coverage for ios
  • what have you tried so far to achieve this – show case code coverage details in sonarqube

Could you please share the parameters for sonarqube for code coverage so that we can place them in jenkins.

Hi @prudhvi,

I invite you to read the following guides and adapt to your configuration:

1 Like

@mpaladin, using fastlane we have generated the code coverage xcov results in html format. But we are unable to upload into sonarqube. could you please help us on this

Thanks.

Hi @prudhvi,

you cannot use the html format. What version of Xcode are you using?

We are using xcode 10&11 and we using fastlane to generate the xcov results

Hi @prudhvi,

please follow [Coverage & Test Data] Generate Reports for Swift for Xcode 10. Regarding Xcode 11 the guide is going to come soon as the coverage format changed in such version.