Without 3rd party swift plugin in community edition, will analysis work?

Hi there,

i have a question for swift in sonarqube.

without 3rd party swift plugin in community edition, will analysis work for swift projects?
or its only available in developer edition?

Hi,

according to the Sonarqube docs

So i guess you’re bound to use

or / and use Swiftlint

Gilbert

hi,

Then why in documentation page it shows swift generic format?

Swift with Xcode 9.3+

You can use the xccov-to-sonarqube-generic.sh script from the sonar-scanning-examples/swift-coverage project to convert output from Xcode 9.3’s xccov tool to the Generic test data format.

Swift with Xcode 7-9.2

sonar.swift.coverage.reportPaths

Path to the report generated by llvm-cov show. The path may be absolute or relative to the project root.

@ganncamp @Colin

You are wondering why that is mentioned in the test coverage documentation without the hint, that
Swift analysis is only available starting in Developer Edition !?

1 Like