{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"VariablesV2.process (cyclomatic 107): VariablesV2.process has cyclomatic complexity 107 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38476cc73efb8461c19c23281d646c06567d2a63ad6ab45be1be0c2c5512bed"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchaseStrings.description (cyclomatic 78): PurchaseStrings.description has cyclomatic complexity 78 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/PurchaseStrings.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"393989d798e05aaf5b544c10b9bb5fc7db4316cff66b737ff5505e9b81e7eb08"}},{"ruleId":"D1","level":"warning","message":{"text":"OfferingStrings.description (cyclomatic 48): OfferingStrings.description has cyclomatic complexity 48 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/OfferingStrings.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"92db7014c842ae44f484569db9df96bf3ece2695f62c2fabe1d8af45d33e9af3"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigureStrings.description (cyclomatic 40): ConfigureStrings.description has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/ConfigureStrings.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d073232df0879035be57dd165107da1218ea5c5215c5db91befab1b281ab12b3"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadedTabsComponentView.body (cyclomatic 28): LoadedTabsComponentView.body has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff6d750d40a9d46b9d7fe7a7642c16e93a0babe63d34056db689200fcfcd592"}},{"ruleId":"D1","level":"warning","message":{"text":"Purchases.init (cyclomatic 27): Purchases.init has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f448f50ba00168ee7309d9aa57404259221e8f183d95244b8afe744ffd01e200"}},{"ruleId":"D1","level":"warning","message":{"text":"PaywallComponent.containsUnsupportedConditions (cyclomatic 24): PaywallComponent.containsUnsupportedConditions has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/PresentedPartials.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"63257f3e941ce95dc43feb7af1216232a08693a7c95cc1cf618e0e163bf97887"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewModelFactory.toViewModel (cyclomatic 24): ViewModelFactory.toViewModel has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c32b85fbec753e23b24c16c1db7414cab05f1eec6f7d4a9f20500019b037c1"}},{"ruleId":"D1","level":"warning","message":{"text":"AppleReceiptBuilder.build (cyclomatic 22): AppleReceiptBuilder.build has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Builders/AppleReceiptBuilder.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c561dffcb265a4e8c4294cf0c564a4654ec01b09238bf0917d20f36c0851d68b"}},{"ruleId":"D1","level":"warning","message":{"text":"InAppPurchaseBuilder.build (cyclomatic 22): InAppPurchaseBuilder.build has cyclomatic complexity 22 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Builders/InAppPurchaseBuilder.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a5136043bc4047161bf5a4cf449f65df7a6c8f9d623757f263982d1c9ab77a"}},{"ruleId":"D1","level":"warning","message":{"text":"PurchasesOrchestrator.performSK2Purchase (cyclomatic 21): PurchasesOrchestrator.performSK2Purchase has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"893918224ef9ad7d35e7b62e054e27f57a0c865944932f9f3aa70d799a755003"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexHStack.body (cyclomatic 20): FlexHStack.body has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b570c214c79e4f298b1d6d19f700ab05d78cf0e6f8c4b9a7d6653e48536ce60"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexVStack.body (cyclomatic 20): FlexVStack.body has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee102b5ee2b1b71242384bec1c11b5ece16ac2a1598da0afb9427f800d375e6"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultCheckpointWorkflowResolver.attemptResolveConfiguredWorkflow (cyclomatic 19): DefaultCheckpointWorkflowResolver.attemptResolveConfiguredWorkflow has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Checkpoints/CheckpointWorkflowResolver.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42b260b21045e02c0d946248f3127a0fe098a48abccdcabdfd4fc0d2a933d9c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowSkeleton.component (cyclomatic 19): WorkflowSkeleton.component has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/WorkflowSkeleton.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41c5db619c7e9ad1103f64b6622f108b2504dd400e13833929f9b6d1e89a869"}},{"ruleId":"D1","level":"warning","message":{"text":"HTTPClient.handle (cyclomatic 18): HTTPClient.handle has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPClient.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"82761a4a55f4d49b05c213352e067d04c6064d09d113b9bf88b3f39f3a8cc0d5"}},{"ruleId":"D1","level":"warning","message":{"text":"HelpPath.hiddenReason (cyclomatic 17): HelpPath.hiddenReason has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Actions/CustomerCenterConfigData.HelpPath\u002BPurchaseInformation.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7059787913dfd3cb7d0504da1ce65f4b6e2897e459722655d183c72cf692234c"}},{"ruleId":"D1","level":"warning","message":{"text":"SKError.asPurchasesError (cyclomatic 17): SKError.asPurchasesError has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Code.trackingDescription (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Error Handling/SKError\u002BExtensions.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c500895e3f41b4d135a5041c40fd692b8927ecb7c495f14aa9faff66492eb"}},{"ruleId":"D1","level":"warning","message":{"text":"OfferingsManager.inferredPreviewProductType (cyclomatic 17): OfferingsManager.inferredPreviewProductType has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/OfferingsManager.swift"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a638eef976bc0eecd12765b45e862b5e35b4992de3d25f51fab314c4f198bf"}},{"ruleId":"D1","level":"warning","message":{"text":"StackComponentView.make (cyclomatic 16): StackComponentView.make has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d36de09253a7d23f8700bd6814ca051e202c6432043fe54b75c8df1e328171"}},{"ruleId":"D2","level":"warning","message":{"text":"VariablesV2.process (cognitive 108): VariablesV2.process has cognitive complexity 108 (threshold 15). Drivers by points: if/else 51 (107 pts), match/switch 1 (nesting depth added 56). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee2274a890b6eaa1e769b5a96efbf2ab05184f89b103aefeaf609602cba4bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadedTabsComponentView.body (cognitive 41): LoadedTabsComponentView.body has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dc6bd1b5409bf2fe87142632d872d454a075c70385ec8e0ea0e4d6643eb893"}},{"ruleId":"D2","level":"warning","message":{"text":"Purchases.init (cognitive 40): Purchases.init has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (29 pts), ternaries 6, boolean chains 5 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8697f9027ae53a0d1b223ca4759560213b45722366dca1659b381285ea7588"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexHStack.body (cognitive 35): FlexHStack.body has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (34 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"284966a8c643a807327a45a3fce69ab6228c880d1a089049554e807a2535bf88"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexVStack.body (cognitive 35): FlexVStack.body has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (34 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff53edda577e709d6a51a14c8ec77435d84d48a427fc9cf19ba90b9ed9bd680b"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchasesOrchestrator.performSK2Purchase (cognitive 34): PurchasesOrchestrator.performSK2Purchase has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 6, match/switch 1 (2 pts), error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddaa113d38380d24b8e1f8aeaf6f592b7e03c92c4c41a05b74f9de65c3fa793"}},{"ruleId":"D2","level":"warning","message":{"text":"HTTPClient.handle (cognitive 32): HTTPClient.handle has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 6, ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPClient.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d525a1ca3f45f01249ca8d834a0005ca04ad780c43b90ca1ea400bc7885b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"SKError.asPurchasesError (cognitive 30): SKError.asPurchasesError has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 6 (19 pts), if/else 8 (11 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Error Handling/SKError\u002BExtensions.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"da11781cbcb61ffda14d52101a7be420b5fe4be48f1b81fcf8380f02ccdd1948"}},{"ruleId":"D2","level":"warning","message":{"text":"PaywallHeroLayoutResolver.firstVisibleLeaf (cognitive 24): PaywallHeroLayoutResolver.firstVisibleLeaf has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallHeroLayout.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88ddac7b72a2174ef5a2ad24fbae518fc41b3c8d49c28c328afdc062209c329"}},{"ruleId":"D2","level":"warning","message":{"text":"ProductsFetcherSK2.populateSK2CompoundProductsIfSupported (cognitive 23): ProductsFetcherSK2.populateSK2CompoundProductsIfSupported has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (2 pts) (nesting depth added 13). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit2/ProductsFetcherSK2.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff058016cb933a6f44ada43ec61b2cd135a3e70083df7b08cb8c46372b653b03"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultCheckpointWorkflowResolver.attemptResolveConfiguredWorkflow (cognitive 22): DefaultCheckpointWorkflowResolver.attemptResolveConfiguredWorkflow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 5, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Checkpoints/CheckpointWorkflowResolver.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e75768df2343a9b37564b6a760522a1d6828623420f8f73e253dda9dbbc7d"}},{"ruleId":"D2","level":"warning","message":{"text":"RelevantPurchasesListView.content (cognitive 22): RelevantPurchasesListView.content has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (9 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"534d260d35b9feca6fb5eeea8b48de441e836abe3e1ff2168edeaab777a7749a"}},{"ruleId":"D2","level":"warning","message":{"text":"GestureCoordinatorHostView.handlePan (cognitive 21): GestureCoordinatorHostView.handlePan has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 1 (3 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/ScrollViewGestureCoordinator.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e95eb97a86c09e1148a5238a61554229e20c50ef4a4436c60eac6a0aacb7c14"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorSchemeRemoteImage.body (cognitive 20): ColorSchemeRemoteImage.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (18 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/RemoteImage.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f00430edaa230fcadb8538c4915857d714d6b97e45b2830ee0fd36efb1a95f"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteConfigBlobFetchScheduler.downloadVerifyAndStore (cognitive 19): RemoteConfigBlobFetchScheduler.downloadVerifyAndStore has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RemoteConfigBlobFetcher.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40365ebfb9cdfb697e0944ba70d4fab4ab52ec1e887d40dbd2e62c2205921d4"}},{"ruleId":"D2","level":"warning","message":{"text":"OfferingsManager.inferredPreviewProductType (cognitive 19): OfferingsManager.inferredPreviewProductType has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/OfferingsManager.swift"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfcbce2a08929fed4fddac018c4f9a6fe39066198f456f019ec07ebdfb4681b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppStyleExtractor.extractProminentColors (cognitive 19): AppStyleExtractor.extractProminentColors has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Helpers/AppStyleExtractor.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c31328da2e91093808b1ca64aa5736238e5bfbfa64ef825cfd1f67c077fbcc"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultPaywallView.body (cognitive 19): DefaultPaywallView.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/DefaultPaywall/DefaultPaywallView.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"632285c3754ff2de560ea9f2bcabbaba4877ca07f3a8501cde597d162454b6d7"}},{"ruleId":"D2","level":"warning","message":{"text":"FeatureEventsRequest.init (cognitive 18): FeatureEventsRequest.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Events/FeatureEvents/Networking/FeatureEventsRequest.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8abe14f3ac7802d7189efc438955623fd082f60b7edcfa13eb1140a914e169"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerInfoManager.customerInfo (cognitive 18): CustomerInfoManager.customerInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Identity/CustomerInfoManager.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"14781101d91960f9218bebb991212fa4f460a55fe611ff9956feafb2a62d9f21"}},{"ruleId":"D2","level":"warning","message":{"text":"AppleReceiptBuilder.build (cognitive 18): AppleReceiptBuilder.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Builders/AppleReceiptBuilder.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f4f459fc7027d10f85518e5e39202ccfbbf57e19e910330fb19d3df61e6bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteConfigManagerType.readConsistent (cognitive 18): RemoteConfigManagerType.readConsistent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (13 pts), error handling 2 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RemoteConfigManager.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d60d064e1bc9df752258c5c3325ad229a2db05cebe2cfd972c30e347daa29b"}},{"ruleId":"D2","level":"warning","message":{"text":"AlertOrConfirmationDialog.body (cognitive 18): AlertOrConfirmationDialog.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RestorePurchasesAlert.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cf46c5a4ee2c2e70c995cffdcd0ab8942d179664e193a7e50c7ad730d979fc"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchaseHistoryView.contentView (cognitive 18): PurchaseHistoryView.contentView has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (9 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/PurchaseHistory/PurchaseHistoryView.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e51cec07802fa08aaf85faa4d7e2ad665bf896e9570f9385d7f39e89422ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"HelpPath.hiddenReason (cognitive 17): HelpPath.hiddenReason has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 2 (4 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Actions/CustomerCenterConfigData.HelpPath\u002BPurchaseInformation.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca9a9e6fd14eaa40945a8a646e52bfe5a45c4991773843005555d89154532da"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessInfo.platformString (cognitive 17): ProcessInfo.platformString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 3 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Helpers/ProcessInfo\u002BExtensions.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856faaa43dedacd04bb6d2e47386ab2b9d158ae83720fa4b97023f4a6dc3ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchaseStrings.description (cognitive 17): PurchaseStrings.description has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/PurchaseStrings.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d72e9c3b250a389da1b1b046e796ae1ba82c8523bb0af6f2dfa0a2dabcaf4f"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionDetailView.content (cognitive 17): SubscriptionDetailView.content has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd8a9bd650b45777b485d7aacff2631d38ca12e006b962dfadfa796e4270077"}},{"ruleId":"D2","level":"warning","message":{"text":"PageControlView.body (cognitive 17): PageControlView.body has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84fbec0f29b9f430f9575d189be59aea12b1d540ccf0daddb5d9ce4cf249700"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiDiffHelper.slack_summary (cognitive 17): ApiDiffHelper.slack_summary has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/api_diff_helper.rb"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e8b5680125615720f0fffe5b3717262f9a46da23aa88912f9df2c2489cebaf"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributionPoster.post (cognitive 16): AttributionPoster.post has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribution/AttributionPoster.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d56757643e3889f785bdb9040ae39c0090bc608499aab325dcc8b90221ac8c"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchasesReceiptParser.findASN1Container (cognitive 16): PurchasesReceiptParser.findASN1Container has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/PurchasesReceiptParser.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6900ce1f9e0257da66e69a3607bb09ebab2a0ca2dec23d1f6209d9c2a95b246"}},{"ruleId":"D2","level":"warning","message":{"text":"OfferingStrings.description (cognitive 16): OfferingStrings.description has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 4 (7 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/OfferingStrings.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add9f5e5cf8a84732384b908c2faab4916a264bd9749aa7bdd82f57e2305411"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowStep.gating (cognitive 16): WorkflowStep.gating has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 1 (2 pts), match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Responses/WorkflowsResponse.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"550999569c8e006816ad5e9cdba5723f9a5b3429915888ed83da7455aca9c28a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrialOrIntroPriceEligibilityChecker.checkEligibility (cognitive 16): TrialOrIntroPriceEligibilityChecker.checkEligibility has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/TrialOrIntroPriceEligibilityChecker.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd5b56cb6a8b491fe6288f92f66134d499d2d0167c5dd5f417433d8d6305b98"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchasesOrchestrator.storeKit2PurchaseIntentListener (cognitive 16): PurchasesOrchestrator.storeKit2PurchaseIntentListener has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), error handling 1 (4 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c43a59c65dfbe75dd1e8595ac1271516e6179c4db3cb05390501f3fce9025c"}},{"ruleId":"D2","level":"warning","message":{"text":"PurchasesOrchestrator.syncPurchasesSK2 (cognitive 16): PurchasesOrchestrator.syncPurchasesSK2 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 1 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"951804ecc4bda731d58d45c7b672b00fa0902c7a2193f93d2dfba4b690538d71"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributionDataMigrator.convertAppsFlyerAttribution (cognitive 16): AttributionDataMigrator.convertAppsFlyerAttribution has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), loops 1 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SubscriberAttributes/AttributionDataMigrator.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9469d7da247a22d9f96942bc87572a6615e38592a06e1e630acbae8f2ab3c14"}},{"ruleId":"D2","level":"warning","message":{"text":"FooterView.body (cognitive 16): FooterView.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/FooterView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a096d4a76946d85c6fa1b36d1649e0525765695c86c74e299f3dd334102878"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomSheetOverlayModifier.body (cognitive 16): BottomSheetOverlayModifier.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (6 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/BottomSheetView.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3931a8f269ce6c10cb01343c94937762b863c9dc8a99871c06e7e2bf09c0030e"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiDiffHelper.breaking_changes (cognitive 16): ApiDiffHelper.breaking_changes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/api_diff_helper.rb"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e84da5d1f74271ff7c166764b2e313171f052264af96fdf9f8bef63e9b248d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Purchases: TooManyMethods \u2014 243 methods, declared across 7 files: Purchases/Purchases.swift (153), Misc/Obsoletions.swift (34), Misc/Deprecations.swift (27), Concurrency/Purchases\u002Basync.swift (15), \u002B3 more file(s). The bar is 30 methods; this is 213 over it, 8.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc47acf9d7c2ae0cbce438a77ef0c669881f095e37872dacc0838e91dd9f17f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: View: TooManyMethods \u2014 141 methods, declared across 50 files: Modifiers/ViewExtensions.swift (18), RevenueCatUI/View\u002BPurchaseRestoreCompleted.swift (17), Actions/CustomerCenterView\u002BActions.swift (13), RevenueCatUI/View\u002BPresentPaywallFooter.swift (8), \u002B46 more file(s). The bar is 30 methods; this is 111 over it, 4.70\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BExitOfferPresentation.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"29158a49cd3b87e675871f31dbfb4e882e2c5e296a16361463e714a825c29344"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Purchases.init: MethodTooLong \u2014 init runs 454 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 354 over it, 4.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"463b32251d8d909227c624da2b26cfe3336c40ecac7f5a28320fec0c7a44fa46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Purchases/Purchases.swift: FileTooLong \u2014 2037 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1537 over it, 4.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e41c792a7a966a5b4cdd1f57ceb1db05ad785658a421abb1b265c651229df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextComponentView_Previews.previews: MethodTooLong \u2014 previews runs 367 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 267 over it, 3.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54e9cb5aeeea11f011aaf1e1e3e997c9c12166217b159cfa139f47771fb52c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Purchases/PurchasesOrchestrator.swift: FileTooLong \u2014 1704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1204 over it, 3.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e449a495b4548dc7f5b59fc202a1ba08c80dbff918483e94967a03ed805dde"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ViewModelFactory.toViewModel: MethodTooLong \u2014 toViewModel runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce31597ad68ca594292dc3a9e5b31e6d6c60542970b2ac74d39e0d4fbfe35c05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VariablesV2.process: MethodTooLong \u2014 process runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81d2963c9f17f7a22de78baaa4aa6d9640c96d38bd5a61d4234be9c83d1fdf7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PurchasesOrchestrator: TooManyMethods \u2014 84 methods. The bar is 30 methods; this is 54 over it, 2.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0f8efcd7a65b8bc2d7a14a450462a05ef74fdd50e1eff70342b98d0abe5c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommonLocalizedString.defaultValue: MethodTooLong \u2014 defaultValue runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CustomerCenter/CustomerCenterConfigData.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"573d88fb7aa4ce6cb789f69066278d746265a0886747fe59fa134f93705e0023"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Strings.description: MethodTooLong \u2014 description runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/Strings.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fad35245918c19064287c7f8459ee7a402b465353aeec08e142e7705750f2a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StackComponentView_Previews.previews: MethodTooLong \u2014 previews runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f374a4b1a62e56ee55dcf990e84a9ff9cb17e10fbf76b61ee4fe01781c67f78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PurchaseHandler: TooManyMethods \u2014 69 methods, declared across 2 files: Purchasing/PurchaseHandler.swift (64), Purchasing/PurchaseHandler\u002BTestData.swift (5). The bar is 30 methods; this is 39 over it, 2.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/PurchaseHandler.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec7d04503908580f08b2109f3f85b117aec76111e651e2dbb2f5dd708aae5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Variables/VariableHandlerV2.swift: FileTooLong \u2014 1130 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 630 over it, 2.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fd0e3a70acf759afb43f82c776eadaae6d96dff318b174dc63078d6924834e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PurchaseStrings.description: MethodTooLong \u2014 description runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/PurchaseStrings.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"376ccca7b64312d43e9bc427d550dfb6fe5551edca3fd7e3677ca47cdeafffcf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PurchasesOrchestrator: ClassTooLong \u2014 833 significant lines (blank, comment-only and punctuation-only lines excluded), 84 methods. The bar is 400 significant lines; this is 433 over it, 2.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8891769ff01ba056169c7b2d3617a7275caa36bcf4aaf1606db19b9f357a4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageComponentView_Previews.previews: MethodTooLong \u2014 previews runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e02743913f083795e148a1c5a06550bc8358b65cdf35036bb5bb4781e258e6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubscriberAttributesManager: TooManyMethods \u2014 58 methods, declared across 2 files: SubscriberAttributes/SubscriberAttributesManager.swift (53), SubscriberAttributes/SubscriberAttributesManager\u002BAppstack.swift (5). The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SubscriberAttributes/SubscriberAttributesManager.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2e435b0eda6d75c2f734a693e61cc9321682c11adfed1425e18923031de4ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Purchasing/PurchaseHandler.swift: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 465 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/PurchaseHandler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bcbae04d94938cabbd86a01331a8ab7c4263b5f1d41d2ebb0d3a4cb0a6c8e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: V2/WorkflowPaywallView.swift: FileTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: WorkflowPaywallView (267-1192). The bar is 500 significant lines; this is 452 over it, 1.90\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/WorkflowPaywallView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a443888982351f4b7d0a97e6372ecc5f16795c7a518867a1f610fcacb26bc76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CarouselComponentView_Previews.previews: MethodTooLong \u2014 previews runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"b174a12c4f364335a64fff469419600c9a767aa0d186af78f60962238438c34a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConditionalVisibility_Previews.previews: MethodTooLong \u2014 previews runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f9f1b09677bf002f736d6ad5f3f8e0e30bcebe759a90428a56e0d3d050497b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: HTTPClient/HTTPClient.swift: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e79f79620a3fcd0eab0edc298632a000252d6a3655027c7c2e591d3672144d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CustomerCenter/CustomerCenterConfigData.swift: FileTooLong \u2014 859 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 359 over it, 1.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CustomerCenter/CustomerCenterConfigData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e6fd5e21d16195e8e9b15d2d0f7dc6faa748c8ff78c8c9a3f4157376f0942b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RemoteConfigManager: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RemoteConfigManager.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a38e60d81331c645a4ee2b1816ecd137071f0356a011e5c5e8664fbd4e36fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApiDiffHelper: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/api_diff_helper.rb"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d09e1acbc766f75d6fbc461808e1ba22935f4c268491386d30714ff8d5a05d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Attribution: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Attribution.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c700e5c1e717f60c74633ee9bc459a905efe2b83db9d8179d9d9c39ac0d17fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaywallViewController: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/UIKit/PaywallViewController.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d2bd839e0ea551dcc0b6a1cbba23bfce17fe958ab8f374ee3af775514c3129"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Tabs/TabsComponentView.swift: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 261 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753218a4cacda69df37f12d357257deb220caeb0e81d78f21b490c3f18ea94fe"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkflowPaywallView: ClassTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 199 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/WorkflowPaywallView.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa3b16153a225d84df1cc3e2d88e3d9a74f2fb98006e1a937b9ff4b30ec229d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Stack/StackComponentView.swift: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc46c12d17785ff1977564aff75fb476ede4d77989cd3af0e0ee5327df942a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LoadedTabsComponentView.body: MethodTooLong \u2014 body runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cbea585fff8c0f0bf5d95bd4122763734dd856a1d435c435ae7a3cac2d96ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OfferingStrings.description: MethodTooLong \u2014 description runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/OfferingStrings.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd00c20c2ee72f29418856f110e3a60edf173a0e5fb83d99b4ba7cb683418b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Purchases.init: MethodTooLong \u2014 init runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a250e6e18366afad38f192110a9b13a71c4df3d66d481e71d9ff3a6705e16f87"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackgrounDStyle_Previews.previews: MethodTooLong \u2014 previews runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"896939b5ddd7c2f22615a5126ead80a02350ab845b88db2041319b683864666f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StoreKitStrings.description: MethodTooLong \u2014 description runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/StoreKitStrings.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd69d1ee5437d8244acd3b16717d8250457cb74cf19bbbd7f5a1079c98dfcab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: V2/PaywallsV2View.swift: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 205 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/PaywallsV2View.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5056ab088ad0114d694b2f39a5299dbd470b7ced91815f30964664845e14bf6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CornerBorder_Previews.previews: MethodTooLong \u2014 previews runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9f173b50d945721691044a3ec57defa7c9a41d39e3b77a72f2b400580e9b99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RevenueCatUI/View\u002BPresentPaywall.swift: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fc49395d48ed4543dbe7f01abe2bf239c4faab24e9dc86dd5c058f0f3b6030"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubscriptionDetailView_Previews.previews: MethodTooLong \u2014 previews runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c3a8b86e31df18d0dcc7bd26cf36f74e65f22767a74416f6c07c340cc125a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Networking/RemoteConfigManager.swift: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RemoteConfigManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4be53bda4e2e55914ff62e72dd6007aa37bd8528dc137e470dd43d73f7a6f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Carousel/CarouselComponentView.swift: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6b7a3a7bb247ec2d0e6d949ab4711878e6e82a80368a356eedb4f499d08b98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Project.swift.top-level code: FunctionTooLong \u2014 top-level code runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Projects/PaywallsTester/Project.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7d1ecdf1961a68ad5909238779063e6a7d18bc89483f4abc662d0e8acf9f5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Text/TextComponentView.swift: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: TextComponentView_Previews (378-997). The bar is 500 significant lines; this is 124 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7954d3891fc6049f2641393076a76af62fe37376e70a4d5c488a922f29e454f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fastlane/api_diff_helper.rb: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/api_diff_helper.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78033e4c270df237c5f5ea4e2cf0bb16e277ba004978996584c720a7c6170f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: RevenueCatUI/PaywallView.swift: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/PaywallView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb0507267d9156a632764b1b169daa8218b6f95215612dc137eced794e3dd60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UIKit/PaywallViewController.swift: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 95 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/UIKit/PaywallViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcff19266d8fd111a72394ac768b36e5c55db5e1e589b506396ae75df418fb5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigureStrings.description: MethodTooLong \u2014 description runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/ConfigureStrings.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b0cc455cbefd64cef34442a4706ccea91606a13236c21e659e13e491b219b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PurchasesOrchestrator.performSK2Purchase: MethodTooLong \u2014 performSK2Purchase runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"147904ce4b9395bfbf721ce5a34fdba5d7c92c4e2ee7be16801d59c5bd41b8f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ViewModelFactory: ClassTooLong \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 4 methods. The bar is 400 significant lines; this is 62 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aabdff05f16b66bf55ce89e2ba59aafc2874e2c567156194b4481774ca5f12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ButtonComponentView_Previews.previews: MethodTooLong \u2014 previews runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"663ada78da2b15e3e2b71b77c883863243b6eaa8f246cb9139c75ee1f548391a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiagnosticsTracker: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Diagnostics/DiagnosticsTracker.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb5c0321867251d8ff41d8a8c0a2a1d55dafc8f40d50fccab4acb5b55584971"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Purchasing/OfferingsManager.swift: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/OfferingsManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fff277ad77d50d9127afbb3c16229178ad81ec075deaddbcd26be24563e38a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Events/AdEvent.swift: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/AdEvent.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40e749080398f72155a83853ecfccd2e479495e1289b88fca2d8375c720e331"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Misc/Obsoletions.swift: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Obsoletions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2575c2a45e638afb4b5955ceb21c0afe0c2f4df4104cafab12d9bbecfe4e2e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Image/ImageComponentView.swift: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: ImageComponentView_Previews (329-757). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9768a8c2196ab547b8315f84ccdba0c6151eb78634f5189cee4b448d78544632"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConditionalStackVisibility_Previews.previews: MethodTooLong \u2014 previews runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a312813f951ddebdbc082354444e92f12b7a8299437e6e678e06f789f48a52"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultPaywallView.body: MethodTooLong \u2014 body runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/DefaultPaywall/DefaultPaywallView.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3203a5770941705fb5af47bafab8e7ffdbf757fc48c7617c0577af944192a63b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaywallsV2View: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/PaywallsV2View.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7edbd29c961598efdd23ecfb97efbbcd11ae4236cb387423b5e66bf8850de9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 19 shared lines): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:162-200 | RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:140-166 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:236-272 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:217-241 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:218-242 \u2014 These 5 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d245d695d0f63829506f9d1b0279f31953f21d5fa49d81b71996c79f5a4c94a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:50-146 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:49-145 \u2014 These two members are variants of one another: 69 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc4c253300fec4ae5610940ccf80a47ba59f5b42a75c0b075baa47d69db55a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (61 shared lines): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:30-302 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:474-583 \u2014 These two members are variants of one another: 61 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"384aedb6be8f95e3d4098b9fd2b207f31a826f9bca01caf9fb29cdea2e2f8c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (23 members, 50\u002B identical tokens): Sources/Misc/Deprecations.swift:64-71 | Sources/Misc/Deprecations.swift:73-80 | Sources/Misc/Deprecations.swift:82-89 | Sources/Misc/Deprecations.swift:91-98 | Sources/Misc/Deprecations.swift:100-107 | Sources/Misc/Deprecations.swift:109-116 | Sources/Misc/Deprecations.swift:118-125 | Sources/Misc/Deprecations.swift:127-134 | Sources/Misc/Deprecations.swift:136-143 | Sources/Misc/Deprecations.swift:145-152 | Sources/Misc/Deprecations.swift:154-161 | Sources/Misc/Deprecations.swift:163-170 | Sources/Misc/Deprecations.swift:172-179 | Sources/Misc/Deprecations.swift:181-188 | Sources/Misc/Deprecations.swift:190-197 | Sources/Misc/Deprecations.swift:199-206 | Sources/Misc/Deprecations.swift:208-215 | Sources/Misc/Deprecations.swift:217-224 | Sources/Misc/Deprecations.swift:226-233 | Sources/Misc/Deprecations.swift:235-242 | Sources/Misc/Deprecations.swift:244-251 | Sources/Misc/Deprecations.swift:253-260 | Sources/Misc/Deprecations.swift:262-270 \u2014 These 23 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 23 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Deprecations.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec31bd6375a6aab56b4b2c2c60f686d4d55bd4771f82e09b6e4e16d8beabbb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:89-134 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:53-97 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:99-127 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:131-182 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:184-212 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:81-145 | RevenueCatUI/Templates/V2/Components/WebView/WebViewComponentViewModel.swift:84-118 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d438d9a500a9849f1ef0ff45851bc922bbb74d5314b4a775d27d326cc900a06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift:135-196 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:236-290 | RevenueCatUI/View\u002BPresentPaywall.swift:522-572 | Sources/CustomerCenter/CustomerCenterConfigData.swift:792-822 | Sources/Identity/CustomerInfo.swift:333-361 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1e60266ff4d8dafd1501d8b7b3b8ff7f398a25a003a612cf53866f9fed952f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:132-156 | RevenueCatUI/Templates/V2/Components/Packages/Package/PackageVisibilityResolver.swift:54-90 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:121-145 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:92-116 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:188-212 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef4a626080b9c650d479b27079271060c764dbb3901e93df4c3bf6480b32e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:523-870 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:339-394 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:108-163 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:76-131 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:138-193 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b3a3cce304cbe025b05248afec8357c4b957a96c1e6aa9c5f1e581294c25d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:520-557 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:383-407 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:390-414 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:338-357 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:229-266 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba93dcd7af40558500634fc67666f56745a80b65c208c1f6dae2ad073729d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Sources/Ads/Events/AdEvent.swift:367-382 | Sources/Ads/Events/AdEvent.swift:452-467 | Sources/Ads/Events/AdEvent.swift:537-552 | Sources/Ads/Events/AdRewardEvents.swift:128-142 | Sources/Ads/RewardVerification/RewardedAdTrackingMetadata.swift:40-54 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/AdEvent.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45a574cdc4ea1b60eb6daf350990e3e9d59c83dd82938903dbab48d359255d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): RevenueCatUI/Templates/Template2View.swift:170-194 | RevenueCatUI/Templates/Template4View.swift:140-173 | RevenueCatUI/Templates/Template5View.swift:205-231 | RevenueCatUI/Templates/Template7View.swift:341-368 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f26e6a479a17b5204344dc7cd462d70c7554cd7b3ffc52674c1453f0e03647d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:164-226 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:57-145 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:328-579 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:57-96 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8003ea43e54fb0f355835af4d8076c212b5a60604552823719b9b5f15987a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): RevenueCatUI/View\u002BPresentPaywall.swift:91-130 | RevenueCatUI/View\u002BPresentPaywall.swift:233-281 | RevenueCatUI/View\u002BPurchaseRestoreCompleted.swift:152-163 | Sources/Misc/Deprecations.swift:23-31 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4265d55744e5ea161b86cae4ff77a3284d58674df72e6672d83dcc4207289222"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): RevenueCatUI/View\u002BPresentPaywall.swift:153-194 | RevenueCatUI/View\u002BPresentPaywall.swift:321-364 | RevenueCatUI/View\u002BPresentPaywall.swift:367-410 | RevenueCatUI/View\u002BPresentPaywall.swift:456-490 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca14c0eed509b0bcd8830640638c90557b22a2b010ed9bd9378dfb8c443b67e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): RevenueCatUI/View\u002BPresentPaywall.swift:664-716 | RevenueCatUI/View\u002BPresentPaywall.swift:786-835 | RevenueCatUI/View\u002BPresentPaywall.swift:962-1013 | RevenueCatUI/View\u002BPresentPaywall.swift:1015-1063 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a059613238f1488270493daadcaad19577eb4188280fab10330ad2ba1afb1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 4): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:339-394 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:108-163 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:76-131 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:138-193 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce665471c15e15c8a4707588568dc394bc65cf89b9789cd7b0764738c6a6fa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywall.swift:793-835 | RevenueCatUI/View\u002BPresentPaywall.swift:1021-1063 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:793\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"a850f29cb89b07932a2669431b7523542de0e8d7aab080d2a9b2ca9aa1118c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): RevenueCatUI/Templates/Template5View.swift:99-131 | RevenueCatUI/Templates/Template7View.swift:134-166 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template5View.swift\u0060 and \u0060RevenueCatUI/Templates/Template7View.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template5View.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaa7e27ef8bdf41fdb8fd6f3ac4c9d986f26e04bc7ac3465ccf260a34ebd7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:165-197 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:133-165 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"47916a86fc0c985a88498b9fe38535a10f7e0b2f6d4cee8214fb0a5876e3f9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:249-276 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:278-306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:248\u0060 calls \u0060environment\u0060, \u0060previewRequiredPaywallsV2Properties\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:278\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9512747a3e6c759780a71907fc193560df339696cf8ad2248822f071d9cd9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:108-134 | RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:127-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:108\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060RelevantPurchasesListViewModel\u0060 in one and \u0060SubscriptionDetailViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"62109f1e1bb0d79555205c009211cfddcf72498250af388c5232fd45157968dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywall.swift:102-128 | RevenueCatUI/View\u002BPresentPaywall.swift:245-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:102\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/View\u002BPresentPaywall.swift:244\u0060 calls \u0060Sendable\u0060 and \u0060RevenueCatUI/View\u002BPresentPaywall.swift:101\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"731f3716fa5928752ce02f0c79928ef33743d33e47071b49f6a165296e2b7e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Sources/Ads/Events/AdEventStore.swift:179-205 | Sources/Events/FeatureEvents/FeatureEventStore.swift:229-255 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Ads/Events/AdEventStore.swift:179\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/AdEventStore.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae4b7f0d51b49e0bd3d9e2582e3dbd60cebe6afeafffc195da5f24a8649ed7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:414-438 | RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:463-488 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:414\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc5696a28cf50551bd9460a083a627037415c4fc7a80ed071df7b80a9ebeb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:627-652 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:702-727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c37eeaaa65b09a373b88bdbc227149e0d0e2ad899940d9ffdce1090b9975fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:799-823 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:877-901 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:949-973 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:799\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:875\u0060 calls \u0060init\u0060, \u0060hex\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:947\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0a39f1a26d85e29304e14813063e9a2c0a90e020fd17386638db6fbdd0644d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:74-98 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:73-97 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:74\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df8897472f8f1c9c6e32d98ddb4666be20ccef04530d8b957f4926a5f4abc44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywall.swift:689-713 | RevenueCatUI/View\u002BPresentPaywall.swift:986-1010 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:689\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1576bda8e97da14cdbbd245cf4996fa598af54ff12d1802d85c1dc9271fd35ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:598-621 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:624-647 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:650-673 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:598\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612de956c90f02d116a86f8ae2a38382dcced0743d2f0dfdf54f7bb26563de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): RevenueCatUI/Templates/Template5View.swift:240-263 | RevenueCatUI/Templates/Template7View.swift:380-403 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template5View.swift\u0060 and \u0060RevenueCatUI/Templates/Template7View.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/Template5View.swift:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template5View.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f368efa6a1ddaededd37142a01a06112b3fcea64ed16e3090edebd276e5eab13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift:280-303 | RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift:311-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"41356611ebe634ea0c959ce3fb2bf2bfc7c4db23b6396fc0022c6ba2d8ed1d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:555-575 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:610-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:555\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"30082e64a4200cde6f1205618457ccfaf0cd96fae65822899c07857256e7a803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:719-741 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:743-765 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17ab52820f345f49738dd571d6a4cc26820ba74178eae29535a9475446b45a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): RevenueCatUI/Purchasing/MockPurchases.swift:221-242 | RevenueCatUI/Purchasing/MockPurchases.swift:258-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Purchasing/MockPurchases.swift:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/MockPurchases.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"db190dd61ce0d51000e1e7779e0242c496f59080f7944d347f1d0c56321a0df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:454-474 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:477-497 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:500-519 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:454\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"76563de5f6fa6ceb741273b0f602505649765a8be4de3b378449ae7129267a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Tabs/TabControlToggleComponentView.swift:157-177 | RevenueCatUI/Templates/V2/Components/Tabs/TabControlToggleComponentView.swift:187-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabControlToggleComponentView.swift:157\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabControlToggleComponentView.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"385f2e263743ac88b50cc3d283a0a4c744fbea409c1d096f94d0be9922f60274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:185-205 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:213-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:185\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e0c128f00f210b1f5cc5329ccc94c31d0c8742852fe48b47a119d4ee86e88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): RevenueCatUI/Helpers/DualColorImageGenerator.swift:47-63 | RevenueCatUI/Helpers/DualColorImageGenerator.swift:84-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Helpers/DualColorImageGenerator.swift:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060size\u0060 to \u0060CGSize = .init(width: 200, height: 200)\u0060 in one and \u0060CGSize = .init(width: 50, height: 50)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Helpers/DualColorImageGenerator.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba5d356fe49f5ed5bb2b7a656587daded8757c39db3b4a201baef0a4254881a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:642-660 | RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:497-516 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:642\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d648c3cab91103b2c12164f7713b8f4e6e0d46f957dd1b1427d92f3695806a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Root/RootView.swift:371-390 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/HeaderNestedHeroZLayerSafeAreaPreview.swift:63-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Root/RootView.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef57c4b95a114d6ae0b36379aa17475e1d41e5d549f559473439422fa19de972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:941-960 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:963-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03121e4e9b7c5869e2e9d1eb02ec6ffe0e7011f9959a30a25270ef675ae37b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:325-344 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:362-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:325\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:361\u0060 calls \u0060init\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:324\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"06006720b28ad6bd479f8f9044a848ec992f1d183798294b70cb4bd926fbb779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:242-259 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:285-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:242\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f439c0d750b27ef88905749fd12efe8e1f22c522bb885c46572b905b9ae984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:492-510 | RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:525-543 | RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:551-569 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:492\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"df77603597eb61b0d2ca3c7366c5fbc7baedcc0892d2605973981cb35958154c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:182-200 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:254-272 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:182\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f38b6c194fb5c39cccff7068f1c81236a71bb7572eb621beee73ed9a108f0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:345-363 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:365-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae29e67a0e39f3f099ce56dfe2c999fda5a9a41684d5795ec227a1ea32e6ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:620-638 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:652-670 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:620\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"44620e3045bf09bcd02c82e202b4ac30aacfad12dde9e3f6c9e985be0a8e6d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywallFooter.swift:94-112 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:230-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywallFooter.swift:94\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywallFooter.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e1bc898dca5374049409a5d6c6181edc3179925807ae4b2c84870fa7ab0bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Sources/Purchasing/Purchases/Purchases.swift:787-805 | Sources/Purchasing/Purchases/Purchases.swift:825-843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Purchasing/Purchases/Purchases.swift:787\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d82aa88a2bc81547e27435ad5d4344dee3be940ff33b43428b00f91e6ecdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift:135-152 | RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift:166-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5314822d786e7fc5d5fcf73fbde58732a698b3807aa813b47d6d2c5203a991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:97-114 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:221-238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0e3b99f87a0d593be55b0d1680efed4cade5eecd4aa14af2492e18c1095deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:136-152 | Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:229-246 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:229\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd559a4adbdf60c9985d8e9d06625afaf31a11ebd86ee87310bed5977f7c4862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:563-579 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:586-602 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:609-625 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:661-677 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:684-700 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:563\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"452e8b4034fb40b70d975f794b5d9324434ebaf9582df7a9dca331d67ac47ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): RevenueCatUI/Templates/Template2View.swift:172-188 | RevenueCatUI/Templates/Template4View.swift:142-158 | RevenueCatUI/Templates/Template5View.swift:207-223 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template2View.swift\u0060 and \u0060RevenueCatUI/Templates/Template5View.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/Template2View.swift:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a9781e346bd26a1b2f5502d175dbd53c890003b5c45a4b634b08aadc2d0ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): RevenueCatUI/Views/DefaultPaywall/DefaultPaywallPreviews.swift:53-69 | RevenueCatUI/Views/DefaultPaywall/DefaultPaywallPreviews.swift:87-102 | RevenueCatUI/Views/DefaultPaywall/DefaultPaywallPreviews.swift:109-124 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Views/DefaultPaywall/DefaultPaywallPreviews.swift:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/DefaultPaywall/DefaultPaywallPreviews.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d045a2591a158c0d92f47049fc27536846dd05e3625a5f7a91823a1f19380e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/RewardVerification/RewardedAds\u002BRewardVerification.swift:67-83 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/RewardVerification/RewardedAds\u002BRewardVerification.swift:140-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/RewardVerification/RewardedAds\u002BRewardVerification.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd42ea149fb11a80d020212edb62da5a8c367c79ae1ca20550d99a27bfc2a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/RestorePurchasesAlert.swift:230-246 | RevenueCatUI/CustomerCenter/Views/RestorePurchasesAlert.swift:250-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/RestorePurchasesAlert.swift:230\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RestorePurchasesAlert.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7541bb9a70376798d542295d6ad81a3a5fa1e1721c8116fe8da56b75bc0ae3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:797-813 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:831-847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:797\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"be249fc8542a9919810d5b1c1f95e43c686a8020e76609682fb863138a5c45e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:888-904 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:919-934 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:888\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"194d7ed20dc378dbf524ceae63a34ae89ebed21ea7babb20cfe40f31ba89bd27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:388-404 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:395-411 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:388\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3602308f6ee0a3b45c6f3bfbbf1dc2130bd9772569884e0e1fe5a94d41a3993d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift:317-333 | Sources/Paywalls/PaywallColor.swift:105-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift:317\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"da87b965d31f976cef7198ceabcc0383d085b0fcc1eb32ccc3fdc1d70aef5c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:180-195 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:128-143 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:563-578 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:79-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060ButtonComponentViewModel\u0060 in one and \u0060TimelineComponentViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ea3f2e4e4a72d44f83dd925edc53545264289d75acbd8241dbd9a026b6ff30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): RevenueCatUI/CustomerCenter/Data/PurchaseInformation\u002BMock.swift:69-84 | Sources/Purchasing/EntitlementInfo.swift:300-315 | Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:180-195 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Data/PurchaseInformation\u002BMock.swift:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/PurchaseInformation\u002BMock.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3590f86c382d91b868ce6251c00034008b518ebdf7eb6bbaa44db6f382d145eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): RevenueCatUI/PaywallView.swift:275-290 | RevenueCatUI/PaywallView.swift:553-568 | RevenueCatUI/Templates/V2/PaywallsV2View.swift:457-472 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/PaywallView.swift:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/PaywallView.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6d54ee363d6dbb4e35b96f12ebd50ac72ef944c0336957c5b8018751d54dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:531-546 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:592-607 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:670-685 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:531\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d25eda42eb573d59bee16a9eae75cc434f089b5bdffa548d74c1f97b983900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:545-559 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:638-653 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:713-728 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a00188ee0baff31ca79c843362485559126bfd0eef11cebfb6555c7c501504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:225-240 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:246-261 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:291-306 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:263\u0060 calls \u0060preferredColorScheme\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:242\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2ab267ee5d62ccf71e709512dce801fcdba190d438fdf0a28180c70824f606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): Sources/Events/FeatureEvents/FeatureEvent.swift:129-144 | Sources/Events/FeatureEvents/FeatureEvent.swift:147-162 | Sources/Events/FeatureEvents/FeatureEvent.swift:165-180 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Events/FeatureEvents/FeatureEvent.swift:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Events/FeatureEvents/FeatureEvent.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c5e82c9423554b9f1aa0e48d916a0f6bda7f4ade220b3e783081ce9b45ff15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): RevenueCatUI/CustomerCenter/ButtonStyles.swift:115-130 | RevenueCatUI/CustomerCenter/ButtonStyles.swift:133-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ButtonStyles.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b28d2772b01305d5348dde987d29cfe028033e3add29cc8662d10722859c9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:525-540 | RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:548-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f76b9299078f57841273ce9999377841f793a1967472b0460b3024108b86c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:537-552 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:567-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:585\u0060 calls \u0060HStack\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:555\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f98a6a79aabc8e3262e6ef849c178b3168bddf0915f737f1e51f01e6321e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:135-150 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:168-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:135\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec5451ac09670da3f75759b83c36d112b81d23a449d55c7049f8d282f76f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 9): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:768-782 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:801-815 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:835-849 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:58-71 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:87-100 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:182-195 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:211-224 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:240-253 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:270-283 \u2014 there are 9 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:768\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:57\u0060 calls \u0060environment\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:800\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80f0fec8cc2e626f8fc4edc8f36a4799baed11d7f29a86ab4c0c8817cc539d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 7): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:880-894 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:911-925 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:120-133 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:153-166 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:477-490 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:511-524 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:545-558 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:880\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eea12f8f441ad756294eb07f5b2b9bfa24c892cbf1ab3b1f960c2b8e204369"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:453-467 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:476-490 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:499-513 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:520-534 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:453\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"274fde60d0e756d377d02ec8912aa7266c8f84b3a157e0170f61f06af3fa182c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:322-336 | RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:339-353 | RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:356-370 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac442576116c0ab29fa3c3b8b67a60062db9c85becf7811e5a7eb2b5cd42ca07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1111-1125 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1148-1162 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1185-1199 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"633c5a626446bd56a5ef51a85fdd3ecaebff0d4c72764ba6f2b4641c1edf2e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:67-80 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:76-90 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:66-79 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb0f02c4cdebda9472678a8b1000c00d8a34c03558ffd83e42d9c3919340643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:42-56 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:71-85 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:195-209 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:42\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fb00aecd709026d40f93e2613a937733b0c877b025ec103c3edbf79d26cac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Sources/Ads/Events/AdEvent.swift:368-382 | Sources/Ads/Events/AdEvent.swift:453-467 | Sources/Ads/Events/AdEvent.swift:538-552 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Ads/Events/AdEvent.swift:368\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/AdEvent.swift"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f0985f7f98cec5819e29bd1aa73d735e1a0c6310ceb28ba180f1996bdda33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/RewardVerification/RewardedAds\u002BRewardVerification.swift:38-52 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/RewardVerification/RewardedAds\u002BRewardVerification.swift:111-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/RewardVerification/RewardedAds\u002BRewardVerification.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cba4aa9df3d42cee23617c439f313f4321262af98f1aaa7e11019d872f9fc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:106-120 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:105-119 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:106\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b569b029cebf2c3ae51127701cdfc59359f5173e0c926d42cd7b04f41841e51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:123-137 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:122-136 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:123\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d8c9cea1672879baaceddce4413324f29c8382f67616ae1530d3e24fdebcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:254-268 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:284-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:254\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0a92294b8dd0dcef2b02826c8c3cdc49e8abbda3e2f2129ff2bdab8916b290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:312-326 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:331-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:327\u0060 calls \u0060preferredColorScheme\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:346\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1134c1df01d5020f82e46499235899bf1c1f3e0b48dc2385021a2655d6a0fd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywall.swift:671-685 | RevenueCatUI/View\u002BPresentPaywall.swift:968-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:671\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e54e092772957cf2f86f41036de57ef465bfdaff80ae8cbd82378aba89982a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:536-549 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:566-579 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:597-610 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:623-636 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:649-662 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:675-688 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:536\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:550\u0060 calls \u0060previewRequiredPaywallsV2Properties\u0060, \u0060previewLayout\u0060, \u0060previewDisplayName\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:612\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a926eb7127fb729ce6d905d6755d6a71b9d043c11377d9950c14640561fd927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:132-145 | RevenueCatUI/Templates/V2/Components/Packages/Package/PackageVisibilityResolver.swift:54-67 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:121-134 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:92-105 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:188-201 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:128\u0060 calls \u0060apply\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:117\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f492cb62e668ef65bffc509ef0a9bbd2a17fb0c27769273b48de138cfc8f27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:178-191 | RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:150-162 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:251-263 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:226-239 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:227-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:178\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f388489fabd7efe090342ae87e0b3c6861790677cd7615763c1f52d325fc305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 5): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:525-538 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:586-599 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:664-677 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:314-323 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:350-359 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:525\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:585\u0060 calls \u0060HStack\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:347\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd73d476cdd1cc46c9a7cee86fa9fe33c4905fb9a38257ea9d0e4689e1412d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:112-124 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:145-157 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:178-191 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:503-515 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:537-549 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0a84e3bcf1a27cc31c915daa94cb555a12dda679fc241f1c68b27fc36422bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Sources/Ads/Events/AdEvent.swift:367-380 | Sources/Ads/Events/AdEvent.swift:452-465 | Sources/Ads/Events/AdEvent.swift:537-550 | Sources/Ads/Events/AdRewardEvents.swift:128-141 | Sources/Ads/RewardVerification/RewardedAdTrackingMetadata.swift:40-53 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Ads/Events/AdEvent.swift:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/AdEvent.swift"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5af804213fa1e039d8873b2e64b8551d52db0371b5746d9961ede7e5e659de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): RevenueCatUI/View\u002BPresentPaywall.swift:699-712 | RevenueCatUI/View\u002BPresentPaywall.swift:821-834 | RevenueCatUI/View\u002BPresentPaywall.swift:996-1009 | RevenueCatUI/View\u002BPresentPaywall.swift:1049-1062 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:699\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/View\u002BPresentPaywall.swift:713\u0060 calls \u0060workflowExitOfferSource\u0060, \u0060resolveOffering\u0060 and \u0060RevenueCatUI/View\u002BPresentPaywall.swift:835\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66da2c9f670536019887c6e1645b6d4f3957f2c7d57ae88c6fa7238dc6db017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:57-70 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:141-154 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:57-70 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060button\u0060 in one and \u0060TimelineComponentViewModel\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b071346e4d044937377b7019aa91907287c40568d7312141acc2229f0591e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:537-550 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:567-580 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:854-867 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:537\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:585\u0060 calls \u0060HStack\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:555\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc207aa36658a9d24193770e4727a8167e206b2e7ee3533569d1514a40c65c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:631-644 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:663-676 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:681-694 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:631\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4add09121a23fec65bd7ca0a43ec49cf758144f696905874a1990c7860ab79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): RevenueCatUI/Templates/Template5View.swift:286-299 | RevenueCatUI/Templates/Template7View.swift:426-439 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template5View.swift\u0060 and \u0060RevenueCatUI/Templates/Template7View.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template5View.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09dde1c29af2c614f8c0e114c0756a137c27c9aff0b7b4af76f06c1c82d08bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:332-345 | RevenueCatUI/Views/FooterView.swift:224-237 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da2c61588457144e30377d4a58e05dd0a9b016edafcce64229fc0f6d3fe0fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift:60-73 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift:85-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift:60\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b58daf0437c28d0b28cf046b0b14fc051a0b0d2e0f1b9e13dc77f52200001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:113-126 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:147-160 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060viewModel\u0060 to \u0060ImageComponentViewModel\u0060 in one and \u0060button\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad1bfaef363525c3c38092e8d9b4d611a5790ff6bb9aff6d0b328c99a0a0ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:551-564 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:346-358 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:551\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:345\u0060 calls \u0060environment\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:550\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2168d63dca082501e5fb45d10cf23cd56cb89c2c5dfca8809f1771dc4be875d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): Sources/Networking/Operations/GetCustomerInfoOperation.swift:91-102 | Sources/Networking/Operations/PostRedeemWebPurchaseOperation.swift:84-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Networking/Operations/GetCustomerInfoOperation.swift:91\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetCustomerInfoOperation.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd712a48c181f27fe8dd878663db286a5a3bb655920561da9bd0593b311c0f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:89-101 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:99-111 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:184-196 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:81-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e1e2c0b6b9ad1a60310514fa40aa746799df023e6d2ed48da403a4ceed480c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/AdMobInterstitialPresenter.swift:40-52 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/AdMobRewardedInterstitialPresenter.swift:46-58 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/AdMobRewardedPresenter.swift:46-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/AdMobInterstitialPresenter.swift:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/AdMobInterstitialPresenter.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2477a3c685a2b18c591ac1f0e57fd722e3131dfd4f03788bc2dab7c1b763334a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1127-1139 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1164-1176 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1202-1214 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1127\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ec98446911ede6e257f627c51c04cd7674b74f8fe7aa6626f84f6ae8a9bd83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift:164-176 | Sources/CustomerCenter/CustomerCenterConfigData.swift:806-818 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift:164\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dbe0d96eed92bab2b7e385d32199e1bae359417de82717c1a63fd714d0c439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/CustomerCenter/ViewModels/PurchaseHistory/PurchaseHistoryViewModel.swift:123-135 | RevenueCatUI/CustomerCenter/ViewModels/PurchaseHistory/PurchaseHistoryViewModel.swift:138-151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/ViewModels/PurchaseHistory/PurchaseHistoryViewModel.swift:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ViewModels/PurchaseHistory/PurchaseHistoryViewModel.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f56f3c48dcf25bc5a78ef0b4566bc301b726975e91669b334b6f4b7be55c8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:511-523 | RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:534-546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04532b2f9398191c6565b7fd62cc37734302b5d721c0bccfc66695523e7df9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:401-412 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:107-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:401\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f75ddcddf0a1f27e0eb90817883db2ef745fabe86cca26670811d839ff5bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Root/RootView.swift:408-420 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift:243-255 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Root/RootView.swift:408\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift:242\u0060 calls \u0060footerCTAText\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Root/RootView.swift:407\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Root/RootView.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c1cfcc0f57d8b445a7f39b4381dc16ce5d1f3bd95f1c9259ebb3557159fbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:233-245 | RevenueCatUI/Templates/V2/PaywallsV2View.swift:701-713 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"874d479e6ee0430cd58630276202005f6cefa8931696d80d087d066b25b934ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:401-413 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:30-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:401\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"de93f01524eb406b3a4c54607326268a0c34a295d2d8a2f433c7d044f19e238f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:523-535 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:540-552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:553\u0060 calls \u0060environment\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:536\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd17ce2e9acaf0b3e5e89b586ff7971b26d65b214618c797f9a220e687dad31b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:376-388 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:416-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee0c7c8b6a93d5b9a927a4be6a6993cdb52e71511f185199f2e1768eead5374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:232-244 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:249-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:262\u0060 calls \u0060environment\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:245\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4784a8ad6ac7a0086fd60817f6a516a0ce2f883e7acb07631a5106837fc02db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:181-192 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:257-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:273\u0060 calls \u0060available\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:196\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfc83308f87f8b8f7644246bf9ca3ffa4651db69b5ee4b33085d9fc2c93953e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Sources/Purchasing/Purchases/Purchases.swift:991-1002 | Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:257-269 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"9405e3eb9dae3462379794dcf737b01a22a91315daa7619bdbd463455fed6a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 12): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:403-414 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:551-562 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:772-783 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:805-816 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:839-850 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:33-43 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:62-72 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:91-101 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:186-196 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:215-225 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:244-254 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:274-284 \u2014 there are 12 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 12 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:403\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:57\u0060 calls \u0060environment\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:800\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"95479c5f72c247889eb46c1ed5521eb93d2e15342ac971eef4e548dfb9fc6eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:527-538 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:566-577 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:599-610 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:632-643 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:665-676 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:699-710 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:527\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd20befed7dc31014c3b0ddcfaa5e45ffa30d501ca98480d02ec02a4d6edb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:249-260 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:262-273 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:275-286 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:288-299 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:301-312 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:314-325 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:249\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:259\u0060 calls \u0060background\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:246\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8919ca06ace7b3d3b3518ebb7795c43634e7c2b784b966ea60170593a812d340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift:165-176 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:264-275 | RevenueCatUI/View\u002BPresentPaywall.swift:542-553 | Sources/CustomerCenter/CustomerCenterConfigData.swift:807-818 | Sources/Identity/CustomerInfo.swift:347-358 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"398a31dcf4f8741933fe26d40afe18608e161d790ec0f830580c00aafe5ea4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:627-639 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:659-671 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:677-689 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:695-706 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:627\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba15ac9b7e2bb7f45d969e3f78f80e83db27b2de1ca14c9bec94557bdb482861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:644-655 | RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift:351-362 | RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift:499-510 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:644\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb8a221ecac38799fa7b84e25aedc373f7063daaa5bfb751328f69171b8f83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:448-459 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:515-526 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:536-547 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:448\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4dc08bce818652f92687667baab46cbeb07870a735f216ba239da6548e3365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:393-404 | RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:412-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91d95896f690945b4b43aac6d17bb7f75cdf995de0301cd56a5726ad40d11d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): RevenueCatUI/PaywallView.swift:112-123 | RevenueCatUI/PaywallView.swift:148-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/PaywallView.swift:112\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/PaywallView.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d264b721514ed7f2765a83e167a6928f0527a8358209c37f1b5d0fee8c1a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift:226-237 | RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift:243-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift:226\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef17a0f481b9cf28a24101b9f0e810208096aca04c1c59e0ec216a137a1fb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:107-118 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:137-147 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:107\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c92c880c2dac5cf06fd4c914110a3ca14d9186f0bd7caeee444737d47a29594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201312 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:728-730 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:818-828 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:856-867 | RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:413-415 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d887124360615fc7b70f2d303caf6223491db84e081bfd30abbfa22389c4f936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:546-557 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:255-266 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:546\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e435ff730a90555066cf2ec555fa550dd1f8a59aa69e8d2d4807655706d1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywall.swift:164-175 | RevenueCatUI/View\u002BPresentPaywall.swift:332-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:164\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd215ed5c2a6d67aa932be74e25519e6466f901b9d8d077d6ecd44ac20d931a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/Misc/Obsoletions.swift:551-562 | Sources/Misc/Obsoletions.swift:571-582 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Obsoletions.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be01f8b33bd3d75fb495ed7d5c8038abebfedcbcab9818bd65b89bc9f791d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:784-793 | Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:837-848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:784\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d2e352b81522d0eff52062434d21516799d5a19649433b68cc4da3a5c8c939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 6): RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:91-100 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:53-63 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:101-110 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:131-141 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:186-195 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:83-92 \u2014 there are 6 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2aec55664a78b9f0ec8ed4ddc44b262296b60060526625def843db4f3503a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:235-245 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:247-257 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:273-283 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:286-296 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:299-309 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:312-322 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:285\u0060 calls \u0060background\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:247\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2669be101e0364b18d3c30c87c6c108b7eb206ee608107de6ac09c07cac92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:551-562 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:346-357 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:383-393 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:423-433 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:551\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:345\u0060 calls \u0060environment\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:550\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"427e753adfa19816952bd4f5e9b3c2d88cb9c5e9e4804e16429a8bb0cdf38314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:395-405 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:402-412 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:346-355 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:237-246 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 133 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:395\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de7913f11ef2f37828b3f91846fab917b3b527225958e78cfa3b314a73d797b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): RevenueCatUI/View\u002BPresentPaywall.swift:159-169 | RevenueCatUI/View\u002BPresentPaywall.swift:327-337 | RevenueCatUI/View\u002BPresentPaywall.swift:375-384 | RevenueCatUI/View\u002BPresentPaywall.swift:461-471 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/View\u002BPresentPaywall.swift:326\u0060 calls \u0060Sendable\u0060 and \u0060RevenueCatUI/View\u002BPresentPaywall.swift:158\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2592e950e07930bcc26d8178b07caa5d2d7dc64e4948fe0b24fd607f48e6e696"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): RevenueCatUI/View\u002BPresentPaywallFooter.swift:91-101 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:131-141 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:227-237 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:269-279 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywallFooter.swift:91\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/View\u002BPresentPaywallFooter.swift:280\u0060 calls \u0060default\u0060 and \u0060RevenueCatUI/View\u002BPresentPaywallFooter.swift:102\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywallFooter.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efc0facc98db3cebec2c0e69ecdbe5bba564d5e1d8a6214271e91d1b2e5275a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:216-226 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:500-510 | RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift:373-383 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f420cb2752a6de61d436e8dd330101ddcccc3a137f1b6f76d3ae32f442d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/CustomerCenter/View\u002BPresentCustomerCenter.swift:146-156 | RevenueCatUI/CustomerCenter/View\u002BPresentCustomerCenter.swift:224-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/View\u002BPresentCustomerCenter.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1369a46f772276cde3a05e3144ab441df5b6541cc2c0605d0bde795b54849d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:236-246 | RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:257-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/RelevantPurchasesListView.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f5a3134947932c96280d2de28043a2d1a4a107f3d7f8729a8b3f38bc4be4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/PaywallView.swift:84-94 | RevenueCatUI/PaywallView.swift:111-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/PaywallView.swift:84\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/PaywallView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07db2d1e00ef4a624aa7e188d0faa1e59512c3d9e0a1de7624257c606f7a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/Template5View.swift:191-201 | RevenueCatUI/Templates/Template7View.swift:318-328 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template5View.swift\u0060 and \u0060RevenueCatUI/Templates/Template7View.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/Template5View.swift:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/Template5View.swift:202\u0060 calls \u0060matchedGeometryEffect\u0060 and \u0060RevenueCatUI/Templates/Template7View.swift:329\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template5View.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"20af4030916cf780d9a0b3e7c78c4c4394118fd247b22d8151ea61e9f9d414ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:599-609 | RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:612-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:599\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5867fa21a9f8136808ccb154bd38450adf0fdf84f8c6fb85726be76c5559061a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:754-764 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:903-913 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:754\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d4cf3bbf40e6cb65076342f6d1ba656e2219b31978426ab2787073e217b2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:514-524 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:550-560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:514\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcff398e25d8becfb4ee9ad21a29b8740be85cb3954ddc53db0f4c556cb216c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:55-65 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:70-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5a4a101d81600cd7e25d45eec955725f074f71006d8dbda791fcd6249bd1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:65-75 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:64-74 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9c13aedf3ef2b61503076d25e9e5ae863c96e4bfc1e2404746c29d16050a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:80-90 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:79-89 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36138df3169e8d1ad8456ba7a2d94c638b9c087aa0f25e057d75996cf347733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:530-540 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:239-249 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:530\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf296ba468ff79e255618eb658f6999e2a877d7a7537092960d212281b6e1b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Ads/Events/Networking/PostAdEventsOperation.swift:39-49 | Sources/Events/FeatureEvents/Networking/PostFeatureEventsOperation.swift:38-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/Networking/PostAdEventsOperation.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e24674c35bea8c0411ddbaa270c5028d4a104005021ab52417745d0c85a5e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Networking/Responses/CustomerInfoResponse.swift:328-339 | Sources/Purchasing/StoreKitAbstractions/Test Data/TestStoreProduct.swift:134-144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Networking/Responses/CustomerInfoResponse.swift:328\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Responses/CustomerInfoResponse.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"363fd5f23c222b95e9bc1e3e8c064ccc504f507f047ae2b3ade5dbc39472bcb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:237-246 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:249-258 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:262-271 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:275-284 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:288-297 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:301-310 | RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:314-323 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:272\u0060 calls \u0060background\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift:247\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/ShadowModifier.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aae7ea25bfe11833eeadc09d496a719d6e31a541818d89477406736d9ce6c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:514-523 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:550-559 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:586-595 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:619-628 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:652-661 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:685-695 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:514\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae907b5d44060eb4f615c39e288b3e27ca996793dafddbb966e3b42f415f174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:529-538 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:397-406 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:404-413 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:347-356 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:238-247 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:529\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16bbd65ee3caf6ea947e53115441872aad710274230293037015f9f2bd377e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): RevenueCatUI/Templates/Template2View.swift:173-182 | RevenueCatUI/Templates/Template4View.swift:143-152 | RevenueCatUI/Templates/Template5View.swift:208-217 | RevenueCatUI/Templates/Template7View.swift:347-356 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template2View.swift\u0060 and \u0060RevenueCatUI/Templates/Template5View.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/Template2View.swift:173\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7abcdd9507787b58c4457874a23562d48ce2e3f0ba7354b6e44e7bbcc4be57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:55-64 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:70-79 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:85-94 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5832e7da45f71e8db44295b04367fdafef438271ffde8eb123d1ad48a2ae6cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:54-63 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:69-78 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:84-93 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe0d75abaab173b369c8c52c79852c742f00a86dca25ada26ceba5de020fbc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:74-83 | RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:94-103 | RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:127-136 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:104\u0060 calls \u0060padding\u0060, \u0060effectiveMargin\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:137\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5787f1ae9672c409562884c71af22ff9d49697ff4b846d93cce7f94edae15994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): RevenueCatUI/Purchasing/WorkflowPreview.swift:28-37 | RevenueCatUI/Purchasing/WorkflowPreview.swift:53-62 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Purchasing/WorkflowPreview.swift:28\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/WorkflowPreview.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b838861ef6c58c43ff2c3c83762923375105fc5e6db91d6dc8a30e5cbf5e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:569-578 | RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:624-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:569\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:623\u0060 calls \u0060environment\u0060, \u0060Spacer\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift:569\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67b2ea145f67fab0ea7588b77662f59baaa6bc73727b12e1297d001f67993e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:780-789 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:929-938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:780\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:940\u0060 calls \u0060init\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:791\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"18221bb3bd262837f3b3d14cfe6354ada4fe325ac8aa5cdcfecabb184385a74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Countdown/CountdownComponentView.swift:89-98 | RevenueCatUI/Templates/V2/Components/Countdown/CountdownComponentView.swift:105-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Countdown/CountdownComponentView.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ace4e1e189a457e958f97aa542dfd73aedc39fb8dae08fce77d7cabe9cedc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:338-347 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:455-464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:338\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdbe8f6ef207325919ad24254b25c039af0c620ed7e0f5b85613db70a34b692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:492-501 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:526-535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:492\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fe691d769daa87cc7f939f3984478ff46e163b117b064bc6c6d6137a956084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:322-331 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:359-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15b509286199567e91958f6576d1ce2b83bb8b854e4f88ce77470547df3fa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Ads/Events/AdEventStore.swift:170-179 | Sources/Events/FeatureEvents/FeatureEventStore.swift:214-223 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Ads/Events/AdEventStore.swift:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/AdEventStore.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9a0f93584279ff6f0283f952a261fc919b03d538717e80fd086c7a1fde4eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/RulesEngine/Value.swift:78-87 | Sources/RulesEngine/Value.swift:108-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/RulesEngine/Value.swift:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/RulesEngine/Value.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c182550b3df7da85a16ff70fd3dfc1b6fec5cbc9878a7cfc02147669534be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 15): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:845-852 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:887-894 | RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:918-925 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:38-46 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:67-75 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:96-104 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:126-134 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:159-167 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:191-199 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:220-228 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:249-257 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:279-287 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:483-491 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:517-525 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:551-559 \u2014 there are 15 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 15 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:845\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:259\u0060 calls \u0060variable\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:48\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd06c7867956086aa01b5a4080eac75bb2075a75bda88d327c64acdfc92f0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:513-521 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:526-534 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:549-557 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:565-573 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:585-593 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:598-606 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:618-626 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:631-639 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:651-659 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:664-672 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:684-692 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:698-706 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:513\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ae13a2aaab5aae2d2db0474479a0c64e8bef12b34e6bb71899f625288bbed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 7): RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:92-99 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:54-61 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:102-109 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:132-139 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:187-194 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:84-91 | RevenueCatUI/Templates/V2/Components/WebView/WebViewComponentViewModel.swift:85-93 \u2014 there are 7 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bbdae12f278480d952f530499a2bda372ae1f30fd1f195f269d9039d45b2d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:54-62 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:69-77 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:84-92 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:97-105 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:106\u0060 calls \u0060Spacer\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:63\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"43882d65ac6f5bd271258ca771ba2c5f7656c8242a62042f102dfe3445fb21c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:53-61 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:68-76 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:83-91 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:96-104 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:105\u0060 calls \u0060Spacer\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:62\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aabfde74c6bb09b0bd1083bcb0f7332328d20488e4ec2fd2b2ffdfee4a4ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:851-860 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1113-1121 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1150-1158 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1187-1195 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:851\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3b5cbfbb4f64b9dd28d827366e0ee88b7735ea19ac5ebaaadf63a5ff438202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): RevenueCatUI/CustomerCenter/View\u002BPresentCustomerCenter.swift:146-154 | RevenueCatUI/CustomerCenter/View\u002BPresentCustomerCenter.swift:224-232 | RevenueCatUI/CustomerCenter/Views/UIKit Compatibility/CustomerCenterViewController.swift:124-132 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/View\u002BPresentCustomerCenter.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03a6afdd26328e05e6ceb507894617aa61cd083a6ba4e8e4c0dabe90b557b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift:102-110 | RevenueCatUI/Templates/V2/Components/Image/ImageComponentView.swift:298-306 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift:270-278 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060style\u0060 to \u0060ImageComponentStyle) -\u003E (width: Int\u0060 in one and \u0060VideoComponentStyle) -\u003E (width: Int\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Icon/IconComponentView.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a959b1734879e44bf6b31786127cefe324f75413c2fc60ddcc76f7706c9d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:52-60 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:51-59 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c84aa230cfac48b2b940119089761a1e4e3dd54cdb503bcf171a5c08ba2d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:168-175 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:188-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:168\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f82b52808d6f02fcc1d1f43ad0e4233961066140bfe746b05afef0c224a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift:933-941 | RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift:949-957 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift:933\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"f046c94233ac330eb7f4a92359985495fc1b42916f5cf3844acf9b4366d4cdb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:202-210 | RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:280-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Shape.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"52133077ae76703a8c2ff5f5781a1930404b1da3b708c9644523897cf1e1d4ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): RevenueCatUI/Views/GradientView.swift:138-146 | RevenueCatUI/Views/GradientView.swift:148-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Views/GradientView.swift:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Views/GradientView.swift:147\u0060 calls \u0060preferredColorScheme\u0060 and \u0060RevenueCatUI/Views/GradientView.swift:156\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/GradientView.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f64115519c035f1b49d1d8c8e0b3cba77e5656e938ac3c7f9b518e28da846a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:762-769 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:771-778 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:840-847 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:849-856 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:911-918 | RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:920-927 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift:762\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec62ba82962ead4beaf6d6f85ae4ddbc9dec83fda4b5bea7de9e73b1451cee67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:68-75 | RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:83-90 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:67-74 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:82-89 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfe193782b908fca3b57d2204251b473b9516fa01f97f64e0d96552ba59dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:45-53 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:74-82 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:198-206 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:325-332 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift:45\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ConditionalConfigurabilityPreview.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d50044b205b014ece47ebc5ed0c45dfc28461453605eb401088a655ebad88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): RevenueCatUI/Modifiers/ViewExtensions.swift:121-128 | RevenueCatUI/Modifiers/ViewExtensions.swift:204-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Modifiers/ViewExtensions.swift:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Modifiers/ViewExtensions.swift:214\u0060 calls \u0060scrollBounceBehaviorBasedOnSize\u0060 and \u0060RevenueCatUI/Modifiers/ViewExtensions.swift:129\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Modifiers/ViewExtensions.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76b853b4098aae38d2f693b5aff09225aca9f888e0d6327f4a6ea07ca95745a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:96-103 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:95-102 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa571b326b315e2b3f337041824dd65484634639f65d147b4fa19f7802135e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:807-810 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:811-818 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:826-833 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:811\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:818\u0060 calls \u0060init\u0060, \u0060hex\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:810\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc19ddee530048624da0ae1f593f23134cfd55e08ae610784d0126fc492e5d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): RevenueCatUI/Views/GradientView.swift:129-136 | RevenueCatUI/Views/GradientView.swift:146-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Views/GradientView.swift:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/GradientView.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51098df8da8e59c0ce8af76b37e162450e6eec9e979ad06483a43db251aee8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Misc/Concurrency/Purchases\u002Basync.swift:96-103 | Sources/Misc/Concurrency/Purchases\u002Basync.swift:106-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Concurrency/Purchases\u002Basync.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccda0224c8b224781b3e48ed51d1f8c72453e40978ae24467078f20c5e2ea82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Networking/Operations/PostExternalPurchaseTokenOperation.swift:62-69 | Sources/Networking/Operations/PostHostedCheckoutOperation.swift:70-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Networking/Operations/PostExternalPurchaseTokenOperation.swift:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/PostExternalPurchaseTokenOperation.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e6172bae72a7305e5a35f6b3962ece3669a2d25b9df6f9ec8f05c0ec32ae22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1126-1132 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1163-1169 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1201-1207 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:413-418 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"35452f23324e415718ffccd31b1a5775ede0d822ac7d7b9b0687cd28d0ae40a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:201-207 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:251-257 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"239bea63f18f139d76df7d5112dec141f8cabec4c8662ba998a3ac267cdc47e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift:268-276 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PackageVisibilityPreview.swift:96-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift:268\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fa2fc540a2054dcac1417714c721391f476f2d276a8affe443b165154b334f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift:135-141 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift:192-197 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb5e2a45b1f8f2b6b38cbe0bbcc7e6af8387766ae4a71bec0c7a6c8736ccc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): RevenueCatUI/View\u002BPresentPaywallFooter.swift:44-50 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:86-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywallFooter.swift:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywallFooter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0be6713639ddceeae4de0cd69a7da074bc0116ee654a6fed34d9378775de02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Networking/RCContainer\u002BElement.swift:240-246 | Sources/Networking/RemoteConfigBlobRefHelpers.swift:38-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RCContainer\u002BElement.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5658f43564e38bd9c495944b5fff49107cb9576fe74d455e29f4f1d86f77404f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/Paywalls/Events/Networking/EventsRequest\u002BCustomPaywallImpression.swift:76-82 | Sources/Paywalls/Events/Networking/EventsRequest\u002BPaywall.swift:115-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Paywalls/Events/Networking/EventsRequest\u002BCustomPaywallImpression.swift:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Paywalls/Events/Networking/EventsRequest\u002BCustomPaywallImpression.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"826e42be9cdf5addb7d153cfe5543123715d2fce3237ddd0e4a03f5e3c09c3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:165-170 | RevenueCatUI/Templates/V2/Components/Icon/IconComponentViewModel.swift:143-148 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift:239-244 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:220-225 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentViewModel.swift:221-226 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b77ed6e35814363f5fb37558db61fb6a4641ed7b390fccdbc178ee1437d608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1120-1125 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1157-1162 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1194-1199 | RevenueCatUI/Templates/V2/Components/Timeline/TimelineComponentView.swift:410-415 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift:1120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae0492019e42842ae402325bf304c75e8933b26044510f23d3b9ffbb0e72144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:147-152 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:177-182 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"19009e1f1ee8969584f3fb7e00542785a6c8cc37fea7af5dbb69bfa2b5f17bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:220-225 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:278-283 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"908b5ababffd9fb904f0c4799e1df9451389f5e16d7380d7715b10702c4dc686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20136 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:820-825 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:839-840 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:841-846 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:820\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:840\u0060 calls \u0060init\u0060, \u0060hex\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:839\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a37b38ae50d962b0f292810454b526c2d4cdff4b3514959a3f1fc74f26a3f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Events/FeatureEvents/FeatureEvent.swift:188-193 | Sources/Events/FeatureEvents/FeatureEvent.swift:309-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Events/FeatureEvents/FeatureEvent.swift:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Events/FeatureEvents/FeatureEvent.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"60823944516dc8903581f95f8baafc628a3450c20289c85d42749a529ff5e231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Misc/Obsoletions.swift:435-440 | Sources/Misc/Obsoletions.swift:458-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Obsoletions.swift"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4f991e7e73c4ba032764ae13df9cc1bbce409fe0e9555378fa3ba7c834b39d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/RulesEngine/Value.swift:161-166 | Sources/RulesEngine/Value.swift:339-344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/RulesEngine/Value.swift:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/RulesEngine/Value.swift:159\u0060 calls \u0060jsStringEquals\u0060 and \u0060Sources/RulesEngine/Value.swift:338\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/RulesEngine/Value.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f90b0a3a82e1cd110d0e24f703ad6dc42d34e1c532ee6dc40a59f043d5ae52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:731-735 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:372-377 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift:141-146 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/MultiTierPreview.swift:109-114 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:171-176 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/FamilySharingTogglePreview.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:372\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c138f576528386bd35df21eb3ffb12622a2727296104cebb6ab3969347030d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:787-791 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:317-321 | RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:336-340 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:787\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift:792\u0060 calls \u0060init\u0060 and \u0060RevenueCatUI/Templates/V2/ViewHelpers/BackgroundStyle.swift:322\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1e2dd8840e39be224a430778ee3844c8c218f29bd9dac50e12ee1d2c27cf0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): RevenueCatUI/View\u002BPresentPaywallFooter.swift:44-48 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:86-90 | RevenueCatUI/View\u002BPresentPaywallFooter.swift:221-225 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywallFooter.swift:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywallFooter.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6338fb009acc0585fb7d7710c71f75f774dcde3016c1b4241d2c846e406493c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/UIKit Compatibility/CustomerCenterViewController.swift:268-272 | RevenueCatUI/UIKit/PaywallViewController.swift:719-723 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/CustomerCenter/Views/UIKit Compatibility/CustomerCenterViewController.swift:268\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/UIKit Compatibility/CustomerCenterViewController.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38e02697e9549e13b037ec828eedcfa16fa05fa312fbd800907af4e575dbb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift:109-113 | RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift:107-111 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentViewModel.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b0a823866e9e6843d5c811809a65806f05f08217363679555320870152fa5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:834-838 | RevenueCatUI/Templates/V2/ViewHelpers/BadgeModifier.swift:385-389 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:834\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecb8b362bb134284f20cb946707f39bb13ce7f7e5b969329b4279d86d98c42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): RevenueCatUI/View\u002BPresentPaywall.swift:93-97 | RevenueCatUI/View\u002BPresentPaywall.swift:235-239 | RevenueCatUI/View\u002BPurchaseRestoreCompleted.swift:152-155 | Sources/Misc/Deprecations.swift:23-26 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/View\u002BPresentPaywall.swift:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba3ce71a9d55524682d89cc3fbed85b5be65d248876d6d97d2559f6bdb59d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Events/FeatureEvents/FeatureEvent.swift:214-226 | Sources/Events/FeatureEvents/FeatureEvent.swift:260-264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Events/FeatureEvents/FeatureEvent.swift:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Events/FeatureEvents/FeatureEvent.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"307113a2656ce2ddd18160147cf1b3e57386cea998779c436ca21a8470ce3fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:1128-1132 | Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:1142-1146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:1128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"666ec7dbb9e199dfc2b16b71d3c9581818a30e747425a5d9d2d34b03ea100252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Purchasing/SimulatedStore/SimulatedStoreTransaction.swift:17-33 | Sources/Purchasing/StoreKitAbstractions/TestStoreTransaction.swift:20-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/SimulatedStore/SimulatedStoreTransaction.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2b9e687a0f83ae7bb4846fd38e4e1931d3d1c1d97327c8794ba6adca31f1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/InterstitialPresentation.swift:53-61 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/RewardedPresentation.swift:59-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/InterstitialPresentation.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6e0fa75c8b27bf65811756b4e7edd6f042b311e897676392a0fc0d2246b6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/InterstitialPresentation.swift:164-169 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/RewardedPresentation.swift:252-257 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/InterstitialPresentation.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7f3002d1257a434eaa8018d30228c8df23d21d35dee6291f7331df52e1b06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Projects/AutomatedSDKTestsApp/AutomatedSDKTestsApp/Sources/AutomatedSDKTestsApp/e2e-test-flows/Components/EntitlementView.swift:53-64 | Sources/Security/VerificationResult.swift:164-175 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Projects/AutomatedSDKTestsApp/AutomatedSDKTestsApp/Sources/AutomatedSDKTestsApp/e2e-test-flows/Components/EntitlementView.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ef1090c236eb81ecf9f543e34443fea383325e7cbdc84a8ea91267f29b5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): RevenueCatUI/CustomerCenter/Data/EntitlementInfo\u002BExtensions.swift:18-25 | Sources/CodableExtensions/PeriodType\u002BExtensions.swift:50-57 | Sources/LocalRules/CustomerInfoDimensionProvider.swift:285-292 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/EntitlementInfo\u002BExtensions.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae45ca5c632fb95511a7b52c7d735c6d84b0b96b12d2f33abc6f0c118b4dac12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): RevenueCatUI/CustomerCenter/Views/UIKit Compatibility/CustomerCenterViewController.swift:247-253 | RevenueCatUI/UIKit/PaywallViewController.swift:699-705 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Views/UIKit Compatibility/CustomerCenterViewController.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63313f6b4b6806c70c92a21465ef5ccb7ab2b8715d7802663c4278e0d5fde1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): RevenueCatUI/Data/TemplateViewConfiguration.swift:317-322 | RevenueCatUI/Templates/V2/EnvironmentObjects/PackageContext.swift:61-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/TemplateViewConfiguration.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ad1551e9421e3bc2e0673291baf4156970a817ebb220651221d7c5dba85d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): RevenueCatUI/Templates/Other platforms/WatchTemplateView.swift:262-266 | RevenueCatUI/Templates/Template2View.swift:280-284 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Other platforms/WatchTemplateView.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"81246a69de79d9488b4866671cf4b9bd6f1f7eb13e47400eb9f8ab3f57fa2048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): RevenueCatUI/Templates/Template2View.swift:46-50 | RevenueCatUI/Templates/Template5View.swift:51-55 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template2View.swift\u0060 and \u0060RevenueCatUI/Templates/Template5View.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"efea741d46ccdf717f39b9ea06a76b3b3a3a2c38c688007a6c6938cb92c985c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): RevenueCatUI/Templates/Template2View.swift:294-299 | RevenueCatUI/Templates/Template5View.swift:271-276 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template2View.swift\u0060 and \u0060RevenueCatUI/Templates/Template5View.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a2bafd4d04f2180a4dcd6ee3fc383ce71e212c73daf1c14a746909c601842a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift:213-219 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift:313-319 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift:220-226 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/PurchaseButtonInPackagePreview.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/Template1Preview.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e988285ebe268a6c56e18d42e2de0bff3961c66b53c491c090193479283279f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Video/VideoPlayerLayerUIView.swift:58-66 | RevenueCatUI/Templates/V2/Components/Video/VideoPlayerViewUIView.swift:45-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Video/VideoPlayerLayerUIView.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"86126ad00b12c4ad86d361f5766628d2155addebe0021a3113d2a06ce2295b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift:511-517 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/WindowSizeConditionsPreview.swift:217-223 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/ButtonWithFooterPreview.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dd50da328866bbb9ad00aabe25509836719ac8ac61bc34573a664d90628a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/HeaderNestedHeroZLayerSafeAreaPreview.swift:240-253 | RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/HeaderTextBodyHeroSafeAreaPreview.swift:192-205 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/HeaderNestedHeroZLayerSafeAreaPreview.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d29689764b2eb5f8ec9e966bc4214073dfbb818410da1c6fcf4139e7cd69ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Ads/RewardVerification/AdRewardConfiguration.swift:129-133 | Sources/Ads/RewardVerification/VirtualCurrencyReward.swift:28-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/RewardVerification/AdRewardConfiguration.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"17673f93f4a7feb91f7ac6ad443809f7b93889085fd324489970c37f4b620223"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/CodableExtensions/PurchaseOwnershipType\u002BExtensions.swift:60-67 | Sources/LocalRules/CustomerInfoDimensionProvider.swift:251-258 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CodableExtensions/PurchaseOwnershipType\u002BExtensions.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8166c501703e2585935f199da0b4bd495d4b4b5678cb20292065dc5c560dbd5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/CustomerCenter/CustomerCenterPresentationMode.swift:70-75 | Sources/Paywalls/PaywallViewMode.swift:94-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CustomerCenter/CustomerCenterPresentationMode.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de7b522e0f94c40e88c9de66a8a3e5212cf1fa539c17a8dd9e81d2be758bebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/Networking/AudiencesConfigProvider.swift:40-49 | Sources/Networking/CheckpointsConfigProvider.swift:49-58 | Sources/Networking/SubscriberDimensionsConfigProvider.swift:47-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/AudiencesConfigProvider.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c960d21b2a64ac7b6bb7e2f9dc97691c7e2a21ad65d071292967720a33065f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/Networking/Operations/HealthReportAvailabilityOperation.swift:39-46 | Sources/Networking/Operations/HealthReportOperation.swift:39-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/HealthReportAvailabilityOperation.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39d057ff007fc92392c725d714057890ef88808babe14f8c25cce60782b5c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/InterstitialPresentation.swift:171-182 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/RewardedPresentation.swift:259-270 | AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/RewardedPresentation.swift:272-283 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Sources/RevenueCatAdMob/Checkpoints/InterstitialPresentation.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4306ce2579abef2c37aa8b42fb33113995c98204e056d9b45410974a3233537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): RevenueCatUI/Templates/Template2View.swift:393-402 | RevenueCatUI/Templates/Template5View.swift:419-428 | RevenueCatUI/Templates/Template7View.swift:558-567 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/Template2View.swift\u0060 and \u0060RevenueCatUI/Templates/Template5View.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fcf68393953a371f221ded3ecd354410f2008a3b8de3aaa27efbbefd145afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentViewModel.swift:89-94 | RevenueCatUI/Templates/V2/Components/WebView/WebViewComponentViewModel.swift:143-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentViewModel.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"74616ddc37f6c64b2b8b7a8da87a319a4764d90d088a33bf012e5f2654df0cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift:30-42 | RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift:29-41 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Stack/FlexVStack.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/FlexHStack.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"429d7df40f7d1bbb8e95ca4999354f8ba0198557f17307a3f2b07570784cad9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Ads/Events/Networking/PostAdEventsOperation.swift:25-37 | Sources/Events/FeatureEvents/Networking/PostFeatureEventsOperation.swift:24-36 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/Networking/PostAdEventsOperation.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff8cf057db9b6e15181852c6a7333f421c0ea1113bcd3ddf421ac8b7dfcaa9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/Ads/Events/StoredAdEventSerializer.swift:22-27 | Sources/Events/FeatureEvents/StoredFeatureEventSerializer.swift:22-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/Events/StoredAdEventSerializer.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ae95f75dcb18ec18638dac7defc0e91022d35b2229a35b7efe89cad1ab1e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Sources/Error Handling/BackendError.swift:42-46 | Sources/Error Handling/BackendError.swift:48-52 | Sources/Error Handling/BackendError.swift:54-58 | Sources/Error Handling/BackendError.swift:60-64 | Sources/Error Handling/BackendError.swift:66-70 | Sources/Error Handling/BackendError.swift:79-83 | Sources/Purchasing/OfferingsManager.swift:686-692 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Error Handling/BackendError.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b9552ce4c29f2d9aa4c8d13e9ec2b1c5e1f38a0590f7b2806330111c5effcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Networking/Operations/GetCustomerCenterConfigOperation.swift:23-35 | Sources/Networking/Operations/GetVirtualCurrenciesOperation.swift:21-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060callbackCache\u0060 to \u0060CallbackCache\u003CCustomerCenterConfigCallback\u003E\u0060 in one and \u0060CallbackCache\u003CVirtualCurrenciesCallback\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetCustomerCenterConfigOperation.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a43e8cc74fa281adddc4e0750a6f353137b0a4f6cde7039788ad8ab087d5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Sources/Networking/Operations/GetCustomerInfoOperation.swift:51-63 | Sources/Networking/Operations/PostExternalPurchaseTokenOperation.swift:45-56 | Sources/Networking/Operations/PostHostedCheckoutOperation.swift:53-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetCustomerInfoOperation.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"48de5ca2d68254ae2ff37e9b3872f423d59613f3db413affd67ec2e928eaf555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Networking/Operations/GetHostedCheckoutStatusOperation.swift:38-47 | Sources/Networking/Operations/LogInOperation.swift:37-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetHostedCheckoutStatusOperation.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecccd2e1454658be716e950715d87253525a959d2b240df24885d9a7fb658089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/Networking/Operations/GetOfferingsOperation.swift:21-33 | Sources/Networking/Operations/GetWebOfferingProductsOperation.swift:21-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetOfferingsOperation.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6289ba7630296dbf254e43cec1534a3ec76bac86533c465d1aa9298664121baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Networking/Operations/HealthReportAvailabilityOperation.swift:29-37 | Sources/Networking/Operations/HealthReportOperation.swift:29-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/HealthReportAvailabilityOperation.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5917b480ea5b4d5673d7153932be23293cc84261427e477a7b3faf8a257a20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/Networking/Operations/PostExternalPurchaseTokenOperation.swift:90-96 | Sources/Networking/Operations/PostHostedCheckoutOperation.swift:98-104 | Sources/Networking/Operations/PostIsPurchaseAllowedByRestoreBehaviorOperation.swift:97-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/PostExternalPurchaseTokenOperation.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3aceb432a107523bc47e735a49bcd6ea0e8e4428b2ea4ce81de20a9c59e41b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/Purchasing/EntitlementInfo.swift:227-237 | Sources/Purchasing/InstallmentsInfo.swift:77-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/EntitlementInfo.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e181386589c3edaacfc2027b25f3366b0fa0553d2e608238b6f5e3851779a6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Purchasing/ProductsManager.swift:161-165 | Sources/Purchasing/StoreKit1/ProductsFetcherSK1.swift:73-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/ProductsManager.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0672f571b2e748c6764a613cedba0f25ba87e855e894d098c97dd41084aa6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Purchasing/StoreKit1/PaymentQueueWrapper.swift:152-158 | Sources/Purchasing/StoreKit1/StoreKit1Wrapper.swift:223-227 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/Purchasing/StoreKit1/PaymentQueueWrapper.swift:146\u0060 calls \u0060paymentQueue\u0060 and \u0060Sources/Purchasing/StoreKit1/StoreKit1Wrapper.swift:218\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit1/PaymentQueueWrapper.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eac44055589a49122738621a472ae49e994c07cc9d7d564d4f4a4fd14be63fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift:87-93 | RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift:129-135 \u2014 before extracting anything, compare \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Video/VideoComponentViewModel.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6500821e0b61061f97e98f2289939309a1b446a76fc4f8038f192d8361865f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:1024-1028 | RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift:1030-1034 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c0517b16442c926b3356d715b5f15821dd62fc47882ecd7fe7e812c031cf05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): RevenueCatUI/Views/TierSelectorView.swift:255-260 | RevenueCatUI/Views/TierSelectorView.swift:298-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RevenueCatUI/Views/TierSelectorView.swift:255\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/TierSelectorView.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d2a7e99f3b7738d3932dd4c3d20c35d1b29d95692fb90377f0df335b00b301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/Misc/Deprecations.swift:42-46 | Sources/Misc/Deprecations.swift:52-56 | Sources/Misc/Deprecations.swift:275-279 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Deprecations.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9971cf7b0738e349d01ca97cbb035a3e440d8ddb960c4c555a96d5acae1193ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 23): Sources/Misc/Deprecations.swift:64-68 | Sources/Misc/Deprecations.swift:73-77 | Sources/Misc/Deprecations.swift:82-86 | Sources/Misc/Deprecations.swift:91-95 | Sources/Misc/Deprecations.swift:100-104 | Sources/Misc/Deprecations.swift:109-113 | Sources/Misc/Deprecations.swift:118-122 | Sources/Misc/Deprecations.swift:127-131 | Sources/Misc/Deprecations.swift:136-140 | Sources/Misc/Deprecations.swift:145-149 | Sources/Misc/Deprecations.swift:154-158 | Sources/Misc/Deprecations.swift:163-167 | Sources/Misc/Deprecations.swift:172-176 | Sources/Misc/Deprecations.swift:181-185 | Sources/Misc/Deprecations.swift:190-194 | Sources/Misc/Deprecations.swift:199-203 | Sources/Misc/Deprecations.swift:208-212 | Sources/Misc/Deprecations.swift:217-221 | Sources/Misc/Deprecations.swift:226-230 | Sources/Misc/Deprecations.swift:235-239 | Sources/Misc/Deprecations.swift:244-248 | Sources/Misc/Deprecations.swift:253-257 | Sources/Misc/Deprecations.swift:262-266 \u2014 all 23 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Deprecations.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"034ab2169be9a85d212e1e12b1f4d3cc7e90e52d799c314f4ec06e9648147d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/Purchasing/ProductsManager.swift:135-139 | Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:1474-1478 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Purchasing/ProductsManager.swift:135\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/ProductsManager.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e352a6e61860957ed7c743339ba0164dd650edfa46d24b4cffd086f3e8f942fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift:14-37 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/InterstitialAdManager.swift:14-37 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:24-49 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:24-49 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:24-50 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:24-50 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1239565be842782a5239d57621672af11899e4e2137037e2c9290f97e8bfe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:98-109 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:111-122 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:59-70 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:72-83 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:196-215 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5db6e90bf2efa7599e00fe8baf8f77aa17059b93ec2aeb11891d0448de4ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/NativeDetailView.swift:7-33 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/NativeVideoDetailView.swift:7-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/NativeDetailView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a6a5bf508062852f6ee8faf2a0f7aefa24299deb3dc345b358714228c61eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/Components/NativeAdViewRepresentable.swift:37-60 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:303-327 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/Components/NativeAdViewRepresentable.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a760b2933f6fc81184a572296a00c1ab52ba8bc00dd598e32784a98b2430bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/AppOpenDetailView.swift:7-30 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/InterstitialDetailView.swift:7-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/AppOpenDetailView.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f15bbf49a5216aa0d8cdea8b7dacb2866926c8489c125f47011c7f8f13f0f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Examples/MagicWeather/MagicWeather/Sources/Helpers/SampleData.swift:44-67 | Examples/MagicWeatherSwiftUI/MagicWeatherSwiftUI/Sources/Helpers/SampleData.swift:51-74 \u2014 before extracting anything, compare \u0060Examples/MagicWeather/MagicWeather/Sources/Helpers/SampleData.swift\u0060 and \u0060Examples/MagicWeatherSwiftUI/MagicWeatherSwiftUI/Sources/Helpers/SampleData.swift\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/MagicWeather/MagicWeather/Sources/Helpers/SampleData.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5572f2e07c999baca5960121a40c51be50efcd0d09d99fb4ea2b78982990dc4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Examples/testCustomEntitlementsComputation/testCustomEntitlementsComputation/Sources/ContentView.swift:169-190 | Examples/testCustomEntitlementsComputation/testCustomEntitlementsComputation/Sources/ContentView.swift:211-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/testCustomEntitlementsComputation/testCustomEntitlementsComputation/Sources/ContentView.swift:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/testCustomEntitlementsComputation/testCustomEntitlementsComputation/Sources/ContentView.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c636c696daef9f7faccbc1e3395f941a304c748f34379d1f54ce1961a258085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:55-75 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:55-75 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebfab01a34257c6cbb318fce6e6e720615c816aad539b23c7d8118acb7a7992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedDetailView.swift:10-30 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedInterstitialDetailView.swift:10-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedDetailView.swift:10\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedDetailView.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f53d30588393b05b4949d6aecc0180122d410a64d16aa1219b7f9ec82deb793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201318 lines \u00D7 5): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:100-109 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:113-122 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:61-70 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:74-83 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:198-215 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift\u0060 and \u0060Examples/VanillaAdTrackingSample/Sources/HomeView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"298a5dc069c30f0ae85a3a99093f4baabcd8b279bf5659c4b6e46c0bb890585d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:54-71 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:54-71 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:54\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2733ad114b96776f093c9f7f0eec68e073fca351d51f5f7d9caccb0a1eaccd0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/Components/NativeAdViewRepresentable.swift:8-22 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:271-287 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/Components/NativeAdViewRepresentable.swift:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/Components/NativeAdViewRepresentable.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79a64fa4aa1bd4a4a2595460fe347008eee021711a422b7720f19da70c871c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift:19-33 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/InterstitialAdManager.swift:19-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift:19\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"af10486703f28735264b28931b76b11070ce11062bf6a3fbd277093d2f4633b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:24-38 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:24-38 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"488b314601d89fb0cbe61bbdb55af8465cf847fc1bcc7e95974ae33aec4e9252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:24-38 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:24-38 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb20e36121d5be92a4562e4c1edee597eac4142b934687eadd3829e1c91f0c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift:14-27 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeVideoAdManager.swift:14-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift:14\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df37017f61d89ed5682100925a6b04096a14f635fcd68399fafa21a30bb79e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:33-46 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:33-46 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"614646b1d85f2ed6c22b035caa245b5da56ddcfbad990e3ffc2feab0f59bb0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:40-53 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:31-44 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift\u0060 and \u0060Examples/VanillaAdTrackingSample/Sources/HomeView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adbeafecacbc210595b734b4725f503290a82985e2433a589f6a4f5e880eb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:31-43 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:31-43 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:31-43 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:31-43 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:31\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:45\u0060 calls \u0060enableRewardVerification\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:45\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b735a0997cdfd72158e524ac311ba1e43b69b89c982368691ea4f1e5f175acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:51-61 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:52-64 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"408ef9253ad2b6927cb0eaaf2a6c6bfcc411ff6de7f8c3215b4781efc852da23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:51-61 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:52-64 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd42d661608249247e0501a041a9c6cd38491e21504f811671247884bb0ee63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Examples/SampleCat/SampleCat/Screens/Checkpoints/CheckpointsTabView.swift:69-81 | Examples/SampleCat/SampleCat/Screens/Paywalls/PaywallsTabView.swift:28-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/SampleCat/SampleCat/Screens/Checkpoints/CheckpointsTabView.swift:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/SampleCat/SampleCat/Screens/Checkpoints/CheckpointsTabView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"18237cd582ef904e652f96a98363741719cd70eee729649a1236253f10b869d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Examples/SampleCat/SampleCat/Screens/Checkpoints/EntitlementGateView.swift:55-66 | Examples/SampleCat/SampleCat/Screens/Checkpoints/HardPaywallView.swift:44-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Examples/SampleCat/SampleCat/Screens/Checkpoints/EntitlementGateView.swift:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/SampleCat/SampleCat/Screens/Checkpoints/EntitlementGateView.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"69de6966c08d07b3f742d162eb4c23031eac274656dd20f69efbf23c6a771e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Examples/SampleCat/SampleCat/UserViewModel.swift:38-50 | Examples/SampleCat/SampleCat/UserViewModel.swift:53-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/SampleCat/SampleCat/UserViewModel.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3856404616c491f41dd891a919169b192330614e9c8c32ed933d3af22f8508c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Purchasing/StoreKitAbstractions/Test Data/TestStoreProduct.swift:89-98 | Sources/Purchasing/StoreKitAbstractions/Test Data/TestStoreProduct.swift:138-147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/Test Data/TestStoreProduct.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c37acc3eefe5b18fafd62c4054025c3a08ce52160335f027111351d2947c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift:18-26 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/InterstitialAdManager.swift:18-26 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:30-38 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:30-38 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:30-38 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:30-38 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift:18\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/AppOpenAdManager.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0d300287e5562195acc31176387dbbf54bc7fe953285da392d4808ff31b2ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Examples/VanillaAdTrackingSample/Sources/AdMobManager.swift:569-573 | Examples/VanillaAdTrackingSample/Sources/AdMobManager.swift:586-590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/VanillaAdTrackingSample/Sources/AdMobManager.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"912ab336473547103bcd81fd861c3c05f76aafec2fae57f4e60e1dadf2b316db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/App.swift:8-20 | Examples/VanillaAdTrackingSample/Sources/App.swift:8-20 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/App.swift\u0060 and \u0060Examples/VanillaAdTrackingSample/Sources/App.swift\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/App.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c292ed585c10692077f7e860ca99fd04ca68b04736a414c9ae44fe94a97a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift:76-86 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift:86-96 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedAdManager.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedAdManager.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f1e1fb2ef4ca58947cf135cfdf8aba0412ef581c16c51fb6a536c19a65e8c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift:76-86 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift:86-96 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift\u0060 and \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/VerifiedRewardedInterstitialAdManager.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/RewardedInterstitialAdManager.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f3ae7c39afb8c9bb23424d9f1b938ee6ed967be67d7adb4501519f9e0c38b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:16-28 | Examples/VanillaAdTrackingSample/Sources/HomeView.swift:7-19 \u2014 before extracting anything, compare \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift\u0060 and \u0060Examples/VanillaAdTrackingSample/Sources/HomeView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift:16\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/HomeView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e5fc54d3dac4ebff107f1c5570688259f0ab843ce5c772bc3721596b8184d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift:35-40 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeVideoAdManager.swift:35-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa219a075a14e9914d3f1130b5349df2457eec77cf0148f6828271eaab200209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift:42-46 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeVideoAdManager.swift:42-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/AdManagers/NativeAdManager.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f0d974e61968eb4d4ff8c3f2c3817037a2f88fb07c88da01f46b09659dcd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedDetailView.swift:56-63 | AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedInterstitialDetailView.swift:56-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/DetailViews/RewardedDetailView.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9561c6f925afd20406f8dfd9b28ad442defe72943d96b6ed0aa86869ae1defa1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: RevenueCat (SwiftPM): RevenueCat (SwiftPM): abstractness 0.19, instability 0.00, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"488995ee472d296ef05630e57acf703fe93d544b9fd60edabd3f06f688059559"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: View (LCOM4 100): View\u0027s methods fall into 100 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 100 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BExitOfferPresentation.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6027c285d770ae9508a9028678db3f10bf1a6016d60275853f6137324cf8ef29"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Purchases (LCOM4 35): Purchases\u0027s methods fall into 35 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 35 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6118e0f54d68b7b524625b63d6fdfb7288c6af5724c693a7c144c34cf02b9dec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomerCenterPurchases (LCOM4 15): CustomerCenterPurchases\u0027s methods fall into 15 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 15 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/CustomerCenterPurchases.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92959c146b2c5ff6417e150ef8d1b2dc4af390162253d81a39bfbfcd72863e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LoadingPaywallPurchases (LCOM4 14): LoadingPaywallPurchases\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/LoadingPaywallView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"045f178d424445932fa119fbca7935d0b980026382421d8348936ed9a961fdf7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockCustomerCenterPurchases (LCOM4 14): MockCustomerCenterPurchases\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Mocks/MockCustomerCenterPurchases.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72904af8888e30cc41bd88915359733da34a7e214503fb6676cc4decb6bd819"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockPurchases (LCOM4 13): MockPurchases\u0027s methods fall into 13 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 13 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/MockPurchases.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1618712720cc8b90fd6f9c26e345dd5c62ae93ef0f56beee79082db4cdadc695"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NotConfiguredPurchases (LCOM4 9): NotConfiguredPurchases\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/PurchaseHandler.swift"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eec29f1c2b5f7c7c0c5af2076a0a8ba8c6ac159b4f7e4568e5b4a315821fe6c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Builder (LCOM4 8): Builder\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchaseParams.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"54487e7bab34b57273c2444252d78060901146a85fc4b60a1f9a4020029e392e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Dictionary (LCOM4 8): Dictionary\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/CustomPaywallVariables.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d327255e70803fe83af9e1b3f75fc4c14db8724ed90e8906b79056ba5d149"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NoOpRemoteConfigManager (LCOM4 6): NoOpRemoteConfigManager\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RemoteConfigManager.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8709f4539a1cdc9ef277a43967136ffcf712449a4665f0945ad331a2e571bdef"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PurchasesOrchestrator (LCOM4 6): PurchasesOrchestrator\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc7eba6b374519605d5a6802ef62a18003a44ea38220535ca2cccd078b5eec2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 6): String\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Contributing/SwiftStyleGuide.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f7421a04d4e0adf7728a5e143b4959a81485485ac797d523fa980fcc7a6d5f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomerInfo (LCOM4 5): CustomerInfo\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Identity/CustomerInfo.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f648f4cf16234a2bb151b5ec045bfa4cdc4f78f3a93ab9e59394f7da6a7c3c0a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserViewModel (LCOM4 5): UserViewModel\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/SampleCat/SampleCat/UserViewModel.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4239941e5534dc37869ef491eb7c5791141700f9a42fd2e7278dacde925a99"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OperationDispatcher (LCOM4 4): OperationDispatcher\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Concurrency/OperationDispatcher.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fc91d508d035a446176d094105cf9365c481e1b47a9820f8d7de4eec9312d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StoreProduct (LCOM4 4): StoreProduct\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/StoreProduct.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcae0c33626d56a6efa19d7e83a5d08e5391283a5d43eb6f68748992d7fd3342"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coordinator (LCOM4 4): Coordinator\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/WebView/WebViewComponentView.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44d80a8be5539bad178e9b3fb67c2b994640614ff9fcd72a6e6c9c662b7c50a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeWorkflowRemainsInteractiveAfterIPadRotation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8f89cefa302996c6081d23cbf0f11421543129a55b92fdc2a8183a47a33de0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testParseWithNoReceiptThrowsError: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ReceiptParserTests/ReceiptParserFetchingTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"38796a1e02d923ae7dbffff54c10d384cec208cb036705adb8082adba6588af0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testParseWithNilURLThrowsError: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ReceiptParserTests/ReceiptParserFetchingTests.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d6a040354aa893fb9bf2faada3e7028cf87ed05a7d6532f569d95608b25404"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCanConfigureTheSDK: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/InstallationTests/CommonFiles/InstallationTests.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f068e9f3730534c619fb52e1abec487a8421b1715894d9431824ce3b89228420"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEachCarouselRestoresItsPageAfterTabChanges: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/CarouselTabsUITests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26e519a6f6760563049177c22645ac01066dfeb891b6eb176114e82c4931914"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWebCheckoutDismissesWhenConfigured: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/CustomerCenterPreviewUITests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa93a1746d05c7502f46a772e99e67df905b7b28db416c5e59dde6d8b2c32f3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWebCheckoutRemainsOpenWhenConfigured: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/CustomerCenterPreviewUITests.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"256ef0134208b3dd3b84bf5a77957a7257334ef41149c702b6ab11bacee665ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWebLinkDismissesAndIsIntercepted: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/CustomerCenterPreviewUITests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abc6bb75a7bc8c42050cb5ca33892e8cb8e1ce07e195f3071e1c5b4d2566724"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeAndEmbeddedCloseHaveMatchingAnalytics: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeAnalyticsUITests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a12531fe0ebb3488b47ae758a5a5f602062af210d5e7a4101e6b72e5426c42"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRootBackDisplayedAsNativeCloseMatchesEmbeddedBackAnalytics: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeAnalyticsUITests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbce9705fe238f68905e22e03e9f4785fe676f99e007c2822d217829eb483c0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeAndEmbeddedBackHaveMatchingAnalyticsAfterNavigation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeAnalyticsUITests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"18217af9a1ae0bd995da46d46b39873ba8456a59153aabc0f8d927c364c20021"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeWorkflowControlsPreventCallerPopAtRootAndLaterPages: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75173b14201b7cc65213e67aa8143535ecf2f87d9b7f4a7304f84de3b017ed32"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeBackNavigatesWithinWorkflowWithoutPoppingCallerNavigation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"072759b9b34971de53b6884bfdfb96e6a7f34836f5bd7d6b5c237c0be3d1f5e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSinglePageNativeBackDismissesWithoutCallerBack: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0623c8fbd1ca56b74411db3da1ce2fd6bbf29a15dcf1f7bb7cbf31a23496790b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeBackAndCloseInSheetPresentation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0e937ffd30078630bc9e800f6cdbb96dfc6f27833de31091ff16a1df7cb0af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeBackAndCloseInFullScreenPresentation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e3582811cefebc37dc9ff840b7e390660c9c803e01a207c7094a5a3e8e4e3d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmbeddedCarouselCloseDismissesFromEachPage: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde87f81dfff077a09904d17273e2172c125b1efdebe89adac09916c6bb08354"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeCarouselCloseDismissesFromEachPage: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"50796ddcb77384d53e7fb9c44ad71c0f14afbff82d09160a6296140a6d94143e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInlineSheetKeepsItsDesignedCloseAndRestoresOuterNativeClose: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cb85e731cee464b1dc8ef43bc499878ac4f74ade6cb658594c11404336457a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBadgeBackInInlineSheetDismissesOnlyTheSheet: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9219d252ac9609ee685ea6dfba62a6993066be7e3fdb82f84bbdbf7fd4a0d4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmbeddedBadgeBackDismissesPaywall: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NativeNavigationUITests.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"98323c0ca3b7944ee9dc878d63cfd5adcafc4ff1083b5ab029113c3feccbef94"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBillingContentAndPurchaseSelectionFollowTheTierAcrossRepeatedSwitches: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/NestedBillingTabsUITests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"efebb76b8ba9e706f5ced114820ef8423af43612ed35a02e0f39fefff7f0f005"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFreeTrialRendersTheWordAndTheAmountSideBySide: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/OfferPriceWithZeroUITests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6606159f3cc8c5c8465ff0c425cd67d89b4444e2a35b698c8009bf2a5127e117"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIconOnlyButtonPaywallDescribesEveryElement: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/PaywallAccessibilityUITests.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd233d0018d6070b5202a1fcb462f047290cc3fe4a96336b10ebb2ae35ae63d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDecorativeMediaIsNotAnnounced: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallFixturesUITests/PaywallAccessibilityUITests.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa5bf1cc8846229edfb9f40a4ff0fff693d05a4670e4ef213daaa68bfae81f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: invalidKeysAreLoggedWhenFiltered: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/UnitTests/LocalRules/CustomVariableKeyValidatorTests.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc168739eabefe5218a629ee7811833d98a857ce7e89e15c950d333e5e6f81fe"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: appUserChangingBackBeforeCollectionFinishesDoesNotFailTheSnapshot: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/UnitTests/LocalRules/LocalRulesEvaluatorTests.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1969567bd4ef132470d183bf35a7f060c7d15d0f844fc7b64213a520b9850970"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fixture: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/UnitTests/RulesEngine/PredicateFixtureTests.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4ec558b68944063f7a14aaf0867e81c695d60df1447c0b7cc6d380e8c2f38e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: malformedJSONReturnsParseFailure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/UnitTests/RulesEngine/RulesEngineEvaluateTests.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d9fdada1349a0a536fc5f8f40556ec18ee4c1a49f3769658ff2bedc840d05f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: unsupportedOperatorReturnsFailure: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/UnitTests/RulesEngine/RulesEngineEvaluateTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56effe25c35690bebda465483ffece1f590e3fe2c34719a36ec70d5c876750"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testExample: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/APITesters/AllAPITests/AllAPITestsTests/AllAPITestsTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abfa76b1196b967d5caf7d3e46fca577cfec7d1e4356eeb571ba1fa054702df"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHostRemainsResponsiveWhenFocusedPaywallBecomesDisabled: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TestingApps/PaywallsTester/PaywallsTesterMacOSUITests/PurchaseFocusRegressionUITests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c33e5a831252131489396f7d331f8ec1b5356e336430a384dd3f043c2e95b6"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: APITesters: No conventional assertion call was detected in 1 of 1 tests in \u0060APITesters\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/APITesters/AllAPITests/AllAPITestsTests/AllAPITestsTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"322e6e18afcfb8a2afa618e0dcbd4c9d01e863758f303cbaf82d3fb27aa80265"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency not covered by the committed resolution: swift-docc-plugin: \u0060swift-docc-plugin\u0060 is declared in Package.swift but has no entry in the committed \u0060Package.resolved\u0060 beside it, so its version is resolved rather than pinned. Resolve the package and commit the updated \u0060Package.resolved\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3de70c872ab6f6caae46fade238e8d0805b4bfe3af7731f2bd8792c16ff50934"}},{"ruleId":"D12","level":"warning","message":{"text":"No Package.resolved committed (Tuist/Package.swift): Tuist/Package.swift declares 5 dependencies and no \u0060.library\u0060 product, so it is an APPLICATION \u2014 but no \u0060Package.resolved\u0060 is committed beside it. Nothing records the versions a working build resolved to, so \u0060swift build\u0060 re-resolves against whatever each dependency\u0027s git host serves today and two builds of this commit are not guaranteed to be the same build. Build once and commit the resulting \u0060Package.resolved\u0060. (A published LIBRARY correctly omits its resolution \u2014 SwiftPM ignores a library\u0027s \u0060Package.resolved\u0060 when the package is consumed \u2014 which is why this is asked only of a package that ships no \u0060.library\u0060 product.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b771a114bebffc650ee92da2f30feb00bb249c5b424ad5b5cae9a58c34ed7a03"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: purchases-ios: Dependency \u0060purchases-ios\u0060 is declared in Tuist/Package.swift against branch \u0060main\u0060 \u2014 the declaration pins no immutable point, so \u0060swift package update\u0060 moves this dependency to whatever that branch holds at the time, which is code nobody reviewed. Pin it to a version requirement (\u0060from:\u0060, \u0060.upToNextMajor(from:)\u0060, \u0060exact:\u0060) or to a \u0060revision:\u0060 commit SHA."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e0e0480302dd7c4a06cc4366914f29ba038f76d705602c0000a61061ed9c8bf"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: colorize: \u0060colorize\u0060 1.1.0 is published on rubygems.org under GPL-2.0, which this policy bans, and it is in the RUNTIME closure of this repository\u0027s Bundler manifests \u2014 so it is installed by everything that installs this repository, not just by its test harness. Replace it, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"748cea6e7e079e4854e1e1c1bf62ff4dcaf8967fa00a615f59e6593fecd659c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Data/Strings.swift: RevenueCatUI/Data/Strings.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 111 in Strings.description at line 157. 1 of those changes was a fix/bug commit, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Data/Strings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/Strings.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46097877c6fbff202972510151ec95bb8a9b77c2601d35916c89a0d143f4d7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Purchasing/Purchases/Purchases.swift: Sources/Purchasing/Purchases/Purchases.swift changed 58 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Purchases.init at line 354. 4 of those changes were fix/bug commits, and the other 54 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Purchasing/Purchases/Purchases.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a270a10d387353393cea2f2c7ae15269dbcef465953ccce49b3c4b40af3ad8b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift: RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in VariablesV2.process at line 405. 3 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Variables/VariableHandlerV2.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c12f595dab70742a1fa5e1fed0e89ab24cd101c8dc64ce26a5d9ffdbc507df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/CustomerCenter/CustomerCenterConfigData.swift: Sources/CustomerCenter/CustomerCenterConfigData.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 133 in CommonLocalizedString.defaultValue at line 194. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/CustomerCenter/CustomerCenterConfigData.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CustomerCenter/CustomerCenterConfigData.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f06d5140b9f75dc956e652c483f231b14f0c78fef4741dd219b5c739b9bd47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Checkpoints/CheckpointWorkflowResolver.swift: Sources/Checkpoints/CheckpointWorkflowResolver.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DefaultCheckpointWorkflowResolver.attemptResolveConfiguredWorkflow at line 178. 4 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Checkpoints/CheckpointWorkflowResolver.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Checkpoints/CheckpointWorkflowResolver.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3bf288157cb1481a62f2a052ef2698312cabda670a2de41fa50579bae283fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/RemoteConfigStrings.swift: Sources/Logging/Strings/RemoteConfigStrings.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in RemoteConfigStrings.description at line 49. 2 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/RemoteConfigStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/RemoteConfigStrings.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bb135f7aa934957806476c8b7ed3a7c165bb659fc8be3250be584e03cf3a2d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift: RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in LoadedTabsComponentView.body at line 328. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentView.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa55686ebfcd0e6e27b6a42e01bf996d2663ddb9041c1446216c69f180472e83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/PurchaseStrings.swift: Sources/Logging/Strings/PurchaseStrings.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in PurchaseStrings.description at line 112. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/PurchaseStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/PurchaseStrings.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"82234d4cc72c39ce16bb41537665469f81912b0f97b3fa40a4ea10771c1399b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Purchasing/Purchases/PurchasesOrchestrator.swift: Sources/Purchasing/Purchases/PurchasesOrchestrator.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PurchasesOrchestrator.performSK2Purchase at line 834. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Purchasing/Purchases/PurchasesOrchestrator.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f965504b0500ddd5713aafec16e37f9f66d5e6e221b3d80a34f9eaee02a5ab9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift: RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in StackComponentView.make at line 193. 5 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e473ae7569c682ca5807f418829a9c468fca28e942c7fa289b6532354a71a1f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift: RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ViewModelFactory.toViewModel at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"848d143a884912a3a9f50a16786beaa2ef4eb3ea0c58c9eb2ff60e03227e5f94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Networking/HTTPClient/HTTPClient.swift: Sources/Networking/HTTPClient/HTTPClient.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HTTPClient.handle at line 606. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Networking/HTTPClient/HTTPClient.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPClient.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"089b214a10289a92731f73585efd9861bfc7d5333f5bd9b8501fd3f055fff1f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/HostedCheckoutStrings.swift: Sources/Logging/Strings/HostedCheckoutStrings.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in HostedCheckoutStrings.description at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/HostedCheckoutStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/HostedCheckoutStrings.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab105deeb598bdd9e47b55fbfc38dd522f6d47b1f9f823a8580f111600a416ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/NetworkStrings.swift: Sources/Logging/Strings/NetworkStrings.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in NetworkStrings.description at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/NetworkStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/NetworkStrings.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"320450c7eb750fc4e521a591435164cdecfa44962f723170a7c8787693039a34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift: RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ButtonComponentViewModel.init at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"226fb1ee339548cdfc871897cbe5e6f84f710f75c099a3a69f5c571bb64a7b66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/PaywallsStrings.swift: Sources/Logging/Strings/PaywallsStrings.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in PaywallsStrings.description at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/PaywallsStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/PaywallsStrings.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bdc8e4cecaa1ceab426652922baced32e7541da282aae9be73a6f11c0834c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Error Handling/BackendErrorCode.swift: Sources/Error Handling/BackendErrorCode.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in BackendErrorCode.toPurchasesErrorCode at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Error Handling/BackendErrorCode.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Error Handling/BackendErrorCode.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0420d625b76702fa86f85178e30cf0fb2a58b4d5ae1a944a55ba13ef81c19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/Templates/V2/Components/ComponentsView.swift: RevenueCatUI/Templates/V2/Components/ComponentsView.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ComponentsView.view at line 102. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/ComponentsView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/ComponentsView.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9c14d0d3c33d651ce4682959b5f162df455f49fd98bafb8f00a42b2a084890"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: RevenueCatUI/CustomerCenter/Actions/CustomerCenterConfigData.HelpPath\u002BPurchaseInformation.swift: RevenueCatUI/CustomerCenter/Actions/CustomerCenterConfigData.HelpPath\u002BPurchaseInformation.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HelpPath.hiddenReason at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/CustomerCenter/Actions/CustomerCenterConfigData.HelpPath\u002BPurchaseInformation.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Actions/CustomerCenterConfigData.HelpPath\u002BPurchaseInformation.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"37557aba2be8a446fce3cfb9c46191fd1194ddd619734149932645d976f90c82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/AdsStrings.swift: Sources/Logging/Strings/AdsStrings.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AdsStrings.description at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/AdsStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/AdsStrings.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1473bddfaab4c9c3eef52d68b3589c3c29ec6c710a7015457d3ba7ceb357d9e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/Logging/Strings/CustomerInfoStrings.swift: Sources/Logging/Strings/CustomerInfoStrings.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CustomerInfoStrings.description at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- Sources/Logging/Strings/CustomerInfoStrings.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/CustomerInfoStrings.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a5cfb6842cee9e23290172ee2fa1bc4ba182ae6e33c932f61f94c11e6fe342"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: RevenueCatUI/Templates/V2/PaywallsV2View.swift: RevenueCatUI/Templates/V2/PaywallsV2View.swift changed 19 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is PaywallsV2View.addPaywallModifiers at line 411), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(Paywalls) Package selection resolution on older OSes (#8226)\u201D; \u201CFix(Paywalls) Package Selection/Resolution (#8145)\u201D; \u201CFix video playback on inactive workflow pages (#8131)\u201D; \u201CFix(Paywalls) Correct Hero Safe Area detection (#8126)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/PaywallsV2View.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/PaywallsV2View.swift"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9ed4fa86f2d95269474bab8d35ea30825ce0b51eaee995a96cc3210b894ac3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift: RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is VideoComponentView.body at line 80), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix video controls intercepting taps outside the video (#8182)\u201D; \u201CFix(Paywalls) Correct Hero Safe Area detection (#8126)\u201D; \u201Cfix(paywalls): videos with fit width not rendering (#7958)\u201D; \u201Cfix(paywalls): use video size for thumbnail overlay (#7918)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c602bd5b3c7bd73cef620d66817f9de23fdb8f49095dbb53c35b179beff3e42b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift: RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is TabViewModel.validatedSelection at line 182), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix(Paywalls) Package Selection/Resolution (#8145)\u201D; \u201CFix(Paywalls) correctly identify tab content (#8198)\u201D; \u201Cfix: avoid redacting packages without applicable offers (#8074)\u201D; \u201CFix(Paywalls) Adjust loading state during eligibility check (#8055)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Tabs/TabsComponentViewModel.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5787a369e5e8ee98423234c828f057f82fd1172522f0fc24285544d6ab9dfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: RevenueCatUI/Templates/V2/ViewModelHelpers/PackageValidator.swift: RevenueCatUI/Templates/V2/ViewModelHelpers/PackageValidator.swift changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is PackageValidator.reconciledSelection at line 156), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix(Paywalls) Package Selection/Resolution (#8145)\u201D; \u201Cfix: avoid redacting packages without applicable offers (#8074)\u201D; \u201CFix(Paywalls) Adjust loading state during eligibility check (#8055)\u201D; \u201Cfix(paywalls): don\u0027t leave a hidden package selected on paywalls with tabs (#7404)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/ViewModelHelpers/PackageValidator.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/PackageValidator.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5322f5b59dd011f57df85bd7a0d43900d051bf15f0785daf00bec1ac1cf8fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift: RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is CarouselView.startAutoPlayIfNeeded at line 451), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix(Paywalls) Adjust loading state during eligibility check (#8055)\u201D; \u201Cfix(paywalls): Match Android swipe behaviour for Paywalls V2 carousel (#7857)\u201D; \u201CFix(Paywalls) Support Web Views in looping carousels (#7688)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28e13a9b0267273f6c8247197228f06f4b30b8c273741c2e4c5391b9111d1f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: RevenueCatUI/Templates/V2/EnvironmentObjects/PackageContext.swift: RevenueCatUI/Templates/V2/EnvironmentObjects/PackageContext.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is PackageContext.activateSheet at line 123), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix(Paywalls) Package Selection/Resolution (#8145)\u201D; \u201CFix relative discounts calculated from rounded monthly prices (#8062)\u201D; \u201Cfix(paywalls): don\u0027t leave a hidden package selected on paywalls with tabs (#7404)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-08..2026-11-06, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-08 15:42:29 \u002B01:00\u0027 --until=\u00272026-11-06 15:42:29 \u002B01:00\u0027 --full-history --no-merges -- RevenueCatUI/Templates/V2/EnvironmentObjects/PackageContext.swift\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/EnvironmentObjects/PackageContext.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23bc8f2c968d960e032e0049bfb4c130fba5cb3512496d0d4430239602eb206"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 40 significant file(s) lose their only recent owner: Sources/Purchasing/Purchases/TransactionPoster.swift, RevenueCatUI/Purchasing/HostedCheckout.swift, RevenueCatUI/Templates/V2/Components/WebView/WebViewScrollGestureArbitration.swift, Sources/RulesEngine/Value.swift, Sources/RulesEngine/Operators/AccessorOperators.swift, RevenueCatUI/WebCheckout/WebCheckoutViewModel.swift, Sources/Purchasing/HostedCheckout/HostedCheckoutPoller.swift, Sources/Purchasing/ExternalPurchase/ExternalPurchaseManager.swift (\u002B32 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cca8d3c757cdcdbe59037fe465e70de0a096cafbf4e034724fd6f4ef84a39197"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 18 significant file(s) lose their only recent owner: Sources/Networking/RCContainer\u002BParser.swift, Sources/Networking/RCContainer\u002BElement.swift, Sources/Networking/RemoteConfigBlobStore.swift, Sources/LocalRules/DimensionResolver.swift, Sources/Networking/RemoteConfigAPI.swift, RevenueCatUI/Checkpoints/PaywallPresenter.swift, Sources/Networking/SDKSettingsConfigProvider.swift, Sources/Checkpoints/Checkpoints.swift (\u002B10 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e16f1955afe0b04ef5333a3ee4739240f56be8a824b1c690505d747b0f52c18"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 11 significant file(s) lose their only recent owner: RevenueCatUI/Helpers/ColorComputationHelpers.swift, RevenueCatUI/Templates/V2/Previews/PaywallPreviewRenderer.swift, RevenueCatUI/Templates/V2/Components/WebView/PaywallWebViewStaticContext.swift, RevenueCatUI/Helpers/DualColorImageGenerator.swift, RevenueCatUI/Helpers/PaywallWarning.swift, RevenueCatUI/Cache/WebBundleCacheCoordinator.swift, RevenueCatUI/Cache/WebViewWebsiteDataStoreSweeper.swift, RevenueCatUI/Templates/V2/Components/Text/MarkdownUnderlineFormatter.swift (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b8d6dd6fd86cc1d6374236bdae53676c80c6d9f85bc2189728b9a30927e64ad3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 11 significant file(s) lose their only recent owner: RevenueCatUI/Templates/V2/ViewModelHelpers/WorkflowSkeleton.swift, RevenueCatUI/Templates/V2/ViewModelHelpers/WorkflowNavigator.swift, RevenueCatUI/View\u002BExitOfferPresentation.swift, Sources/Misc/DateAndTime/ISODurationFormatter.swift, Projects/AutomatedSDKTestsApp/AutomatedSDKTestsApp/Sources/AutomatedSDKTestsApp/ContentView.swift, Sources/Purchasing/BranchResolver.swift, Projects/AutomatedSDKTestsApp/AutomatedSDKTestsApp/Sources/AutomatedSDKTestsApp/e2e-test-flows/open-workflow-uikit.swift, RevenueCatUI/CustomerCenter/Views/CompatibilityLabeledContent.swift (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"60283b2f762494bf8014e16db9b468ea08fd602df307eac1c301ee7f138820d6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 7 significant file(s) lose their only recent owner: Sources/Authentication/Authentication.swift, RevenueCatUI/Purchases\u002BPreviewPaywall.swift, Sources/Networking/Operations/TokenOperations.swift, Sources/Security/Keychain.swift, Sources/Networking/HTTPClient/TokenManager.swift, Sources/Identity/Identity.swift, Sources/Networking/TokenAPI.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5de45a0021469b88f4b192438803525946ecb78713a723756c414fd454fc337b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 5 significant file(s) lose their only recent owner: Sources/Purchasing/StoreKit2/Win-Back Offers/WinBackEligibilityAdapters.swift, Sources/Purchasing/StoreKit2/Win-Back Offers/WinBackOfferEligibilityCalculator.swift, RevenueCatUI/CustomerCenter/Views/Virtual Currencies/VirtualCurrenciesScrollViewWithOSBackgroundSection.swift, Sources/Error Handling/SKError\u002BExtensions.swift, RevenueCatUI/CustomerCenter/Views/Virtual Currencies/VirtualCurrencyBalancesScreen.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8b4ab65db839829a0b4b0716a486af856577d11d33716aaef974d674a29fbe4f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 3 significant file(s) lose their only recent owner: RevenueCatUI/Templates/V2/Previews/TemplateComponentsViewPreviews/RootViewScrollLayoutPreview.swift, Sources/Purchasing/StoreKit2/Observer Mode/StoreKit2ObserverModePurchaseDetector.swift, RevenueCatUI/Helpers/StoreProduct\u002BExtensions.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3790b463cc37d5fc48df5dba056b90b5cf9090e5285b4ba6c4a9bdc6f5c99a64"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 5 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (102 single-owned of 674 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 674 of the 1033 production source files in this repository met that bar). They are anonymized user #8 (2 file(s)), anonymized user #9 (2 file(s)), anonymized user #10 (1 file(s)), anonymized user #11 (1 file(s)), anonymized user #12 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: RevenueCatUI/Templates/V2/EnvironmentObjects/PaywallStateStore.swift, Sources/Paywalls/Components/Common/StateDeclaration.swift, RevenueCatUI/Templates/V2/Components/Video/VideoAudioSessionHandler.swift, Sources/Misc/Concurrency/SynchronizedUserDefaults.swift, Sources/Ads/RewardVerification/Networking/RewardVerificationStatusResponse.swift, RevenueCatUI/PaywallInteractionEvent.swift, Projects/AutomatedSDKTestsApp/AutomatedSDKTestsApp/Sources/AutomatedSDKTestsApp/e2e-test-flows/open-developer-provided-offering.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable snapshots once the remote-config network stack is final. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/UnitTests/Networking/Backend/BackendGetRemoteConfigTests.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ce009df869d604dc64dac7069d352a471e6f2dd7278638c7506d1ac5b6f1ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this interim scope once topic handler dispatch and SDK lifecycle wiring land. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/RemoteConfigManager.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3b96ac815930fda8c5adc44ecb4a7d346f2e10335d79cf9bca90acbf95ee34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: convert to Locale \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/CustomerCenter/CustomerCenterConfigData.swift"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1142cb66373d51bc511e7e21932fb591e18359beb0cd55f65c78ce8e526d4b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // Fixme: use a an actual stack component returned by the backend \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1edef995b6ca54b5483d4b76f4e1e61b7286faead4a94852573d7717aa4a4a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add cachedURL back to .id() once AVPlayer can swap \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Video/VideoComponentView.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"774a8b50438203249b6ca1e17e9b5801c20b528e90aae3e7c957be24a9e60afb"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to avoid having \u0060PaywallsTester\u0060 visible in the scheme list (hidden: true) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Projects/PaywallsTester/Project.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04d518ebd09480341472fdd614e652214852248bd1b34b32237f69afdf7dedb"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 2.0/10. The most over is \u0060(repository root)\u0060 (129675 LoC, 1511 module-visible types across 119 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5ccdbb4f94bf4ccf0ca287f2ad270f88200f7b47357057f8b4aaca0872fd8fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8532c300c2360913502b50f38041a58e584b707d481d051217c78a23b1cdcdf2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb5ca72f38669055bf70cc4e32aa6e3952c2b7d9081d5d67652c78c55160820f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"022925c67d430a7f0899886a19ec0eaf82711d0e01bd442df47bd4dfc4255d64"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"187257ca4de7650154a92f1b4a018a752ba743a10d443f8d94ce4e2a3257a4a1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36c4e5a13e745656244885f688d8c204d36011f8534eb7c304b43af72a740334"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c33ebef3c4be0b39ef1a77ff00901fe06a4712f9ec8f3153d071e8904cf1b959"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f848534f8c1f04d507f3dcaa3186249dee7781237f9127aff13d9ba19570e30"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc6287fb427b66b09c729ea573ffc2f92a125b0b1e502b5eab3717d4dfc45692"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bbc79a7f1c1b3e54353e9b0e87c06c28e80d9907393c993ea04590c2f0f3ad5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1dea762ac2415933bbade7da0e567f3583b1cfe0c9fe909076e46d1b61d2f57"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b460a065b6c2b1b46db87d00dc537597ed61d8426b647ce4d5bd3d9422b993f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5faeb21b0cbedc912eab0adfd68ab9a4db968bb25cca60ab492abca0a6bd89bb"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39aaa9187606396228c0ca94974553d349faf49d80311e97b41f93a92268e8e8"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1079901f354bbddb28a5af5fe3d7aae1a9331e1a2a4435b65e94952edb946c3f"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52f34a44d9634f69084879df99abe3cc892f066e3b296f3eb795b8fa20c25948"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Obsoletions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d8386a45e52bf3260df7cf3314f67b90ad2c14ce5467da3543997f23282cf0"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/DebugUI/DebugContentViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9506ebb0269c14a31137df71645903b29b31e6f52ff7c998468dcb432f3055"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 89 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: Sources/Purchasing/StoreKit2/StoreKit2TransactionFetcher.swift, Sources/Support/PurchasesDiagnostics.swift, Sources/Purchasing/StoreKit1/ProductsFetcherSK1.swift, RevenueCatUI/Templates/Other platforms/WatchTemplateView.swift, Sources/Attribution/AttributionPoster.swift, RevenueCatUI/Views/TierSelectorView.swift, Sources/Misc/DateAndTime/TimingUtil.swift, Sources/LocalReceiptParsing/BasicTypes/InAppPurchase.swift (and 81 more) (91 orphaned of 674 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 674 of the 1033 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit2/StoreKit2TransactionFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0badebbf378e30948e1e670095083d2f2088588dbf257c60792ec6abcc975d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/PurchasesDiagnostics.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2b8e5efe06421c128d103d44df23761cc8c8eb602a58d9a6e104393d26bba4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit1/ProductsFetcherSK1.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a2e8d7f36a56e048a8fad3cf58fc305a5f968a840e95cc3bfd48fda5bc6fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Other platforms/WatchTemplateView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e251eeb3ad7c6303f3f8c99c47afe6757ab4f492ab072d32ee71fa356473a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribution/AttributionPoster.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da7214179377bd9d942bfd836db0dbc4ac26d980c1176250d7ec12b0b54a0f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/TierSelectorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51934f8227295951e9a745b56646054526d62520cffdbf2dfd66f85909598465"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/DateAndTime/TimingUtil.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5376d999cbc210b5c2ae74dd90d16d8e9f85b3d3bc02e6a54f918ef149d1f4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/BasicTypes/InAppPurchase.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c68bd9f084dcbfbd226395562a28734d29709853dc57dd538bc0354bd9d9ff3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPResponse.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b940259e9bb382c35742f96f4b74a93de64271b2739f4bd60ba0d3baba22d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribution/AttributionFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73186fb1f4b5e43deae3a94d9abdc2d00b12ccc297050cf77b8d4e48343a52f0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/IntroEligibilityStateView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8a35e91b1e7d107830ed40c8d67056a7dc60fdd95f9569a6f0c5c24311dbdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/DebugUI/DebugViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa0e3fc4a0962e632e7f4d6f9e6ac9e87c329770d6f130626eb0a1e3091e9af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/ReceiptFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7e0abf902dc2bfcf892ebf035dee8bd8faf91f9a39e08cf1365110c174bfd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/HealthReport\u002BValidate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1882199ec0826ce0dd5f6bbce6f8d6e849d5da36d3cabc0c3bc6e952f0c0f30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/Test Data/TestStoreProduct.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8d2898b5c0e3f30bd25b14a2d392e36da0ccc1ceed57f59e3b497b157cdc4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Builders/ASN1ContainerBuilder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45cd8efb9f6286150fb97aa822c87c5cf594a25f6aec1d3a3e0788dbac238f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/AttributionStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e193a2f959b846db182a38b766fd8474c693d7d8420e5b25d023374d92924ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Builders/AppleReceiptBuilder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6c53800332cc8b50163e9a9ce2a158dacf194751ccb1c6b18fac969321a923"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Codable/DefaultDecodable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5768f7926fd52c896c8fccd82cd8821bc16ccab0afc32b970d58a6934f841e30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FoundationExtensions/Decoder\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"157d71e8de4fb053f0b463cf27593b5f50d5a6914bd28239fe404953bbfefaa5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Helpers/ColorInformation\u002BMultiScheme.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb9de2287555fc24dd7ae54f35a2c7d5007f5995c12f5dab8e57348c8c284c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit1/PaymentQueueWrapper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1312267b2d693b3b522883e4d401af0c010cbea2c0a9e0d9114a6b48327724f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit2/SK2BeginRefundRequestHelper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbc8f9bf86ef448d8d1ad7d37d85bfaa810934b17a069fb3581e2c048d1343c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/BeginRefundRequestHelper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad30e6ea7283709b2a83d28ab45617a6719a665712f068fa1ec57fdf1219123"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/NetworkOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9823569d9b35dde96b0be7d3661bb91a03f396662c019963e1d443a6ed3941d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/ManageSubscriptionsHelper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6929ed7489337c9f01d3a31ba47e23e1bb244f7b420e2a86455bd70a79225a19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/SDKHealthError\u002BCustomNSError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f570c94a0f0773a9bd6b2f03fd595ab18cec90e46f4983c0534b37b8de969b45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Paywalls/PaywallData\u002BLocalization.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae96feebc8ee4d695fed0e229a9cca1e78f6721fdae56cb14464dd935c9b47f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/ErrorResponse.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"287d123953f07f0e93ccf4bfd4850c34d1a5dcc8c0d8de5bb33506c48a73e352"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/Storefront.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6713c66ca9d09f314c5225d12bfb529569da28632b89e8d27848409723d1dd78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/StoreKitWorkarounds.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c72d9999bdbb005494625599509e395c282cedc7f9f5baa27686f95ad12693"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Builders/InAppPurchaseBuilder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c2ee160b5d24670c9e824e0899926f97f3915247cf1c9f63adfbe56bc910e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FoundationExtensions/AsyncExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5064e40623c17bef72796edffce256a2706bdab33952ca92648552e6b2a749a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/PromotionalOffer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0227ac990ef1b35d2c6870e13d435507778b8bd293371396dc4290cdfe4b5d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/BasicTypes/AppleReceipt.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db5dc296fd8ff31fd5272c8ceea2a4e7e0b94bf7440d136319bbfce2ddab5aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/IntroEligibility.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c2d59f98daf2f57fee6d27bf35a50081188ea41653a2a0cc6e39d8a371f98d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/EntitlementInfos.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e79a32085416864cc7042dcd60b6588d502b3ec1cbb993d1a9103e23bf1f77b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb14b1924a98b842c344b3c9a80c9d080269c2db29d54769854297fe1ff75529"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/PurchasesReceiptParser.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f87c587fd9eaa06e53d1442fc8f34d454a356e38e9daed65eb0da21e40cfcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Helpers/ReceiptStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5bc74a37aaf68513acfc31dc03185f979756ffc1fe643133d4de221b921a79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/PaywallFontProvider.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e447220195af648be38f6a129444b639f64950091dca775db327500d9f417d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/OfflineEntitlementsStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d108ce20c55ee034eed7fb9d8121ee6885e749526eb26729593a79dad35920"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/PostOfferForSigningOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e122fb9e429f8b325113d2d40c5f53dd31b995d8bb5e07f0bf5dbffaacc9105d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/IntroEligibilityCalculator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efc4ec464a7408677f72fd54c2a362e31f6e7fdcd78f6de0e0d26a2462def36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OfflineEntitlements/PurchasedProductsFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91ac77864f87e57a175d2ac003e3d175bba1434957511b3f0dea8a7d59cafef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/ProcessedLocalizedConfiguration.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c1afae00bc1ce0c9e54da784df9bb6c9ea5299a0bab66bd90d48dc971a777d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FoundationExtensions/Dictionary\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"163072aad06ca986dd96d4e514dda55b79a548d01fd5f93d0b26a6f5a2840bf9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetIntroEligibilityOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d683f9b4c79908b57a9b0bc62dc6c81244c0cbd095a9a7fb4875353c1f04d40a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/OfflineEntitlements/OfflineEntitlementsManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974492054fa0413cef86a5c7051f9d987812176f50b1f29605e5b7a6e171e32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/FoundationExtensions/DispatchTimeInterval\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b9b1430b344c7803b1223185785790f7c5ea3c78771db1ec39c4deb11165b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Helpers/PreviewHelpers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9750219f40e34f80ceaddced3773aa4985eac4fca7774f965a52fc76a54fa22e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/TemplateViewConfiguration\u002BImages.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33abf3b66278d5e802238b717304a0da27a54c50ba56e19cb2b8cc935fb387ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Responses/HealthReportResponse.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ed42e2762ad2dd54ab76dd9e96b2d99f6c78f4998b8db86440fe12cb2a408"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/GetCustomerInfoOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d122277be5d81fe6814d724ba5886b85e1a76ee5bb47d8a1af31ec21ccaf49f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Helpers/ProcessInfo\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61993ab6470c8858680942cbb7b3c63ecb5408e5b3886ab170419c271fe5e8d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Helpers/ImageLoader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da42ac2feac3d0da7b9060f283fb4317c42256761197630e0500fc1a6f51163b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SubscriberAttributes/SubscriberAttributesManager\u002BAppstack.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca52eb5bad26e7ee7f7bbb42825b811459fc09b95bfc2ec5a5b01bbf6be8d8a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/ProductRequestData\u002BInitialization.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace524ac22a3245d87a1d7b212280199c95078dddbe0d3c9a2afa22092d76021"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/TemplateBackgroundImageView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cb15c6de0fbe96939efbe79dc20a14be0894a19608b7157e3282c15f631bff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Codable/AnyEncodable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca494f561925234b15d827e389a3e359d519ce3d70cbae36525583c5073e4ee8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Codable/AnyDecodable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8283c861719921d5760072899d52ccfa77527747bb972b4641f48bc8f890105"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/SK1StoreTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"407c3f1214f7d46d908067db879c3388a8834ba4f1c67b7dc89b9319faecc359"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/PackageType.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecb00283eca38eda7ece0289d0b27046da1330c53b34f90a75428c81ac445fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit1/StoreKitRequestFetcher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c8c57a27fb0a7b69d8a01e6d8be8618f5fec4fc81549ac9df5af73e215ec7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/IconView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abbfddb7583c95cec22bd48a1f2432bd22e6f82a7ff3fc8a6414a68ccd9ed7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit2/StoreKit2Receipt.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9bb61d739e6f65ab544ebf4ff98989c7fddf41e69b961c09f42b1b1f4faf50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/SK1StoreProduct.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1926c0a2ebb21d44e879b6f1c253492adb46313ed5e548fafa0524b2ceb400c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/MacDevice.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d16ab636d7ae9dfafd003dc6b01ea5cff18fc4df1063d13589a8177b4545492"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/SandboxEnvironmentDetector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833a59bbdcd96a9ab74244b42df869dcfc748bafb38d13f6e2c3f952c5257e04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/DebugErrorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d18a2ce60dd61d1793ab65408e32bcb173d71aab33537e5325888d855cdf57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPStatusCode.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"587525d12e17b79133bf6fdc87b2bcc272f3079791f251e37840641fef31ade8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Caching/CallbackCache.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f5bc944bb052dc772ea1fff94ac182c22286b662d293aca43cdd60d20bd8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Data/TemplateViewConfiguration\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b85e624f4a182ddaadedba0f695a981ee909c2a544e67a3310e21ab1be103a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/HealthOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1495f4f88a573647239b6e28b8ab1de82497427497524ae633cb948dd809f71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Paywalls/PaywallViewMode.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f101ff7500815b0fdc89d4137ea9d998b98bf2291d5912bfa0dba3ccd2b52330"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/SK1StoreProductDiscount.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc620a7603417b47e1d95f70da7760f9cb8b77b085820cc5a4a6ec3c22f133a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/Helpers/ReceiptParserLogger.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b646aab668f974361ad9e2020f28c47537cf2c42bd3f8a0d3944b4e53c461cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/DNSChecker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35339d81563eb3113e158c921c5db8eca633fed0e888b03345188e065dba614"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Attribution/TrackingManagerProxy.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"267dbf4862ac4131d483c97dd3db4b6099a0acfe584bfc841225e40173a1df4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/SK2StoreTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68b21cb8684b75a20b1c9c39e3c0ca5dfad41ab91faea857aa870d37e5329fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/DebugUI/DebugViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ffb947e8e5af637b2bfc26d80533a0d822228cdc8c2bfe7830216ef0f21765"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/ProductType.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5216b67eb3940d7e52f838557f3c7059d2c013a5a08779d7d764c823eb7d6b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/PostSubscriberAttributesOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab48cb854b12e974ee854565883e846afa75734f6fee07819fdda6f9e009ddd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/HealthReportAvailabilityOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec7cbda18d450ca0940dc8bb7d0e1b31c96e101ac7a6e40d73ad3a52e045ea4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Codable/EnsureNonEmptyCollectionDecodable.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d309b54ce0d668056e14c09e44fd1f4ceb8bfa5bcb90b1dba18ce65e305155"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/ReceiptParsingError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3422d66aa555ef1c6f8fd96723481e161341d5ea03b9afb73742fa8a00732d6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPResponseBody.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f45977dc348f4d2c68e4a52a93c030bec93e48f0d1284151a71c4fedde26c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewHelpers/Fill.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"914d890e61eb6d03d9cdebc7d98a78ac77629144fa4e1fb85ed56c39b5fe99f7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/Operations/HealthReportOperation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"012e2f968ce121cb4aff4594c8fddd89fd66fa420eba2fe631170d225427efaf"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MockPurchases.swift \u2194 Purchases.swift: \u0060RevenueCatUI/Purchasing/MockPurchases.swift\u0060 (context RevenueCatUI) and \u0060Sources/Purchasing/Purchases/Purchases.swift\u0060 (context Sources) sit in DIFFERENT parts of the tree yet change together 83% of the time (15 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u006029937373\u0060 Let the backend decide which hosted checkout session the customer con\u2026; \u006073fdc97d\u0060 Resume a customer\u0027s previous hosted checkout session (#7889); \u0060a06f8d82\u0060 Feat(Paywalls): Web Views can observe paywall data (#7542) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/MockPurchases.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14314000ee20f34612988f44cd45240da45985a229f67eab142c61d4a433b59c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: TextComponentView.swift \u2194 PaywallTextComponent.swift: \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift\u0060 (context RevenueCatUI) and \u0060Sources/Paywalls/Components/PaywallTextComponent.swift\u0060 (context Sources) sit in DIFFERENT parts of the tree yet change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060b8286930\u0060 Introduce PaywallFontManagerType to handle custom fonts in the paywal\u2026; \u006041147c0d\u0060 [Paywalls V2] Accept number as font size for text (#4654); \u0060cff5ff6f\u0060 [Paywalls V2] Update text spec (#4469) (at that commit the file was still \u0060RevenueCatUI/Templates/Components/Text/TextComponentView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac1e440ff9a02fb4e2c493c7c6d63d0f18d9b8b4f012b422d3d6de42db3545a"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: PaywallComponentTypeTransformers.swift \u2194 PaywallTextComponent.swift: \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift\u0060 (context RevenueCatUI) and \u0060Sources/Paywalls/Components/PaywallTextComponent.swift\u0060 (context Sources) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060cff5ff6f\u0060 [Paywalls V2] Update text spec (#4469) (at that commit the file was still \u0060RevenueCatUI/Templates/Components/PaywallComponentTypeTransformers.swift\u0060); \u006044dde1ee\u0060 Part 1: Respec color (#4468) (at that commit the file was still \u0060RevenueCatUI/Templates/Components/PaywallComponentTypeTransformers.swift\u0060); \u0060319fde3a\u0060 Fixes for paywalls v2 renderer after testing some real life paywalls \u2026 (at that commit the file was still \u0060RevenueCatUI/Templates/Components/PaywallComponentTypeTransformers.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f477f5510b232f64818f4ec947a7201a0f056b3061a719044714ceb5b4ecb3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: SK2StoreTransaction.swift \u2192 Deprecations.swift, PurchasesOrchestrator.swift, SK1StoreTransaction.swift: \u0060Sources/Purchasing/StoreKitAbstractions/SK2StoreTransaction.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/Misc/Deprecations.swift\u0060, \u0060Sources/Purchasing/Purchases/PurchasesOrchestrator.swift\u0060, \u0060Sources/Purchasing/StoreKitAbstractions/SK1StoreTransaction.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKitAbstractions/SK2StoreTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5ba457b23959e87881323c8e980a425a6aec6baa04f2cb47d867d674c46a31"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ExternalPurchaseStrings.swift \u2194 ExternalPurchaseManager.swift: \u0060Sources/Logging/Strings/ExternalPurchaseStrings.swift\u0060 and \u0060Sources/Purchasing/ExternalPurchase/ExternalPurchaseManager.swift\u0060 change together 100% of the time (10 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00605a43ac52\u0060 Allow opting in to external purchase custom links (experimental) (#7809); \u006082bcc88f\u0060 Use a positive simulator external purchase setting (#7856); \u0060389762ad\u0060 Allow web purchases in the simulator regardless of storefront (experi\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/ExternalPurchaseStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7539ae4e897b6453295371cb66dc4a4b2b037c4ba10016bff703ebe0f38ea5bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MockPurchases.swift \u2194 LoadingPaywallView.swift: \u0060RevenueCatUI/Purchasing/MockPurchases.swift\u0060 and \u0060RevenueCatUI/Views/LoadingPaywallView.swift\u0060 change together 94% of the time (17 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u006029937373\u0060 Let the backend decide which hosted checkout session the customer con\u2026; \u006073fdc97d\u0060 Resume a customer\u0027s previous hosted checkout session (#7889); \u006017c82388\u0060 Open the in-app web checkout from the purchase button (#7691) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/MockPurchases.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdec5f8906b1768025474323bb9ab59c2875173eca68f2ead4b4206cc380a097"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: MockCustomerCenterPurchases.swift \u2192 CustomerCenterPurchases.swift, CustomerCenterViewModel.swift, CustomerCenterView.swift: \u0060RevenueCatUI/CustomerCenter/Mocks/MockCustomerCenterPurchases.swift\u0060 changes together with 3 other files \u2014 \u0060RevenueCatUI/CustomerCenter/Data/CustomerCenterPurchases.swift\u0060, \u0060RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift\u0060, \u0060RevenueCatUI/CustomerCenter/Views/CustomerCenterView.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Mocks/MockCustomerCenterPurchases.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b28677644ea31ffd3fccad130a676e346bd1f0f4a80b3d750edd9302e6ce7e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DiagnosticsTracker.swift \u2194 DiagnosticsEventsRequest.swift: \u0060Sources/Diagnostics/DiagnosticsTracker.swift\u0060 and \u0060Sources/Diagnostics/Networking/DiagnosticsEventsRequest.swift\u0060 change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00609533c597\u0060 Create \u0060DiagnosticsEvent.Properties\u0060 for type safe diagnostics (#4843); \u0060f7fa5d2e\u0060 [Diagnostics] Add extra parameters to \u0060applePurchaseAttempt\u0060 (#4835); \u00608f5a9488\u0060 [Diagnostics] Add requestedProductIds and notFoundProductIds to apple\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Diagnostics/DiagnosticsTracker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71027e7b14fbb5e657ae7fed7bc4a4d1b09ce468c12b5cff0854a99b1b8f5d80"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: WorkflowStepEventTracker.swift \u2194 WorkflowPaywallView.swift: \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/WorkflowStepEventTracker.swift\u0060 and \u0060RevenueCatUI/Templates/V2/WorkflowPaywallView.swift\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006032c166e7\u0060 other(workflows): route the first step with the workflow\u0027s initial tr\u2026; \u0060af9cc0f8\u0060 other(workflows): route a branch trigger action to the step its audie\u2026; \u006002b4a0a8\u0060 other: echo step experiment params on workflow events (#7659) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/WorkflowStepEventTracker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea75b362593b23fac5b587c83d0d911bf7d1472b4a76dc8c2bdb231bc6dc7b52"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Template2View.swift \u2194 Template3View.swift: \u0060RevenueCatUI/Templates/Template2View.swift\u0060 and \u0060RevenueCatUI/Templates/Template3View.swift\u0060 change together 73% of the time (11 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00600a627d7d\u0060 RemoteImage Low Res Image support (#3906); \u0060023b59b7\u0060 \u0060Paywalls\u0060: improved \u0060FooterView\u0060 (#3171); \u0060515933c5\u0060 \u0060Paywalls\u0060: enabled \u0060Catalyst\u0060 support (#3087) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template2View.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f6f44b7f899149fa3fb397fdad6365dd5b49e43f3ff565ab6e24af977bc7d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: View\u002BPresentPaywall.swift \u2194 View\u002BPurchaseRestoreCompleted.swift: \u0060RevenueCatUI/View\u002BPresentPaywall.swift\u0060 and \u0060RevenueCatUI/View\u002BPurchaseRestoreCompleted.swift\u0060 change together 69% of the time (11 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00607b8b2b75\u0060 fix(paywalls): report purchase cancellations without fetching Custome\u2026; \u0060dc435298\u0060 feat(paywalls): Add onPaywallInteraction callback (#7583); \u00608720c34c\u0060 feat: add onURLOpened to paywall listener surfaces (#7320) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BPresentPaywall.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"489c07f80bc747abe28d831b925c382a22e5afaf56128d27b90a1d963788bd1b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Template1View.swift \u2194 Template3View.swift: \u0060RevenueCatUI/Templates/Template1View.swift\u0060 and \u0060RevenueCatUI/Templates/Template3View.swift\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00600a627d7d\u0060 RemoteImage Low Res Image support (#3906); \u0060023b59b7\u0060 \u0060Paywalls\u0060: improved \u0060FooterView\u0060 (#3171); \u0060515933c5\u0060 \u0060Paywalls\u0060: enabled \u0060Catalyst\u0060 support (#3087) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template1View.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcc443cdf465d6059482ef18ab94ce200567d7c78b49175ab8e74015e098f42"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PaywallView.swift \u2194 TemplateViewType.swift: \u0060RevenueCatUI/PaywallView.swift\u0060 and \u0060RevenueCatUI/Templates/TemplateViewType.swift\u0060 change together 66% of the time (19 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 19 shared commits counted here, the most recent 3 are \u00608611ca2c\u0060 Remove already-subscribed logic from paywalls (#7487); \u00609513dab4\u0060 Paywalls: Allow closed button color to be configured (#3805); \u00600fc9f30a\u0060 \u0060Paywalls\u0060: move size configuration to \u0060TemplateViewType\u0060 (#3352) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/PaywallView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd299d4508eb95f5e7ba73a4ff59d34c65515dc2a42859aa1067085ffa61946"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Attribution.swift \u2194 ReservedSubscriberAttributes.swift: \u0060Sources/Purchasing/Purchases/Attribution.swift\u0060 and \u0060Sources/SubscriberAttributes/ReservedSubscriberAttributes.swift\u0060 change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060caa1fc51\u0060 feat(singular) add $singularDeviceId subscriber attribute for Singula\u2026; \u0060496b560a\u0060 [CIA-5346] Appstack integration to ios sdk (#6366); \u0060feeb3edd\u0060 Add Solar Engine integration support (#5992) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Attribution.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b4ff4d977b321b962424082e7f2ba77fffde0a52b490701761b2c596d6a32d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CustomerCenterConfigData\u002BMock.swift \u2194 PurchaseInformation.swift: \u0060RevenueCatUI/CustomerCenter/Data/CustomerCenterConfigData\u002BMock.swift\u0060 and \u0060RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift\u0060 change together 62% of the time (16 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u0060b5995ac1\u0060 Add custom change plans support for customer center (#5379); \u00602398f48f\u0060 Make latestPurchaseDate non-optional in PurchaseInformation (#5144); \u0060b959bb56\u0060 Add isActive to PurchaseInformation for CustomerCenter (#5152) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/CustomerCenterConfigData\u002BMock.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafac420209a698a3f53b5fb45ca60b783f4d2408b1a1e228d159a3cd58a4b09"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PurchaseInformation\u002BMock.swift \u2194 Transaction.swift: \u0060RevenueCatUI/CustomerCenter/Data/PurchaseInformation\u002BMock.swift\u0060 and \u0060RevenueCatUI/CustomerCenter/Data/Transaction.swift\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006031abd270\u0060 fix non-renewable appstore PATHs for customer center (#5468); \u00606733f53a\u0060 Remove trailing text for PurchaseCardView, and simplify billing infor\u2026; \u00608ad57696\u0060 Add originalPurchaseDate \u0026 isSandbox to PurchaseInformation (#5259) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/PurchaseInformation\u002BMock.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3572dfba8d88f5d58aecd56cbc691508c6bcf91b3cf47c8bde6926203d7e061a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RelevantPurchasesListViewModel.swift \u2194 CustomerCenterView.swift: \u0060RevenueCatUI/CustomerCenter/ViewModels/RelevantPurchasesListViewModel.swift\u0060 and \u0060RevenueCatUI/CustomerCenter/Views/CustomerCenterView.swift\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00603c2bf263\u0060 Add account details to single purchase view (#5327); \u0060b4631ac6\u0060 Pass CustomerCenterViewModel as a ObservedObject to the detail screen\u2026; \u00600be0ab56\u0060 Dont show \u0060see all purchases\u0060 button if there\u0027s nothing else to show \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ViewModels/RelevantPurchasesListViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b63f104064ac25d8b2f7eb0f96e779af726c8178516936846bb58a123a18dba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PurchaseHandler.swift \u2194 WorkflowStepEventTracker.swift: \u0060RevenueCatUI/Purchasing/PurchaseHandler.swift\u0060 and \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/WorkflowStepEventTracker.swift\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006032c166e7\u0060 other(workflows): route the first step with the workflow\u0027s initial tr\u2026; \u0060af9cc0f8\u0060 other(workflows): route a branch trigger action to the step its audie\u2026; \u006002b4a0a8\u0060 other: echo step experiment params on workflow events (#7659) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/PurchaseHandler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1df5af2a0523f16df5d55ef93db9184008eef56d455bd37f8b164bd162ca83"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TextComponentViewModel.swift \u2194 PaywallComponentTypeTransformers.swift: \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentViewModel.swift\u0060 and \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift\u0060 change together 59% of the time (10 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006075f23187\u0060 feat: Allow disabling of automatic font scaling (#6727); \u00604672cbb1\u0060 [Paywalls V2] Add support for alias solid hex colors (not gradients) \u2026; \u006068bf2477\u0060 [Paywalls V2] Support custom fonts with UIConfig (#4631) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Text/TextComponentViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e743196967cd0a9b84ba1961a28488fa82e58ea8b13b12e1cac58e2ed404ada"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ComponentsView.swift \u2194 ViewModelFactory.swift: \u0060RevenueCatUI/Templates/V2/Components/ComponentsView.swift\u0060 and \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/ViewModelFactory.swift\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00609da34c0f\u0060 feat(paywalls): enable web_view component (7/7) (#7233); \u00608d97a2bd\u0060 Paywalls countdown component (#5790); \u00606728494f\u0060 Paywall video component model creation -- Not views, just models (#5481) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/ComponentsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e9c457e48bb2d0308444a004014d1334a3325bf831d72c0f615241bf417184"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ImageComponentViewModel.swift \u2192 StackComponentView.swift, StackComponentViewModel.swift, TextComponentViewModel.swift: \u0060RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift\u0060 changes together with 3 other files \u2014 \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift\u0060, \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentViewModel.swift\u0060, \u0060RevenueCatUI/Templates/V2/Components/Text/TextComponentViewModel.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Image/ImageComponentViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffebe1ce0ccdb93ff3f0f528f71d5ecd1af82e7a1fd71f3c52658cdd5215ae4f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PackageComponentView.swift \u2194 PurchaseButtonComponentView.swift: \u0060RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift\u0060 change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00600c812de0\u0060 Support Video as the hero component (#5684); \u0060b1bb834b\u0060 Package component doesn\u0027t wrap content in button if there is a purcha\u2026; \u0060ca12ad7c\u0060 [Paywalls V2] Ignore top safe area edges for image (#4744) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caea12d830a4eb5b452c65f6975707a8027d8d141821d5468b52aa4c9960f310"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StackComponentView.swift \u2194 PaywallComponentTypeTransformers.swift: \u0060RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift\u0060 and \u0060RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060b5fa3031\u0060 Extend the padding by border.width amount in components that support \u2026; \u00604672cbb1\u0060 [Paywalls V2] Add support for alias solid hex colors (not gradients) \u2026; \u006068bf2477\u0060 [Paywalls V2] Support custom fonts with UIConfig (#4631) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Stack/StackComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98486c1bcc33dbc64c9e2e6bb2175f21c46796467661833c380682cae23d965b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: IdentityManager.swift \u2194 IdentityStrings.swift: \u0060Sources/Identity/IdentityManager.swift\u0060 and \u0060Sources/Logging/Strings/IdentityStrings.swift\u0060 change together 52% of the time (11 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00605c06ddd0\u0060 fix: warn when configure app user ID differs from cached ID (#7694); \u00603dfd2445\u0060 Guard switchUser against preview mode (PW-963) (#6371); \u0060788b6276\u0060 UI Preview Mode: app user ID (#4725) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Identity/IdentityManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0f9b36f1e02f69fbc66523e879390f01b6eca378701879c62681ab266658e8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ButtonComponentView.swift \u2194 PackageComponentView.swift: \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentView.swift\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00600c812de0\u0060 Support Video as the hero component (#5684); \u0060b1bb834b\u0060 Package component doesn\u0027t wrap content in button if there is a purcha\u2026; \u0060ca12ad7c\u0060 [Paywalls V2] Ignore top safe area edges for image (#4744) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a82e7e8c5bbfd5d1aeae60966e3ddf771ca2312b771351812834162cc58bb1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CheckpointWorkflowResolver.swift \u2194 WorkflowsConfigProvider.swift: \u0060Sources/Checkpoints/CheckpointWorkflowResolver.swift\u0060 and \u0060Sources/Networking/WorkflowsConfigProvider.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604cb71a6a\u0060 feat(checkpoints): Resolve the offering per workflow step (#7658); \u006002b4a0a8\u0060 other: echo step experiment params on workflow events (#7659); \u00604939ef18\u0060 fix(checkpoints): ensure remote config reads are generation consisten\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Checkpoints/CheckpointWorkflowResolver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a58ebb3cbdce1110359aa956d3aa5a87c647e15566e1e40a903ffe247f583e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PaywallStackComponent.swift \u2194 PaywallTextComponent.swift: \u0060Sources/Paywalls/Components/PaywallStackComponent.swift\u0060 and \u0060Sources/Paywalls/Components/PaywallTextComponent.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006044dde1ee\u0060 Part 1: Respec color (#4468); \u006054f45839\u0060 Apply state and conditions ONLY for text component (#4417); \u0060bcef02ad\u0060 Text, Image, and Stack properties can be overridden on different stat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Paywalls/Components/PaywallStackComponent.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f461eb21c738297c27344e711bdd33f7f39985f53a79df2d90a872c347b05028"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SigningStrings.swift \u2194 Signing\u002BResponseVerification.swift: \u0060Sources/Logging/Strings/SigningStrings.swift\u0060 and \u0060Sources/Security/Signing\u002BResponseVerification.swift\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060db27086e\u0060 Extract signature verification failure reasons (#7777); \u0060cf77437c\u0060 feat(remote-config): verify RC container signatures (#7046); \u0060bd3ac5fa\u0060 \u0060Trusted Entitlements\u0060: produce verification failures for static endp\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/SigningStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbe8eeff7cb6fdb93f13058f0994f1bd4c1ac8d359dd3747c38fd81e8b12e34"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RelevantPurchasesListViewModel.swift \u2194 SubscriptionDetailView.swift: \u0060RevenueCatUI/CustomerCenter/ViewModels/RelevantPurchasesListViewModel.swift\u0060 and \u0060RevenueCatUI/CustomerCenter/Views/SubscriptionDetailView.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00603907fe4f\u0060 feat(customer-center): Add stateful Customer Center preview actions a\u2026; \u0060f8d78808\u0060 feat(customer center): show Resubscribe for cancelled subscriptions (\u2026; \u00603c2bf263\u0060 Add account details to single purchase view (#5327) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ViewModels/RelevantPurchasesListViewModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f1f5d23c804a44bef2fd35e266c2e9dded54cc5089b23c74211bbe4ba8151b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DiagnosticsStrings.swift \u2194 Purchases.swift: \u0060Sources/Logging/Strings/DiagnosticsStrings.swift\u0060 and \u0060Sources/Purchasing/Purchases/Purchases.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00608e6b8aa3\u0060 feat(diagnostics): configure collection from SDK settings (#7815); \u0060a2976290\u0060 [Diagnostics] Sync diagnostics if file reaches lower size limit (#4929); \u0060ffe5b8b3\u0060 Diagnostics: Add logic to retry on server errors (#3930) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Logging/Strings/DiagnosticsStrings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16364e9a5711fb2588e49845cf22602aa2f0edf65cb13aa8b7b6fe9f0269fb46"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ButtonComponentView.swift \u2194 PackageComponentViewModel.swift: \u0060RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift\u0060 and \u0060RevenueCatUI/Templates/V2/Components/Packages/Package/PackageComponentViewModel.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060b1bb834b\u0060 Package component doesn\u0027t wrap content in button if there is a purcha\u2026; \u006019ac0b67\u0060 [Paywalls V2] Introduce new \u0060LocalizationProvider\u0060 for localized stri\u2026 (at that commit the files were still \u0060RevenueCatUI/Templates/Components/Button/ButtonComponentView.swift\u0060 and \u0060RevenueCatUI/Templates/Components/Packages/Package/PackageComponentViewModel.swift\u0060); \u00607f513b92\u0060 Create paywall component view models in a factory (#4455) (at that commit the files were still \u0060RevenueCatUI/Templates/Components/Button/ButtonComponentView.swift\u0060 and \u0060RevenueCatUI/Templates/Components/Packages/Package/PackageComponentViewModel.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21413ecb07548cb5b39d9f8b3db91827b9f74c282da8d9d9ce314ae3a58b4c1d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DiagnosticsFileHandler.swift \u2194 DiagnosticsStrings.swift: \u0060Sources/Diagnostics/DiagnosticsFileHandler.swift\u0060 and \u0060Sources/Logging/Strings/DiagnosticsStrings.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00605c9e50da\u0060 Fix cache files visible in documents directory: diagnostics (#6008); \u00603038d8d7\u0060 Fix \u0060FileHandler\u0060\u0027s potential crash on writing (#5675); \u0060a2976290\u0060 [Diagnostics] Sync diagnostics if file reaches lower size limit (#4929) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Diagnostics/DiagnosticsFileHandler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c3d50b09d8b6351a7116d338a2c3ca8fe2637f880a9b639ac825d38f36a66a"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f63da2398805c08d3810c19ee7d32375d4626ab372fb7bfff5ac8275fb595bd9"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Headers: \u0060Headers\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Networking/HTTPClient/HTTPRequest.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79b6bf78b4bccfec5b837d09a3143afe486cdcccbd180efb9a52ed5b26ab777"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: EntitlementInfo: \u0060EntitlementInfo\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/EntitlementInfo.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d76311b2f3deb896b3a14c22d9e4aa5b7daf8b6284c8b392b455db94defa62"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: KeptCheckout: \u0060KeptCheckout\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/HostedCheckout.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"049d9793ef7791428b8317bc701ab4e57cd769d93c9c636f30c43bb79721a999"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Color: \u0060Color\u0060 is a data-only reference entity whose behaviour is DELEGATED to a foreign utility (static methods that take it as their first parameter and hold its logic) \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ColorFromAppearance.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"906ee495ee662cc15d9951bb76499af70a618ee4989fae13af858064ad518f1c"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: close: \u0060close\u0060 is an imperative name inside a domain-event set whose siblings are past-tense facts \u2014 it reads as an intent, not something that happened. Name it for the event that occurred (e.g. \u0060itemAdded\u0060) so the event log records facts."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Paywalls/Events/WorkflowEvent.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac20a3be8d91bb4fbb3b3089b1db14f618885fdc973f4096c6bdefc99499065"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 662 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 3/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 125760 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/actionlint.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Concurrency/AsyncSleeper.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ebbaf29164276bdcd704955a4a6f22e15314b3d40c860efffb3b80658a06e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Purchasing/PurchaseHandler\u002BTestData.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4b1fa37d1a6f2647a949866313c17b8aaa7440fcadcbdbc34fff183db1eed5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!os(tvOS) \u0026\u0026 !os(watchOS) \u0026\u0026 canImport(WebKit)\u0060 appears character-identically in 3 files \u2014 RevenueCatUI/Cache/WebBundlePrewarmer.swift, RevenueCatUI/Cache/WebViewWebsiteDataStoreSweeper.swift, RevenueCatUI/Templates/V2/Components/WebView/WebViewInstance.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Cache/WebBundlePrewarmer.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae7808ba498ca70f01edfcf9ff83ce006d47e9e8ee91e2d836015ae2e82652e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(os(iOS) \u0026\u0026 !targetEnvironment(macCatalyst)) || VISION_OS\u0060 appears character-identically in 2 files \u2014 Sources/Purchasing/StoreKit1/PaymentQueueWrapper.swift, Sources/Purchasing/StoreKit1/StoreKit1Wrapper.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/StoreKit1/PaymentQueueWrapper.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a819335cc381f9068183e236f7c4472c7a525b0fd83638bffbcf78f3aadfac18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DEBUG \u0026\u0026 !ENABLE_CUSTOM_ENTITLEMENT_COMPUTATION\u0060 appears character-identically in 3 files \u2014 Sources/Purchasing/Purchases/Purchases.swift, Sources/Support/DebugUI/DebugViewModel.swift, Sources/Support/SDKHealthManager.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/Purchases.swift"},"region":{"startLine":3359}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f68099e0b5aa8a76925e8dc38904ad30555142309ecb33eced3ce7ba7def51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DEBUG \u0026\u0026 (os(iOS) || os(macOS) || VISION_OS)\u0060 appears character-identically in 4 files \u2014 Sources/Support/DebugUI/DebugContentViews.swift, Sources/Support/DebugUI/DebugView.swift, Sources/Support/DebugUI/DebugViewModel.swift, Sources/Support/DebugUI/DebugViewSheetPresentation.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/DebugUI/DebugContentViews.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6590610522e222127e5d0def19097842bd40e0f1fc7292e036e402bead97019"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DEBUG \u0026\u0026 canImport(SwiftUI) \u0026\u0026 canImport(UIKit)\u0060 appears character-identically in 2 files \u2014 RevenueCatUI/Views/FooterView.swift, RevenueCatUI/Views/PurchaseButton.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Views/FooterView.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6559e42c8183fb8632a95c3b90390903526f9c11e070bbccdf1c54e255360bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canImport(AppKit) \u0026\u0026 !targetEnvironment(macCatalyst)\u0060 appears character-identically in 2 files \u2014 Sources/Purchasing/PresentationContext.swift, Sources/Purchasing/Purchases/PurchaseParams.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/PresentationContext.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f8b5ad70d58f8283006e99637c503201b2c4d1e2beb157ebe3f214994022f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canImport(SafariServices) \u0026\u0026 canImport(UIKit) .sheet(isPresented: .isNotNil(self.$inAppBrowserURL))\u0060 appears character-identically in 2 files \u2014 RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift, RevenueCatUI/Templates/V2/Components/Packages/PurchaseButton/PurchaseButtonComponentView.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34b2f8fd148a6c126c125ebbcee1cc6b0db7e7c741cff7c8776c11c6176afb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canImport(UIKit) \u0026\u0026 !os(tvOS) \u0026\u0026 !os(watchOS)\u0060 appears character-identically in 7 files \u2014 RevenueCatUI/Checkpoints/CheckpointPresenter.swift, RevenueCatUI/Checkpoints/DefaultErrorPresenter.swift, RevenueCatUI/Checkpoints/FlowPresentationMode.swift, RevenueCatUI/Checkpoints/WorkflowPresenter.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Checkpoints/CheckpointPresenter.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fcca568c21e18752b0b45a2893160cfa6371fd197d0cc88b1a35bb20de4e70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060canImport(UIKit) \u0026\u0026 !os(watchOS) \u0026\u0026 !os(tvOS)\u0060 appears character-identically in 2 files \u2014 RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift, RevenueCatUI/Templates/V2/Components/Carousel/ScrollViewGestureCoordinator.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Carousel/CarouselComponentView.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3506d24842392d4eb9694ec97c32eaf83601448dc9e39d7296c7ce469cffb84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060compiler(\u003E=5.10) \u0026\u0026 !os(tvOS) \u0026\u0026 !os(watchOS) \u0026\u0026 !os(visionOS)\u0060 appears character-identically in 2 files \u2014 Sources/Purchasing/Purchases/PurchasesOrchestrator.swift, Sources/Purchasing/StoreKit2/StoreKit2PurchaseIntentListener.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Purchasing/Purchases/PurchasesOrchestrator.swift"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a7148260e1c541d1acaf204610aef3250363ea1ceff061d221bf53b54b62b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hexColor.count == 6 || hexColor.count == 8\u0060 appears character-identically in 2 files \u2014 RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift, Sources/Paywalls/PaywallColor.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/ViewModelHelpers/PaywallComponentTypeTransformers.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc654efe120a30329ec485f64a12739c4e61bde968c35a523ce43c9a1f412ac7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) \u0026\u0026 !targetEnvironment(macCatalyst)\u0060 appears character-identically in 3 files \u2014 RevenueCatUI/Checkpoints/Purchases\u002BCheckpoints.swift, RevenueCatUI/Templates/V2/Components/Button/ButtonComponentView.swift, RevenueCatUI/Templates/V2/Components/Button/ButtonComponentViewModel.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Checkpoints/Purchases\u002BCheckpoints.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1582e731aedd0ecc1eb28ee18c92e8bb33cda708c5bdd09d252a0f5e9790628"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) || targetEnvironment(macCatalyst) || VISION_OS\u0060 appears character-identically in 9 files \u2014 Sources/Misc/Concurrency/Purchases\u002Bnonasync.swift, Sources/Purchasing/Purchases/Purchases.swift, Sources/Purchasing/Purchases/PurchasesOrchestrator.swift, Sources/Purchasing/Purchases/PurchasesType.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/Concurrency/Purchases\u002Bnonasync.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c8f1bdac7d9f1f33439d1ed2f40cb98cff1eb7b604cc0c787c9bc9b83de3cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(macOS) || targetEnvironment(macCatalyst)\u0060 appears character-identically in 3 files \u2014 Sources/Misc/MacDevice.swift, Sources/Misc/MapAppStoreDetector.swift, Sources/Misc/SandboxEnvironmentDetector.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Misc/MacDevice.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c446efe3b99be587a8a265040ad36e13587418f713d241b4b1f6390662e6e15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060swift(\u003E=5.9) || (!os(macOS) \u0026\u0026 !os(watchOS) \u0026\u0026 !os(tvOS))\u0060 appears character-identically in 7 files \u2014 RevenueCatUI/Templates/Template1View.swift, RevenueCatUI/Templates/Template2View.swift, RevenueCatUI/Templates/Template3View.swift, RevenueCatUI/Templates/Template4View.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/Template1View.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d05d958bf9a75467bc962b2595e6f2b59409e8f7a604d911dbf95a3eee372fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060targetEnvironment(macCatalyst) || os(macOS) .frame(minHeight: 667)\u0060 appears character-identically in 2 files \u2014 RevenueCatUI/View\u002BExitOfferPresentation.swift, RevenueCatUI/View\u002BPresentPaywall.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/View\u002BExitOfferPresentation.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f38ec82cc8225e4de323dbfebfc15c5969513d89015897d962013028870251a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unsubscribeDetectedAt != nil \u0026\u0026 !willRenew\u0060 appears character-identically in 2 files \u2014 RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift, RevenueCatUI/CustomerCenter/Data/Transaction.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Data/PurchaseInformation.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0cdd47dd3671670dd0752321cf267a308da3bce233d1028acc420c0f1bf80c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fastlane/storekit_config_file_watcher.rb"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da23afaf66319536a25bc890107c0b9848af9f8093b9709e0d0daae05e55e32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Diagnostics/DiagnosticsFileHandler.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e131371b08ea7b3cd69b030f70f3b711805a87f39c9c1d4b48416c5a75a2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Caching/LargeItemCacheType.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"86afeb933a8bca10c5fde889987e6f8c762739e5cb06b142112467bca4a70a31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Ads/RewardVerification/ConfiguredAdRewardsProvider.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b770db83b7db751c96d04d0a0de2e2af4dbe6940ac59b24f0be1aae1bb5aa8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/WorkflowPaywallView.swift"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfc45b7e8a2ca482549aba3a306e564d0974b61bd61aa4417a194b812f7e90e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/EnvironmentObjects/PaywallPromoOfferCache.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afa1a18f6bec8667567ef2d5c9f651af8dd3e73b7ce3015e8cde1bc4f2f0ec1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Templates/V2/Components/Button/NativePaywallCloseButton.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"958d924275b9dc9ccbf39f48a87ef81b89fb01da974d1b22a37ef5f4679f5010"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/Helpers/ImageLoader.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2c8bc2ad718100eb69d9ca88d32921eb55bd6a7d5a17ede690c0a9e3f1626c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ViewModels/CustomerCenterViewModel.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d1ab9e94c21ed702ca68df0a3d81302af4a34db7b44185d09d9a0368973d30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/ViewModels/VirtualCurrencyBalancesScreenViewModel.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2353d19cfb61474a60d1d903a00f156609e99e9b8eff09a7b08017ffaf23237e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RevenueCatUI/CustomerCenter/Utilities/CustomerCenterStoreKitUtilities.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c558ef7a33aa6943ab332abe1d48f69b5698cae7af3202c31185ac6efd11d51"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 4 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060debugDescription\u0060 turns every thrown error into \u0060\u0022\u003Cnull\u003E\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/BasicTypes/AppleReceipt.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce49a959f793b251020759d0160c509f48957ff0bde9be73c1735197ce1158ea"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060debugDescription\u0060 turns every thrown error into \u0060\u0022\u003Cnull\u003E\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LocalReceiptParsing/BasicTypes/InAppPurchase.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f0520da47254a24857df86f3e5cd860058df26bf50f31a8aceb40108e3578"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060json\u0060 turns every thrown error into \u0060\u0022{}\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Support/DebugUI/DebugContentViews.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"582cb40b0c7d00ac889a28a21a8c5d82c7787806dc32fa866aee8cebe39b980e"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":21,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}