forked from formbricks/ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
26 lines (20 loc) · 1.27 KB
/
sonar-project.properties
File metadata and controls
26 lines (20 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Exclude AnyCodable helper files from duplication analysis
# Reason: These files are derived from the open-source Flight-School/AnyCodable library (https://github.com/Flight-School/AnyCodable) and are considered vendor/third-party code. Refactoring or modifying them would make it difficult to update from upstream and is not recommended. Excluding them from duplication checks is a standard practice for vendor code, as we are not responsible for their structure or code quality.
sonar.cpd.exclusions=Sources/FormbricksSDK/Helpers/AnyCodable/*.swift
sonar.projectKey=formbricks_ios
sonar.organization=formbricks
#— Source & Test Locations —#
sonar.sources=Sources/FormbricksSDK
sonar.tests=Tests/FormbricksSDKTests
#— Coverage Report —#
# path(s) relative to the repository root
sonar.coverageReportPaths=coverage/coverage.xml
#— Exclusions —#
# skip test classes, mocks, generated files, etc.
sonar.exclusions=**/Mock/**,**/*.xcodeproj/**,**/.swiftpm/**
#— (Optional) Test File Inclusions —#
# if you want Sonar to know which files are tests
sonar.coverage.exclusions=**/Networking/Base/HTTPStatusCode.swift,**/Networking/Base/EncodableRequest.swift,**/Model/**,**/Helpers/AnyCodable/**,**/WebView/**
#— Encoding & Language —#
sonar.sourceEncoding=UTF-8
sonar.language=swift