//.# SonarQube Plugin for Swift Changelog
- None.
- None.
- None.
- None.
support import issue from Facebook Infer
- None.
- None.
- Sped up analysis with a single build test using 'build-for-testing'
- run-sonar-swift.sh now supports -sonarurl -sonarlogin and -sonarpassword arguments for SonarQube server connection
- Fixed "The domain/default pair of (xxx, yyy) does not exist" Gaël Foppolo #246
- Add SwiftLint 0.35.0 support Gaël Foppolo #247
- Fixed NPE on LizardReportParser.addComplexityFileMeasures #253 and #258
- Fixed "Unable to locate test source file ****.swift" with Objective-C #242 egr-ext #248
- None.
- None.
- Add SwiftLint 0.31.0 support. Allan Vialatte #218
- Ability to skip tests Petr Jandak #98
- Skip oclint analysis on source directories without objc David Yang #236
- Add the ability to specify other binaries (Slather only at the moment) David Yang #165
- Fixed parameters with spaces in
sonar-project.properties
reading. David Yang #234 - Remove measure CoreMetric.FILES David Yang #238
- Fixed "LizardReportParser$SwiftFunction cannot be cast to DefaultInputComponent" error Brian Colvin #243
- Fixed location of the test source file David Yang #239
- Fixed LizardSensor logs if report file not exists Nikolas Falco #183
- Fixed java.lang.IllegalArgumentException: Component can't be null
- Fixed NPE on CoberturaReportParser line 98
- Added support for SonarQube 7.3
- Fixed "rule does not exist" crash on Objective-C sensors
- Fixed NPE on SquidSensor
- Objective-C support (merged from our Objective-C plugin). When upgrading to this version you must install OCLint (brew install oclint). If you used our Objective-C plugin, you must uninstall it (remove it from /extensions/plugins directory).
- Ability to add a separate path for surefire junit test reports by vexdev. See PR 105
- Added check for Swift language to surefire sensor To avoid "Can not add the same measure twice" issue by felazuris. See PR 103
- Documentation update on the use of new fastlane gem lizard by liaogz82. See PR 119
- Added
--no-color
to sonar.swift.tailor.config to restore proper log parsing by benjohnde. See PR 122 - Fixed NPE when parsing JUnit reports by jxw1102. See PR 145
- SwiftLint 0.26.0 support by gaelfoppolo. See PR 148
- Added support for modular code coverage and ability to specify a reports directory by isaacwang4076. See PR 151
- Add SwiftLint 0.25.0 support by gaelfoppolo . See PR 135
- SonarQube 7 support by Hugal31. See PR 125
- Lower case fastlane by milch. See PR 113
- Ability to locate test files in sub-directories by Hugal31. See PR 123
- SwiftLint 0.21.0 (95 rules now)
- SonarQube 6.5 support
- Fixes properties with space by Branlute. See PR 84
- Finds project version automatically with CFBundleShortVersionString by Branlute. See PR 87
- Fixes coverage with mixed objc swift project by Branlute. See PR 88
- Quotes support for multi-word project names by PetrJandak. See PR 97
- SwiftLint 0.18.1 (add 8 more rules)
- Fix README headers
- Update README URLs to SonarQube
- Updated run-sonar-swift.sh to support -usesonarscanner (for sonar-scanner instead of sonar-runner).
- SwiftLint 0.16.1 (75 rules now).
- Fixed Metric 'test_data' should not be computed by a Sensor with SonarQube 6.2
- fastlane documentation update by mammuth. See PR 62
- run-sonar-swift.sh fix by TheSkwiggs. See PR 64
- Now falls back to sonar-scanner if sonar-runner is not installed (thanks to MaikoHermans. See PR 59)
- Ability to set sonar.swift.appName. Useful when basename is different from targeted scheme, or when slather fails with 'No product binary found' (thanks to MaikoHermans. See PR 58)
- Added a second linter: Tailor. Enables analysis of Swift code on linux. (thanks to tzwickl for the hard work. See PR 51)
- SonarQube 6 support. Important : will work with SonarQube 5.x and above only. Will not work anymore with SonarQube 4.5.x anymore.
- SwiftLint 0.13.1 support (49 rules now).
- Desactivation of unit tests and coverage is now allowed. Use run-sonar-swift.sh -nounittests to do it.
- Analysis does not fail anymore when an unkwown issue is reported by SwiftLint. See issue 35
- fastlane documentation (thanks to viteinfinite). See PR 33
- Fixed fastlane JUnit report support
- SwiftLint 0.11.1 support
- Better return code suppot for run-sonar-swift.sh
- Fixed Lizard Sensor wrong file path
- Added support for .xcodeproj only projects (thanks to delannoyk)
- Fix for Lizard Sensor to find indexed files (thanks to gretzki)
- Got rid of confusion with commercial plugin in the update center
- SwiftLint 0.8 support (new rules added).
- Lizard complexity report support (thanks to akshaysyaduvanshi)
- SwiftLint 0.5.1 support (new rules added).
- Added sonar.swift.simulator key in sonar-project.properties to select destination simulator for running tests
- SwiftLint scans source directories only
- SwiftLint 0.4.0 support (new rules added).
- Initial release.