Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6987 +/- ##
=============================================
- Coverage 85.076% 85.043% -0.033%
=============================================
Files 453 453
Lines 27674 27674
Branches 12166 12161 -5
=============================================
- Hits 23544 23535 -9
+ Misses 4087 3879 -208
- Partials 43 260 +217
... and 36 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
philipphofmann
left a comment
There was a problem hiding this comment.
LGTM, thanks. Should we maybe add a linter for this. SwiftLint doesn't have anything out of the box for this, I believe, https://realm.github.io/SwiftLint/rule-directory.html, but we could do a custom linting rule with regex just for the /Sources folder
sentry-cocoa/Tests/.swiftlint.yml
Lines 6 to 11 in 4b6052d
Sources/Swift/Integrations/SessionReplay/RRWeb/SentryRRWebOptionsEvent.swift
Show resolved
Hide resolved
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 37900c9 | 1236.06 ms | 1262.22 ms | 26.16 ms |
| 929c622 | 1228.48 ms | 1253.55 ms | 25.07 ms |
| 48e5c8a | 1223.02 ms | 1242.38 ms | 19.35 ms |
| a598105 | 1236.51 ms | 1258.88 ms | 22.37 ms |
| 319fb1e | 1219.48 ms | 1242.69 ms | 23.21 ms |
| e98d6f5 | 1228.51 ms | 1258.85 ms | 30.34 ms |
| daeb716 | 1215.41 ms | 1246.52 ms | 31.11 ms |
| cd67f52 | 1216.29 ms | 1255.27 ms | 38.99 ms |
| e8e40fd | 1222.10 ms | 1259.91 ms | 37.80 ms |
| 78af7a9 | 1225.75 ms | 1256.98 ms | 31.23 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 37900c9 | 23.75 KiB | 958.61 KiB | 934.85 KiB |
| 929c622 | 24.14 KiB | 1.02 MiB | 1016.90 KiB |
| 48e5c8a | 23.75 KiB | 913.63 KiB | 889.88 KiB |
| a598105 | 23.75 KiB | 968.24 KiB | 944.49 KiB |
| 319fb1e | 23.75 KiB | 1019.18 KiB | 995.43 KiB |
| e98d6f5 | 23.75 KiB | 933.03 KiB | 909.28 KiB |
| daeb716 | 23.75 KiB | 928.16 KiB | 904.41 KiB |
| cd67f52 | 23.75 KiB | 1.01 MiB | 1016.04 KiB |
| e8e40fd | 23.75 KiB | 1022.79 KiB | 999.04 KiB |
| 78af7a9 | 23.75 KiB | 990.00 KiB | 966.26 KiB |
|
@philipphofmann I was thinking about a lint rule as well, but not sure if there is a good way for the linter to detect if a class is overridden somewhere or not (to know if final can be used without a compiler error) |
Found a few places where final wasn't used and added it
#skip-changelog
Closes #6988