{"$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":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"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":"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":"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":"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":"STPPaymentMethodType.makeImage (cyclomatic 71): STPPaymentMethodType.makeImage has cyclomatic complexity 71 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed78216d38bee53b2381071dd50c46fa2c9e48fb2b2b23a643c53d1874bbcdb"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentHandler._handleAuthenticationForCurrentAction (cyclomatic 68): STPPaymentHandler._handleAuthenticationForCurrentAction has cyclomatic complexity 68 (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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"803067f767e4add07a94f0afe6a9008ec250b3d8ff6ff436dd3b787501ac892c"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentHandler._retrieveAndCheckIntentForCurrentAction (cyclomatic 53): STPPaymentHandler._retrieveAndCheckIntentForCurrentAction has cyclomatic complexity 53 (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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"69036e7a30fb72f2cad9c9819dfe1b9c137b8f84e9e4e5ae8d1e17b494166ae7"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeFlowController.swift.CreatePaneViewController (cyclomatic 42): NativeFlowController.swift.CreatePaneViewController has cyclomatic complexity 42 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b768d7e68912fd592d6434c0d676cb59adf8b0bc4c2ae81d8d3c5f62f9709f9"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentCardTextField.recalculateSubviewLayout (cyclomatic 39): STPPaymentCardTextField.recalculateSubviewLayout has cyclomatic complexity 39 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5331afcb850aa3482ef4f0d9a208c3ff8aac0bcc7df61cce5cc5cb3f21ae4a9"}},{"ruleId":"D1","level":"warning","message":{"text":"HostedAuthUrlBuilder.build (cyclomatic 38): HostedAuthUrlBuilder.build has cyclomatic complexity 38 (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":"StripeCore/StripeCore/Source/Connections Bindings/HostedAuthUrlBuilder.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d200cf3e3b2e0119d3aecefc5cda860fc120891c2a414ae583454daea3b14c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfirmButton.update (cyclomatic 36): ConfirmButton.update has cyclomatic complexity 36 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/ConfirmButton.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3bcfec5211517f5cb33f57ce6b8719f13ee6184a315718f18a04eada7e30a8"}},{"ruleId":"D1","level":"warning","message":{"text":"STPDecodingContainerProtocol.castFromNSObject (cyclomatic 35): STPDecodingContainerProtocol.castFromNSObject has cyclomatic complexity 35 (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":"StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84f8b625379fac6ee6d4ea32c830856b2bddfd9fd53136cb9f0a5a48c3f02a"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheet.confirmAfterHandlingLocalActions (cyclomatic 35): PaymentSheet.confirmAfterHandlingLocalActions has cyclomatic complexity 35 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0bf88bba01d588e184670b01e9a2783dd198be6608320563ade7e41beecfac"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheetVerticalViewController.calculateInitialSelection (cyclomatic 35): PaymentSheetVerticalViewController.calculateInitialSelection has cyclomatic complexity 35 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"102bb675cb186c03fb72a00249fa2a3a5f9676f1e1b8b86eb15b5d54ad3fd6b5"}},{"ruleId":"D1","level":"warning","message":{"text":"STPIntentAction.decodedObject (cyclomatic 35): STPIntentAction.decodedObject has cyclomatic complexity 35 (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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"765ad557c79416876c55ee2b6fbe12f07132e91a03be4a05e4e89e91e8c4c22d"}},{"ruleId":"D1","level":"warning","message":{"text":"STPApplePayContext._completePayment (cyclomatic 33): STPApplePayContext._completePayment has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12361a10d15b0679d29b7a5337d7fcaef9ae28b1e1b822f71a50504d7fbc41c"}},{"ruleId":"D1","level":"warning","message":{"text":"STPIntentAction.description (cyclomatic 33): STPIntentAction.description has cyclomatic complexity 33 (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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3d229974b9b6a477ad3e4e94b3567876fdbe238bc808b272800e07548a2a79"}},{"ruleId":"D1","level":"warning","message":{"text":"CardVerifyAccurateStateMachine.transition (cyclomatic 30): CardVerifyAccurateStateMachine.transition has cyclomatic complexity 30 (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":"StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e476e52fe6b7321cd5eb1c45c10ab2a27ef5b344bd42c51b09b2b15209ee9b"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheetAnalyticsHelper.logPayment (cyclomatic 30): PaymentSheetAnalyticsHelper.logPayment has cyclomatic complexity 30 (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":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/PaymentSheetAnalyticsHelper.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a82eb2ed17987b91b181e04b2373852c067e135d05b4038d1b144ce39a086a6"}},{"ruleId":"D1","level":"warning","message":{"text":"StripeEncodingContainer.castToNSObject (cyclomatic 26): StripeEncodingContainer.castToNSObject has cyclomatic complexity 26 (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":"StripeCore/StripeCore/Source/Coder/StripeJSONEncoder.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd7ce1c1c3928796713d947d3dc7ae115c1a5499ed865bf9a06ba3ffed69739"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheetFormFactory.makeCard (cyclomatic 24): PaymentSheetFormFactory.makeCard has cyclomatic complexity 24 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BCard.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1189979b4a66c8387b0832407fbfd5acfef0fd058e5fbefffd7e61c85f8b17dd"}},{"ruleId":"D1","level":"warning","message":{"text":"SelfieCaptureViewController.statusText (cyclomatic 23): SelfieCaptureViewController.statusText has cyclomatic complexity 23 (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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8637625b59c8cdd5de1e7563496717073c370146e74e65949e3c0ec92f2d5023"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAccountPickerViewController.didSelectConnectAccounts (cyclomatic 22): LinkAccountPickerViewController.didSelectConnectAccounts has cyclomatic complexity 22 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7003569e771e7892eb5def6dcb2053b37b785caa76f9ae3c72313cea957468c2"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentCardTextField.paymentMethodParams (cyclomatic 22): STPPaymentCardTextField.paymentMethodParams has cyclomatic complexity 22 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"278100cdb4bf07d3e54d7bbdeadbf6fc721b62d9531a2764b969c490d20142ba"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountPickerViewController.pollAuthSessionAccounts (cyclomatic 21): AccountPickerViewController.pollAuthSessionAccounts 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d4b87b5c0fac81c4d1cceaf240a0374d5b483210c1df1ee0ac945482b55962"}},{"ruleId":"D1","level":"warning","message":{"text":"STPElementsSession.decodedObject (cyclomatic 21): STPElementsSession.decodedObject has cyclomatic complexity 21 (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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab158b82ad0216c1de225c097fe26e16d43a8d157f0ecf1059cc8684cf33f1eb"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentHandler._handleRedirect (cyclomatic 21): STPPaymentHandler._handleRedirect 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e4dffc5153d0daeaeeb42943e279fd75af25f103b51c8989d59e380cb9fa9d"}},{"ruleId":"D1","level":"warning","message":{"text":"InterfaceCache.load! (cyclomatic 21): InterfaceCache.load! has cyclomatic complexity 21 (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":"ci_scripts/api_diff/interface_cache.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb7cd17461220875d9cd49d2430a6edc1f9c00fe0b0264d9114b9c7e089e352"}},{"ruleId":"D1","level":"warning","message":{"text":"NSError.stp_error (cyclomatic 20): NSError.stp_error has cyclomatic complexity 20 (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":"StripeCore/StripeCore/Source/Helpers/STPError.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7c4d0818f37a7e3143150fbd16da06981c7ce5d69000796ca4904f82288d95"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeFlowController.closeAuthFlow (cyclomatic 20): NativeFlowController.closeAuthFlow 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e330d7d33be58b55e10b41a95402678dc8dff50d4ec3d32e5b715b1e4bab451c"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomerSession.decoded (cyclomatic 20): CustomerSession.decoded has cyclomatic complexity 20 (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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/CustomerSession.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8e88f555a2ef8d13d4bcb40f6c6ccaf24abd0106a06ed8b5b0465d55b5814b"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheet.confirmLinkPaymentOption (cyclomatic 20): PaymentSheet.confirmLinkPaymentOption 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8b86086f757cc5b2b772cb35cb227eabe9185ace773bd4d4f98f02a949a4b9"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutElementsController.confirmCheckoutSession (cyclomatic 20): CheckoutElementsController.confirmCheckoutSession has cyclomatic complexity 20 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8679a97ceca5c933951f052458c271588aa793bd283837437e5b8e104f37d91"}},{"ruleId":"D1","level":"warning","message":{"text":"VerificationSheetFlowController.nextViewController (cyclomatic 19): VerificationSheetFlowController.nextViewController 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"622c440c7c47c6022c2c100d79a30ded8bc9edd8d41013bb135b110c513820cb"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentCaptureViewController.scanningTextWithNoInput (cyclomatic 19): DocumentCaptureViewController.scanningTextWithNoInput has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController\u002BStrings.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6728d70ebca13d5eb022fbf29583194c71d93dfd554bc93cfda69c762bbb11"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAuthFlowViewController.render (cyclomatic 19): LinkAuthFlowViewController.render 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verification/LinkAuthFlowViewController.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"981117382a02307f1fda9803be033588d9af452ae22f69d5bed14763d120bacc"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckoutElementsController.confirm (cyclomatic 19): CheckoutElementsController.confirm 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbf1c2062eb5603ecfc7e24a7b4bf8ff2c575a118fd99d76b943e5e71c635ec"}},{"ruleId":"D1","level":"warning","message":{"text":"STPAPIClient.makeElementsSessionsParams (cyclomatic 18): STPAPIClient.makeElementsSessionsParams 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"284251baf85c930c203947394a27a96b3da2e9297e81e9cd9d4c0d378e32fda2"}},{"ruleId":"D1","level":"warning","message":{"text":"STPAnalyticsEventTranslator.translateEvent (cyclomatic 18): STPAnalyticsEventTranslator.translateEvent 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":"StripeCore/StripeCore/Source/Analytics/Eventing/STPAnalyticsEventTranslator.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb03407d72b7facd9ed1dee45c7881e96fceb5f0a30104ae416cb61079d8f0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorViewController.viewDidLoad (cyclomatic 18): ErrorViewController.viewDidLoad 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Error/ErrorViewController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"588c5196478648c7c78c07f96dc65fdff53e971e7899851179a2dee039dea718"}},{"ruleId":"D1","level":"warning","message":{"text":"PartnerAuthViewController.openInstitutionAuthenticationWebView (cyclomatic 18): PartnerAuthViewController.openInstitutionAuthenticationWebView 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99ae6786bc7dbcc4c059b6479b5870dc7515b193f68b7d5123b7e0359e48958"}},{"ruleId":"D1","level":"warning","message":{"text":"DocumentSide.instruction (cyclomatic 18): DocumentSide.instruction has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4738adb5c17ecdb392c532714fbe15824cb56a16a950e62d1e0127c0f0a2c10e"}},{"ruleId":"D1","level":"warning","message":{"text":"PayWithLinkViewController.launchFinancialConnections (cyclomatic 18): PayWithLinkViewController.launchFinancialConnections has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"330143c94df5a562f3cdea7e175351d7c597dbe6089cec2263589f484ade2c03"}},{"ruleId":"D1","level":"warning","message":{"text":"STPImageLibrary.brandImage (cyclomatic 18): STPImageLibrary.brandImage 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":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPImageLibrary.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fb3a4114f153327aa3dd4683bbf1a00b2b13af6f92c62b97bca2bd7a47f50d"}},{"ruleId":"D1","level":"warning","message":{"text":"STPFormView.configureFooter (cyclomatic 18): STPFormView.configureFooter has cyclomatic complexity 18 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7defd46a7c9ded34b0a792101be46d05dc0822a315eb79f2934588f0e037fc"}},{"ruleId":"D1","level":"warning","message":{"text":"STPConnectAccountIndividualParams.description (cyclomatic 18): STPConnectAccountIndividualParams.description has cyclomatic complexity 18 (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":"StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountIndividualParams.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3e7bbcabb0fb6d816ac60df1cdc4142e30a53f6e77338fe83c9f740fd1cef3"}},{"ruleId":"D1","level":"warning","message":{"text":"FinancialConnectionsWebFlowViewController.startAuthenticationSession (cyclomatic 17): FinancialConnectionsWebFlowViewController.startAuthenticationSession has cyclomatic complexity 17 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac21ed4b0cbed4d2237fa9f4377cab3c41bab0ca0c3e771ec4f3cb319298693"}},{"ruleId":"D1","level":"warning","message":{"text":"Intent.fulfilledRequirements (cyclomatic 17): Intent.fulfilledRequirements has cyclomatic complexity 17 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BPaymentMethodAvailability.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"498aa5195220f40374ccb7c6f22ecf250bb3dd108b3d9243472fecbbf40e012e"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheet.createConfirmationTokenParams (cyclomatic 17): PaymentSheet.createConfirmationTokenParams has cyclomatic complexity 17 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba164e92a1873c0c707da5bbade809789f03724fc2aeb4cd745adfd035ebd7"}},{"ruleId":"D1","level":"warning","message":{"text":"STPFormTextField.autoFormattingBehavior (cyclomatic 17): STPFormTextField.autoFormattingBehavior has cyclomatic complexity 17 (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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b73203597b5ca8179d16ba43cbd61f9f609a281a65b83adc2052739ddcbe71"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentCardTextField.formTextFieldTextDidChange (cyclomatic 17): STPPaymentCardTextField.formTextFieldTextDidChange has cyclomatic complexity 17 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8eb0ff901ef319e6fef6bf819a68bbe32ed16b5a3e79486acfade819b5400a"}},{"ruleId":"D1","level":"warning","message":{"text":"STPCustomer.sources (cyclomatic 17): STPCustomer.sources has cyclomatic complexity 17 (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":"StripePayments/StripePayments/Source/API Bindings/Models/STPCustomer.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fef15ac9dd10a5e131fbc988b773457bbaed5ba690781f18ab69fc92a1980b2"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentIntent.decodedObject (cyclomatic 17): STPPaymentIntent.decodedObject has cyclomatic complexity 17 (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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"618c12879681b395d694fb0b9c8751003b1b63e81f453f7a4268e6e4597096bd"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentHandler.confirmPaymentIntent (cyclomatic 17): STPPaymentHandler.confirmPaymentIntent 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edfab524a4455104553d173bd7e778ab6a065f90280e925e280d58434c12f17"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentHandler.handleNextAction (cyclomatic 17): STPPaymentHandler.handleNextAction 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"913e46f628e0c116e3e3d71479ceaae119cb6315d966a3426597e369a81f7269"}},{"ruleId":"D1","level":"warning","message":{"text":"AddressSectionElement.updateAddressFields (cyclomatic 17): AddressSectionElement.updateAddressFields 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":"StripeUICore/StripeUICore/Source/Elements/Factories/Address/AddressSectionElement.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"020d42fc1fc6c088e8228fb14f698349b0eb294ec92410ab1134e3801b7e45b6"}},{"ruleId":"D1","level":"warning","message":{"text":"StackViewWithSeparator.layoutSubviews (cyclomatic 17): StackViewWithSeparator.layoutSubviews has cyclomatic complexity 17 (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":"StripeUICore/StripeUICore/Source/Helpers/StackViewWithSeparator.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c912e6e534086566ff5ed87d53fe59fb0abae35e43df49d86a018b880d5873"}},{"ruleId":"D1","level":"warning","message":{"text":"PaneLayoutView.createFooterView (cyclomatic 16): PaneLayoutView.createFooterView has cyclomatic complexity 16 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9be087ca7dc078244c964fa3a11fa125b6ac02b50bc47b1183a06e36de65222"}},{"ruleId":"D1","level":"warning","message":{"text":"STPCardScanner.processVNRequest (cyclomatic 16): STPCardScanner.processVNRequest has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d0e32040a3c32817c617b5bd0d3b9dcaa60b68992f9c6570030c1f9a41e1f"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkAuthFlowCoordinator.sendCode (cyclomatic 16): LinkAuthFlowCoordinator.sendCode has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verification/LinkAuthFlowCoordinator.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2cbde93b9ce5a52f723db9ebaca6211b6f3b7cd18c5ecffff1b2807b591814"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheet.handleDeferredIntentConfirmation_confirmationToken (cyclomatic 16): PaymentSheet.handleDeferredIntentConfirmation_confirmationToken has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f64dbb8f75b8a279a447771f6bd48e2f12432c148965f5d7ab6dfac2c5744c"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheet.handleDeferredIntentConfirmation (cyclomatic 16): PaymentSheet.handleDeferredIntentConfirmation has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6394a3fe8157d0beb59ffea252f5d1c8796944dc0bb7c54e25b0365357e898"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheetVerticalViewController.selectedPaymentOption (cyclomatic 16): PaymentSheetVerticalViewController.selectedPaymentOption has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84ee8a2523fdfb1f5bb3948dd125206a371e9b2c7a93e1743f6dc0c5534ea5c"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentMethodFormViewController.handleCollectBankAccount (cyclomatic 16): PaymentMethodFormViewController.handleCollectBankAccount has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fda0839942f4151a45e6dacf28f296b3cdd1019cb28351567e88ad9095a511c"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentMethodFormViewController.handleCollectInstantDebits (cyclomatic 16): PaymentMethodFormViewController.handleCollectInstantDebits has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"7319457b13a3b2f72833441b58364850c1517d34407ab2e2274689049b583068"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheetFlowControllerViewController.init (cyclomatic 16): PaymentSheetFlowControllerViewController.init has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd470d33cb796799586ecf76d8fa70c6733ef436fb2dacdd1bd6c31d5accbc7"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentSheetViewController.updateUI (cyclomatic 16): PaymentSheetViewController.updateUI has cyclomatic complexity 16 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"78405327b80d494dffbccc9266662130f094c0eb531044843897899ab5b4a588"}},{"ruleId":"D1","level":"warning","message":{"text":"STPTextFieldDelegateProxy.textField (cyclomatic 16): STPTextFieldDelegateProxy.textField has cyclomatic complexity 16 (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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e9920f715a2a7d30a9d6fb799be9e2f158db98158d0409973c86c758e83ce"}},{"ruleId":"D1","level":"warning","message":{"text":"STPCardExpiryInputTextFieldFormatter.isAllowedInput (cyclomatic 16): STPCardExpiryInputTextFieldFormatter.isAllowedInput has cyclomatic complexity 16 (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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldFormatter.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6e1d10d01d4920f24ba1df3fbb3f79a131d2ade65df64c7c5b315bbd2a9358"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentCardTextField.updateImage (cyclomatic 16): STPPaymentCardTextField.updateImage has cyclomatic complexity 16 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"190d9d202234c5dc563f8b211315a351e378594e53d4daee6ef3ee774ad81266"}},{"ruleId":"D1","level":"warning","message":{"text":"STPPaymentHandler.confirmSetupIntent (cyclomatic 16): STPPaymentHandler.confirmSetupIntent has cyclomatic complexity 16 (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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6efdf3c48b89a6c2e48ba8192a7278b8f4be5daa364162b5863afcbe42b8a7b"}},{"ruleId":"D1","level":"warning","message":{"text":"SectionContainerView.updateUI (cyclomatic 16): SectionContainerView.updateUI has cyclomatic complexity 16 (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":"StripeUICore/StripeUICore/Source/Elements/Section/SectionContainerView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f959b32365ffcddd6898002aeb1e5d5a29a2a13c719656093ef95999d55c6826"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler._handleAuthenticationForCurrentAction (cognitive 139): STPPaymentHandler._handleAuthenticationForCurrentAction has cognitive complexity 139 (threshold 15). Drivers by points: if/else 57 (126 pts), ternaries 2 (8 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 77). 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5e641f30a952a141f680b81dd174f737c00c393fb8999ef83c8febb9c332ac"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler._retrieveAndCheckIntentForCurrentAction (cognitive 108): STPPaymentHandler._retrieveAndCheckIntentForCurrentAction has cognitive complexity 108 (threshold 15). Drivers by points: if/else 32 (80 pts), boolean chains 28 (nesting depth added 48). 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77277002ffd92cceede56df5495eb78c5f6dcc3b157d8ee2d6725ff1196247d"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentCardTextField.recalculateSubviewLayout (cognitive 86): STPPaymentCardTextField.recalculateSubviewLayout has cognitive complexity 86 (threshold 15). Drivers by points: if/else 34 (56 pts), loops 5 (19 pts), ternaries 4 (7 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 41). 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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e3a32de544b4dcfdd8a412d021b49f497d28e5a58a91af469b59dc7f7bc6ca"}},{"ruleId":"D2","level":"warning","message":{"text":"HostedAuthUrlBuilder.build (cognitive 69): HostedAuthUrlBuilder.build has cognitive complexity 69 (threshold 15). Drivers by points: if/else 21 (53 pts), boolean chains 15, ternaries 1 (nesting depth added 32). 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":"StripeCore/StripeCore/Source/Connections Bindings/HostedAuthUrlBuilder.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5ca727d1e64b24ed4c355377aab6377b1d09b17adaab1db97971efb76fb4e"}},{"ruleId":"D2","level":"warning","message":{"text":"STPApplePayContext._completePayment (cognitive 52): STPApplePayContext._completePayment has cognitive complexity 52 (threshold 15). Drivers by points: if/else 27 (42 pts), boolean chains 6, error handling 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 17). Of this number, 48 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. 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":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca199fa894f50126c022b9ef48bb496fa6441f685e964975e256ca8fd6f3eeb2"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheet.confirmAfterHandlingLocalActions (cognitive 45): PaymentSheet.confirmAfterHandlingLocalActions has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 6 (11 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 26). Of this number, 23 points are the body\u0027s own statements and 22 belong to 2 function items inside it that branch. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41411f620c3aa3093d520fd058f633c1a35e8f60884164a2df340e2ed2c8f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeFlowController.swift.CreatePaneViewController (cognitive 44): NativeFlowController.swift.CreatePaneViewController has cognitive complexity 44 (threshold 15). Drivers by points: if/else 26 (38 pts), boolean chains 5, match/switch 1 (nesting depth added 12). 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d28b8ab6829ffd8cb7eb2fae6fc281642e52d722415cd67abe7bf193870976"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetAnalyticsHelper.logPayment (cognitive 44): PaymentSheetAnalyticsHelper.logPayment has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 9 (26 pts), if/else 8 (12 pts), match/switch 4 (6 pts) (nesting depth added 23). 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":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/PaymentSheetAnalyticsHelper.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7048f50247ce32964565a1160135ddeb06dfa23f620468344b041c4651fca2"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetVerticalViewController.calculateInitialSelection (cognitive 42): PaymentSheetVerticalViewController.calculateInitialSelection has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 10, match/switch 3 (5 pts) (nesting depth added 13). Of this number, 35 points are the body\u0027s own statements and 7 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"757b27b456791d9f7b29513cb4cabcd670c0afdd509336809e227a931f78838a"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorViewController.viewDidLoad (cognitive 40): ErrorViewController.viewDidLoad has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (29 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 18). 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Error/ErrorViewController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ead516ff27262920dfb148cc67999e77e07aafab2a05019b3ceb3e71e7f75"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeFlowController.closeAuthFlow (cognitive 38): NativeFlowController.closeAuthFlow has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (28 pts), match/switch 2 (6 pts), boolean chains 3, ternaries 1 (nesting depth added 16). 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"085ba48a3c7f31749f8bb1de149170ad3b86aeb166206a476dce4fdd3bb27956"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheet.handleDeferredIntentConfirmation (cognitive 38): PaymentSheet.handleDeferredIntentConfirmation has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (33 pts), match/switch 2 (4 pts), error handling 1 (nesting depth added 23). 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9271686f18f829188486e3352bd6d0a61d437d32def6edc9593a9ca951be3d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"STPDecodingContainerProtocol.castFromNSObject (cognitive 36): STPDecodingContainerProtocol.castFromNSObject has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 3 (5 pts), boolean chains 4, loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 16). 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":"StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7326ef417db05208b53afe2cfaf17210149aa7fb016a815160e4da161ab82e5"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAccountPickerViewController.didSelectConnectAccounts (cognitive 36): LinkAccountPickerViewController.didSelectConnectAccounts has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (26 pts), match/switch 3 (7 pts), boolean chains 3 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7995c919ea48f2a09a149e94b15560b3558c592e50c086182203f1b019eee3"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheet.handleDeferredIntentConfirmation_confirmationToken (cognitive 36): PaymentSheet.handleDeferredIntentConfirmation_confirmationToken has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (30 pts), match/switch 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 21). 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2960af0f9dd155031715e567f0646462698b7a82876833994581b4ad85098a"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler._handleRedirect (cognitive 36): STPPaymentHandler._handleRedirect has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 4 (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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"798b3a1240eae5c42799532e2a74be868b418f33e5227ed3baa52bb06fa0f37a"}},{"ruleId":"D2","level":"warning","message":{"text":"StackViewWithSeparator.layoutSubviews (cognitive 36): StackViewWithSeparator.layoutSubviews has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 2 (8 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 21). 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":"StripeUICore/StripeUICore/Source/Helpers/StackViewWithSeparator.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc4fc7e6bc7535f56c6e40a8504d9eaade51624e7467dd8d54505bf27ec1aa1"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPickerViewController.pollAuthSessionAccounts (cognitive 34): AccountPickerViewController.pollAuthSessionAccounts has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 8, match/switch 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce44694a09f6057f8a555881ed79feb90752129080f980055e930d44272e0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"STPCustomer.sources (cognitive 34): STPCustomer.sources has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 7, loops 1 (nesting depth added 17). 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":"StripePayments/StripePayments/Source/API Bindings/Models/STPCustomer.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ebc1643e41f58916da3efeda877b3960f546efcdab4cab2c0c4d7186300cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPickerNoAccountEligibleErrorView.init (cognitive 33): AccountPickerNoAccountEligibleErrorView.init has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22 (33 pts) (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerNoAccountEligibleErrorView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b8258bf6c27ef9514386bf914350057ddfe7d4a087e2a889db3b4bcfb42760"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentCardTextField.formTextFieldTextDidChange (cognitive 33): STPPaymentCardTextField.formTextFieldTextDidChange has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 1, match/switch 1 (nesting depth added 19). 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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41929dca20fe5e9fa2baaa300512c8b6127c51c7afeb6b30b42b3a8e92571fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementsCustomer.parsePaymentMethods (cognitive 31): ElementsCustomer.parsePaymentMethods has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 17). 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/ElementsCustomer.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc25138e39188031c58ec134fd92fe345814010544327a7d6d1bfcf80c2ab3bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfirmButton.update (cognitive 31): ConfirmButton.update has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (8 pts), match/switch 5 (6 pts), boolean chains 5 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/ConfirmButton.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a76cf26cf1d8269172d87a3b92273ac27a3e6c13c52db953714a1421139d17"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentCardTextField.paymentMethodParams (cognitive 31): STPPaymentCardTextField.paymentMethodParams has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 4, ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 7). 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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc05a099d3da9a49af6918ecbe05d8d92e434d2d5086b731bda155530ce2b10"}},{"ruleId":"D2","level":"warning","message":{"text":"STPIntentAction.decodedObject (cognitive 31): STPIntentAction.decodedObject has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 1, match/switch 1 (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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed53ee25a628a16fda7d4dddb428a42d0e6ce5d3eccc624f79b89c0217030b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAccountPickerViewController.linkAccountPickerBodyView (cognitive 30): LinkAccountPickerViewController.linkAccountPickerBodyView has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 1 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5813a4ca873c6aab0091ac11613e36d7357ff7cf0f8a4165d0a4249565b512ed"}},{"ruleId":"D2","level":"warning","message":{"text":"STPIntentAction.description (cognitive 29): STPIntentAction.description has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 1 (nesting depth added 14). 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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64d7fe5fdb79f20e9ac2fe15d61bdd9c9ca3d34cab1e426f025d364fc970249"}},{"ruleId":"D2","level":"warning","message":{"text":"STPAPIClient.updatePaymentMethodParameters (cognitive 28): STPAPIClient.updatePaymentMethodParameters has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (28 pts) (nesting depth added 16). 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"746c478740d3946637ea43a551500ec2f0d2689cfcb1c0797792467b8f60bcd5"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentSide.instruction (cognitive 28): DocumentSide.instruction has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 4 (11 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 9). Of this number, 26 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd8642c67311a50b3d9037970de78ab80ea34484d8af43f6912e67cb3159a4f"}},{"ruleId":"D2","level":"warning","message":{"text":"PartnerAuthViewController.openInstitutionAuthenticationWebView (cognitive 27): PartnerAuthViewController.openInstitutionAuthenticationWebView has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 6 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a80c762ee2cbad5759f30f373aa0a728a0ddd19f054eac52b728afc399795a"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentCaptureViewController.scanningTextWithNoInput (cognitive 27): DocumentCaptureViewController.scanningTextWithNoInput has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 8 (9 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 1 belongs 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController\u002BStrings.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcc040b824020eb143df8e15e17db6475532fc655013bdee0bd53a6ce6b7651"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheet.confirmLinkPaymentOption (cognitive 27): PaymentSheet.confirmLinkPaymentOption has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 5 (10 pts), ternaries 1 (3 pts) (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7239fe95b3aafaa49e1a7903f399289ec36d88b596f7c9e93b072e9cccf98c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"STPFormTextField.autoFormattingBehavior (cognitive 27): STPFormTextField.autoFormattingBehavior has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 13). 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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a8fbb242ebfc3160897790a40be9973db3c54422aeb7ead0866477ecdae34"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutElementsController.confirm (cognitive 25): CheckoutElementsController.confirm has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 3 (6 pts), ternaries 1 (3 pts), error handling 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabaca69308dd9552cda8da19b6bee030dec3c60b25e98552c3e7696b94cc060"}},{"ruleId":"D2","level":"warning","message":{"text":"STPAPIClient.makeElementsSessionsParams (cognitive 24): STPAPIClient.makeElementsSessionsParams has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (4 pts), match/switch 2 (3 pts), boolean chains 2 (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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"731ebf7fd919d9be1d87dcd25a82b505893e3d1e183c92f95ef095778f7f7be0"}},{"ruleId":"D2","level":"warning","message":{"text":"NSError.stp_error (cognitive 24): NSError.stp_error has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 6, 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":"StripeCore/StripeCore/Source/Helpers/STPError.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"110cc8c2f52be591bf628eba5cab1e491d0c4748912396b10f80cc41ec37450e"}},{"ruleId":"D2","level":"warning","message":{"text":"PaneLayoutView.createFooterView (cognitive 24): PaneLayoutView.createFooterView has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 4 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b7645c6a4b6782fac33e1b526207a5e08b08aaf2ec5b5fbfdcf69c2266d51f"}},{"ruleId":"D2","level":"warning","message":{"text":"FinancialConnectionsWebFlowViewController.startAuthenticationSession (cognitive 24): FinancialConnectionsWebFlowViewController.startAuthenticationSession has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 1 (3 pts), boolean chains 1, match/switch 1 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98dd44248d2ee5de9449598c7b446582c3d8eb15c1c7b2c187c1dffa74a1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"STPCardScanner.processVNRequest (cognitive 24): STPCardScanner.processVNRequest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (4 pts), boolean chains 2 (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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ea87f484dc7b5fbd7985110f13257d27f408436627997400ae5b13a4926ffa"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerSession.decoded (cognitive 24): CustomerSession.decoded has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 8 (11 pts) (nesting depth added 3). 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/CustomerSession.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc25e449a235bb56ea64fe2d976b26d91b7d39651c69a3266e948594fa61c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerSavedPaymentMethodsViewController.updateUI (cognitive 24): CustomerSavedPaymentMethodsViewController.updateUI has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 3 (8 pts), match/switch 2, boolean chains 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a2e9fe4c277f15f4ec91a524a2b224c8a3093a3dcc4151100a7acae6b9fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"BillingDetails.init (cognitive 23): BillingDetails.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2 (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":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b443f371fc3722088e5324504f0f32c8f0b1f9db28c351410430f0afd2b90e"}},{"ruleId":"D2","level":"warning","message":{"text":"STPAPIClient.billingDetails (cognitive 23): STPAPIClient.billingDetails has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2 (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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8be24fc2ca12655f6b13ba963227521e5c944823d1e15c72f4451eef773269"}},{"ruleId":"D2","level":"warning","message":{"text":"CryptoOnrampCoordinator.collectPaymentMethod (cognitive 23): CryptoOnrampCoordinator.collectPaymentMethod has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 2 (4 pts), error handling 1 (2 pts) (nesting depth added 13). 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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ade454b436e07933ab29ae093082de6b517fc206cda808feb65f588b6b07e9"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAuthFlowViewController.render (cognitive 23): LinkAuthFlowViewController.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, ternaries 1 (2 pts), match/switch 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verification/LinkAuthFlowViewController.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0d9b7e332657137adf900125e4078bf78eb71cf31bf8115aefe42ccec836f5"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetLoader.load (cognitive 23): PaymentSheetLoader.load has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, ternaries 2 (4 pts), error handling 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a561afcd0d930342c2561a4b3943fee7b5df416b17caad031771a41100573db4"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkController.authorize (cognitive 23): LinkController.authorize has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 3 (12 pts), if/else 5 (11 pts) (nesting depth added 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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9be20861223bc1b64efd52ebf0a62a89e44da4f5c463738eed2e2dedf0ac5b"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetFlowControllerViewController.updateButton (cognitive 23): PaymentSheetFlowControllerViewController.updateButton has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (6 pts), match/switch 1 (nesting depth added 12). 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1482d8b35039a019d72710b119dc0bded69f755c8017a8dd5eab3a69a4b2b8"}},{"ruleId":"D2","level":"warning","message":{"text":"AppleCreditCardOcr.recognizeCard (cognitive 22): AppleCreditCardOcr.recognizeCard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, loops 1 (nesting depth added 11). 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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/AppleCreditCardOcr.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9811e93ce997cb97e7282dde11f67fe4908d2123c0264b28aa71e98b34ec88b6"}},{"ruleId":"D2","level":"warning","message":{"text":"CryptoOnrampCoordinator.performCheckout (cognitive 22): CryptoOnrampCoordinator.performCheckout has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), 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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f500a8af4b59300221f6a5ba311b3c669be88af8b88822963f028df52b307"}},{"ruleId":"D2","level":"warning","message":{"text":"NSMutableAttributedString.pmmePromoString (cognitive 22): NSMutableAttributedString.pmmePromoString has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 1 (2 pts) (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMESinglePartnerView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69b1b949974d3256307c6205ae04ec6edb1ed230b702e280ca6ed5ee18bce67"}},{"ruleId":"D2","level":"warning","message":{"text":"PayWithLinkViewController.launchFinancialConnections (cognitive 22): PayWithLinkViewController.launchFinancialConnections has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 4 (5 pts), ternaries 1 (nesting depth added 9). Of this number, 21 points are the body\u0027s own statements and 1 belongs 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c86e9996afe506c26cd32bb5f1f69f1e194a1c75dd39b12cd941f7b739c30d"}},{"ruleId":"D2","level":"warning","message":{"text":"UpdatePaymentMethodViewController.update (cognitive 22): UpdatePaymentMethodViewController.update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 12). 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/UpdatePaymentMethodViewController.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3735d8d0c958eb20ace06e325190e0e2427adbdd2ae626723e6a7606d9fba4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPostalCodeValidator.validationState (cognitive 22): STPPostalCodeValidator.validationState has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (22 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":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPPostalCodeValidator.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92db776625de6d091655b0597fd5fe60df175e96f312c137918c9531065392c"}},{"ruleId":"D2","level":"warning","message":{"text":"STPFormView.set (cognitive 22): STPFormView.set has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b52c61bbaa3d57654202606f5812a9c8165d33ef62b4b4540c853b9684b644"}},{"ruleId":"D2","level":"warning","message":{"text":"TextFieldFormatter.applyFormat (cognitive 22): TextFieldFormatter.applyFormat has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 2 (3 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":"StripeUICore/StripeUICore/Source/Elements/TextField/TextFieldFormatter.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7669a5d211b0308dae679a563d239908c38ff6c182a5e47b9521b725b890fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfieCaptureViewController.statusText (cognitive 21): SelfieCaptureViewController.statusText has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (6 pts), match/switch 3 (5 pts), boolean chains 2 (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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4f9a1afb1709bd751638cfeaf4b54f8c58c590f5751e229a53be345306ea58"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetLoader.fetchElementsSessionAndIntent (cognitive 21): PaymentSheetLoader.fetchElementsSessionAndIntent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (6 pts), match/switch 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13edf9e060b3fc7ed38b51d2480e43a7926895ffd1b91e510cb8e60553db844"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerSavedPaymentMethodsViewController.didTapActionButton (cognitive 21): CustomerSavedPaymentMethodsViewController.didTapActionButton has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (4 pts) (nesting depth added 11). 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e6592cb794a20f8894e60da93182165466fbb4453f030594b499448fe21fb"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentMethodMessagingElement.init (cognitive 21): PaymentMethodMessagingElement.init has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (20 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInitialization.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8071dbfc149c550058859367b67ae95027044bd92657bb689f0fec50f381ade5"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetFormFactory.makeCard (cognitive 21): PaymentSheetFormFactory.makeCard has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 5, boolean chains 4, match/switch 2 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BCard.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"715cb13c3def1028117a483bc6574039c7be558c6b5262e4a915828e9bfec275"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetViewController.updateUI (cognitive 21): PaymentSheetViewController.updateUI has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (9 pts), match/switch 2, boolean chains 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f9f2b05559181d7b44d3ee24cd3f221a2e5a3adaf923a3e945ed9dab545d82"}},{"ruleId":"D2","level":"warning","message":{"text":"STPFormView.configureFooter (cognitive 21): STPFormView.configureFooter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 10. 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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"131c69a02ad7a8b906419d6a5f6fa2b3546df70f21322838e943da5f1e83fd12"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler.confirmSetupIntent (cognitive 21): STPPaymentHandler.confirmSetupIntent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5 (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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2518039c437d296bf1a62cbeb1b1a24a3001f1b2b1f2dcba8cf03192ec71a49"}},{"ruleId":"D2","level":"warning","message":{"text":"STPElementsSession.decodedObject (cognitive 20): STPElementsSession.decodedObject has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 9. 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cce7211b8e2803e41c42ae9a4402b3fb94681af2a31be65192fa230fc384e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Intent.fulfilledRequirements (cognitive 20): Intent.fulfilledRequirements has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BPaymentMethodAvailability.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f18589d390f8ea3025a80cefe65869405df50715ed1cd0897fba57b9c9effa"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutElementsController.applyDefaults (cognitive 20): CheckoutElementsController.applyDefaults has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (4 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController.swift"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6230650e804e59a6e50b77c079d97e97c73b6ecfa902867aa045d33f326784d1"}},{"ruleId":"D2","level":"warning","message":{"text":"STPCardFormView.shouldAutoAdvance (cognitive 20): STPCardFormView.shouldAutoAdvance has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (20 pts) (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb90c17aee9012c1a6835d44da653dfce97b70163e1053506aea05b680a0ab43"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler._markChallengeCompleted (cognitive 20): STPPaymentHandler._markChallengeCompleted has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 3 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a512b28b353bd698b7256257ee5ba1a6137cd052015a9433b2b8c419eac460"}},{"ruleId":"D2","level":"warning","message":{"text":"SectionContainerView.updateUI (cognitive 20): SectionContainerView.updateUI has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, loops 1, ternaries 1 (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":"StripeUICore/StripeUICore/Source/Elements/Section/SectionContainerView.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8aeb2604bc8818f8ca83b92e0a75a4fdff0687bf33b0625dcdce226ba9d74a"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceCache.load! (cognitive 20): InterfaceCache.load! has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 9, error handling 1. 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":"ci_scripts/api_diff/interface_cache.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92f545f928b67c0e0f7da3947f70357921235dfd792d16c14bcd3a8a9d79abc"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAuthFlowCoordinator.sendCode (cognitive 19): LinkAuthFlowCoordinator.sendCode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verification/LinkAuthFlowCoordinator.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd98f06ed81d6a4918fbf22aedf3b1030b42aac611a3f8bad7bc4ea8613f626"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheet.createConfirmationTokenParams (cognitive 19): PaymentSheet.createConfirmationTokenParams has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 3, boolean chains 2 (nesting depth added 6). 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c07cf1f20f2d0bb5a4219b058ba2ffef0aaf178ec72de1a50506284a0836327"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutSessionPoller.poll (cognitive 19): CheckoutSessionPoller.poll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), error handling 1 (2 pts), match/switch 1 (2 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutSessionPoller.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c400af6b379eb7fb81fc00e0173455a43f64464e69fa3a7eef11f35f671a0f09"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetFlowControllerViewController.init (cognitive 19): PaymentSheetFlowControllerViewController.init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 7, match/switch 1 (3 pts), ternaries 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"272ac18115fb373ee83e8de2c835325051d5729bab58c1417a8672253d245aac"}},{"ruleId":"D2","level":"warning","message":{"text":"STPTextFieldDelegateProxy.textField (cognitive 19): STPTextFieldDelegateProxy.textField has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7 (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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9311737a88ffa2cd7172be8b60e1aedd8e0e6176b808bf1dd005e8d1ac6bc5c5"}},{"ruleId":"D2","level":"warning","message":{"text":"STPCardExpiryInputTextFieldFormatter.isAllowedInput (cognitive 19): STPCardExpiryInputTextFieldFormatter.isAllowedInput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5 (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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldFormatter.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f3032678686178a0bbfd4da37e822f0a2b37965027b00e3828e2aacd7d7dc8"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler.confirmPaymentIntent (cognitive 19): STPPaymentHandler.confirmPaymentIntent 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5da014ee84e5576f6a78798f75422a9bea3dc7c1a9e1b342e0ec0aabcd4665"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler.handleNextAction (cognitive 19): STPPaymentHandler.handleNextAction 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"085de490feed2c95b744f2640105d7e119405f11dc1b6c514418b0eb363a9dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"STPAnalyticsEventTranslator.translateEvent (cognitive 18): STPAnalyticsEventTranslator.translateEvent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"StripeCore/StripeCore/Source/Analytics/Eventing/STPAnalyticsEventTranslator.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01c450a103b459b00379f0c656ea25dc17569a11a31795c6fae6ee302ab14e8"}},{"ruleId":"D2","level":"warning","message":{"text":"URLEncoder.swift.queryComponents (cognitive 18): URLEncoder.swift.queryComponents has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 4 (5 pts), ternaries 2 (5 pts), boolean chains 1, match/switch 1 (nesting depth added 7). Of this number, 16 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":"StripeCore/StripeCore/Source/Helpers/URLEncoder.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75522f9d367378715f7e24efe8c3f3b96fc50f2d21b040cbd6a0e9c0158a976"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountPickerViewController.didSelectLinkAccounts (cognitive 18): AccountPickerViewController.didSelectLinkAccounts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, match/switch 2 (4 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"03abb49226fd06a2ad41175e33c3d8fb74aaf4118f8a82b955d5f3b41e582ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthenticationSessionManager.start (cognitive 18): AuthenticationSessionManager.start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 1 (3 pts), boolean chains 1 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/AuthenticationSessionManager.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3164635dcf102b9f5676c04e9158689a36fea3e55b5219f8aa3393f600fc9c"}},{"ruleId":"D2","level":"warning","message":{"text":"STPEphemeralKey.decodedObject (cognitive 18): STPEphemeralKey.decodedObject has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, 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":"StripeIssuing/StripeIssuing/Source/STPEphemeralKey.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabc4e0f22a2a1c23650e1e6759628649b3b1fd94176ad20199ad0c86c7db56f"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkInlineSignupViewModel.action (cognitive 18): LinkInlineSignupViewModel.action has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 2 (4 pts), 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9112a5e452d596f1cbe1149320f36a711071cf8879917c82a5fe36eba661a318"}},{"ruleId":"D2","level":"warning","message":{"text":"TwoOptionSelectorView.handlePan (cognitive 18): TwoOptionSelectorView.handlePan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (7 pts), boolean chains 1, 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/TwoOptionSelectorView.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d46a3a2d4d3287bdc73ba2fa8b4ef5dfbddf7261efba2125c80098a3af90a"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentMethodFormViewController.paymentOption (cognitive 18): PaymentMethodFormViewController.paymentOption has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (3 pts), boolean chains 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b11e288c8da4253814feac5c5d9e2ace4a7ac9926a56c3f0b95fddd6c60e0d"}},{"ruleId":"D2","level":"warning","message":{"text":"STPImageLibrary.brandImage (cognitive 18): STPImageLibrary.brandImage has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 1, 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":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPImageLibrary.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba7b40e18772488a10d3c5f2aa21b907db4c3c53177c290d66af4cfddc7d633"}},{"ruleId":"D2","level":"warning","message":{"text":"STPCardValidator.validationState (cognitive 18): STPCardValidator.validationState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 pts), boolean chains 4, match/switch 1 (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":"StripePayments/StripePayments/Source/Helpers/STPCardValidator.swift"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad94042618ae9e6f31d5b75e10c94a15772f270f4b53f929d734723d9d08ee42"}},{"ruleId":"D2","level":"warning","message":{"text":"CryptoOnrampCoordinator.createCryptoPaymentToken (cognitive 17): CryptoOnrampCoordinator.createCryptoPaymentToken has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (2 pts), error handling 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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b1fd5fca2dca2e92a99d23c904cc0d94d74a933071302268d506a9abb1f6b4"}},{"ruleId":"D2","level":"warning","message":{"text":"FCLiteContainerViewController.completeFlow (cognitive 17): FCLiteContainerViewController.completeFlow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), error handling 1 (3 pts), 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":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteContainerViewController.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fcdcd55bc3403657a8b8faacd52f6565029a2fccfd8717fd31c92db2ff09c5"}},{"ruleId":"D2","level":"warning","message":{"text":"FinancialConnectionsWebFlowViewController.fetchSession (cognitive 17): FinancialConnectionsWebFlowViewController.fetchSession has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f235efc466ced37cbb225c74c73cc6d1e23f7dfe23b9d08d4bf6a996878a17"}},{"ruleId":"D2","level":"warning","message":{"text":"InstantDebitsOnlyAuthenticationSessionManager.start (cognitive 17): InstantDebitsOnlyAuthenticationSessionManager.start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 1 (3 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ACH/InstantDebitsOnlyFinancialConnectionsAuthManager.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7958a793b96d82576c3d396864e91e33a2b7e4260a9dfbae5f802b9c5c8746"}},{"ruleId":"D2","level":"warning","message":{"text":"IntentConfirmParams.setAllowRedisplay (cognitive 17): IntentConfirmParams.setAllowRedisplay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/IntentConfirmParams.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c945d02e07282d04965a69fd3ba74156e5ae0395fb7bfb9423c8d5b5493bc8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutApplePayContext.makeSummaryItems (cognitive 17): CheckoutApplePayContext.makeSummaryItems has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 2 (4 pts), ternaries 1 (4 pts), match/switch 1 (2 pts), boolean chains 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecec3e63d0de35639d67841af65de18a3b74b5540cabdf91a01fb2d96c0a2a30"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckoutElementsController.confirmCheckoutSession (cognitive 17): CheckoutElementsController.confirmCheckoutSession has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, match/switch 4 (7 pts), error handling 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b431bb038990224ed9d1d2c7c507bb8f5ae6986e6e3bdbbd7898a60e64c9b6"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerSheet.retrievePaymentOptionSelection (cognitive 17): CustomerSheet.retrievePaymentOptionSelection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (5 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheet.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4c05ac382f4f5cae410fa7f188de22af589a11934a5b092919b46572673a5a"}},{"ruleId":"D2","level":"warning","message":{"text":"VerticalListMandateProvider.mandate (cognitive 17): VerticalListMandateProvider.mandate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 1 (2 pts) (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/MandateTextProvider.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ad67e5dfe4578a9396a23d8c953744f993144496b86de04c63c1d18aa32952"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentSheetVerticalViewController.updatePrimaryButton (cognitive 17): PaymentSheetVerticalViewController.updatePrimaryButton has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, ternaries 4 (7 pts), boolean chains 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b56c1942e09a9fed10cd78bd6c24efa45a27c6ee116da413d441e52002993e"}},{"ruleId":"D2","level":"warning","message":{"text":"VerticalPaymentMethodListViewController.renderContent (cognitive 17): VerticalPaymentMethodListViewController.renderContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2, boolean chains 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/VerticalPaymentMethodListViewController.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c0dd3aa6e4002c969a540c0445a0a89bd7933d3676736484b9c4046a69f64"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCompleteViewController.tableView (cognitive 17): AutoCompleteViewController.tableView has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (3 pts), boolean chains 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/AutoComplete/AutoCompleteViewController.swift"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0836cb2d56a28aa0d3d6b8692bd7ae4bc31fd2a6cc0fd7940e03cc5586cfa0"}},{"ruleId":"D2","level":"warning","message":{"text":"STPFormView.previousField (cognitive 17): STPFormView.previousField has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 2 (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. This shape REPEATS in the file: one other method here (STPFormView.nextInSequenceFirstResponderField) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2215398222e56ad0383dd4c054c433c9213812934033cbb3e0326b5b6ef0282a"}},{"ruleId":"D2","level":"warning","message":{"text":"STPFormView.nextInSequenceFirstResponderField (cognitive 17): STPFormView.nextInSequenceFirstResponderField has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (6 pts), boolean chains 2 (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. This shape REPEATS in the file: one other method here (STPFormView.previousField) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1e5cb21c564822e0f9f81ab4eb42929bcdd82bd9a80a76b009a18a176136ff"}},{"ruleId":"D2","level":"warning","message":{"text":"STPConnectAccountIndividualParams.description (cognitive 17): STPConnectAccountIndividualParams.description has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 17. 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":"StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountIndividualParams.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"34359d78005c77d493d0251dc9189c4a2042e0ad62c34fe41eb469a4ec896e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"STPBINController.retrieveBINRanges (cognitive 17): STPBINController.retrieveBINRanges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 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":"StripePayments/StripePayments/Source/Helpers/STPBINController.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4dc685baaa14b51711ee2ae941100a16772fdae2be9ece456e0c4591f44ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressSectionElement.updateAddressFields (cognitive 17): AddressSectionElement.updateAddressFields has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4, match/switch 2 (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":"StripeUICore/StripeUICore/Source/Elements/Factories/Address/AddressSectionElement.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbbe9b5d6e567150161c9bb896b5fdb9f6eaaba42370e667ba89c646ecdaf9b"}},{"ruleId":"D2","level":"warning","message":{"text":"CreditCardUtils.determineCardType (cognitive 16): CreditCardUtils.determineCardType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (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":"StripeCardScan/StripeCardScan/Source/CardScan/CardUtils/CreditCardUtils.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bd5a7bab75a8f5edbb28be88ecf65299624e642fa0fe4d87f170f667c99912"}},{"ruleId":"D2","level":"warning","message":{"text":"PostDetectionAlgorithm.combineCloseBoxes (cognitive 16): PostDetectionAlgorithm.combineCloseBoxes has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 2 (6 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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b22274a78cdf81692c452b20e1bec3e67bdbdac1c8050b7737c124eed187a91"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoFeed.configureSession (cognitive 16): VideoFeed.configureSession has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/VideoFeed.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e6453a17e0694f5ffe5062518c3fbbf14e1df5402c4633894680e5c4a5f553"}},{"ruleId":"D2","level":"warning","message":{"text":"InstitutionTableView.load (cognitive 16): InstitutionTableView.load has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), boolean chains 1 (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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableView.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"05485bf702ce64efb16221259747725a1a9fa3bd317a03abc68eac82e3a1266f"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkAccountPickerViewController.presentAccountUpdateRequiredDrawer (cognitive 16): LinkAccountPickerViewController.presentAccountUpdateRequiredDrawer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"295bb765a6c6a94483fc1a1dbf3a046a2c8ab210aa69686c72245827993baed6"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfieCaptureViewController.imageScanningSessionDidScanImage (cognitive 16): SelfieCaptureViewController.imageScanningSessionDidScanImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ffb4735262895648fcf1c49691e36d4f35db70e4145fe367b41471e4f8cf4a"}},{"ruleId":"D2","level":"warning","message":{"text":"STPCardScanner.setupCamera (cognitive 16): STPCardScanner.setupCamera has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 2, boolean chains 1 (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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43c6085d215aef3c0fe090d54b2f2f06021098fbc435121e7fe9facd4974d47"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplePayContextClosureDelegate.applePayContext (cognitive 16): ApplePayContextClosureDelegate.applePayContext has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPApplePayContext\u002BPaymentSheet.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"40942387fd825b8e2cbfdd57c0557fe7fdcb2ed9d9b9c6b7d445d919dd812b03"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentCardTextField.textFieldDidEndEditing (cognitive 16): STPPaymentCardTextField.textFieldDidEndEditing has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, match/switch 1 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bcf9486085e606183d8be32ea691fcf028e12f773779254129a6dc837ff17e"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentCardTextField.updateImage (cognitive 16): STPPaymentCardTextField.updateImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 1 (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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad1aed47700c7e4f7d0d3b7ef88b69a9c5844424ca72fb759735abbe293c7f0"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentIntent.decodedObject (cognitive 16): STPPaymentIntent.decodedObject has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 6, if/else 2. 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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe85e68caa415409b4d925e0a214306df4d5a74aa3b1320dee5e5735b447ab88"}},{"ruleId":"D2","level":"warning","message":{"text":"STPFormEncoder.formEncodableValue (cognitive 16): STPFormEncoder.formEncodableValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 1, 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":"StripePayments/StripePayments/Source/Internal/API Bindings/STPFormEncoder.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f18d21f5b7df08ab358deacae20d2138f02da1d4501a742b12601ccb452407b"}},{"ruleId":"D2","level":"warning","message":{"text":"STPPaymentHandler._markChallengeCanceled (cognitive 16): STPPaymentHandler._markChallengeCanceled has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bc9cb246121bb77d6cc50d8f74324edc3428ebe939500f778b475a140c513b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: STPAPIClient: TooManyMethods \u2014 200 methods, declared across 17 files: API Bindings/STPAPIClient\u002BPayments.swift (75), Link/STPAPIClient\u002BLink.swift (26), API Bindings/STPAPIClient\u002BCryptoOnramp.swift (24), API Bindings/STPAPIClient.swift (22), \u002B13 more file(s). The bar is 30 methods; this is 170 over it, 6.67\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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf903cf81134bf1302e7eead69b8c55a1d174411bc302641cd916ffe8218f2b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: STPPaymentHandler: ClassTooLong \u2014 1549 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 1149 over it, 3.87\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"45dd8db7792cd7b8cd0cc2c14fa52c40910104fdbf0a82e2dee2c4676ddec17d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentHandler/STPPaymentHandler.swift: FileTooLong \u2014 1827 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: STPPaymentHandler (100-2488). The bar is 500 significant lines; this is 1327 over it, 3.65\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aacc5d501387f3d615ca493393c3f4c9921b1d4aed8a3a4977c183f4f6584a0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: STPPaymentCardTextField: ClassTooLong \u2014 1390 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 400 significant lines; this is 990 over it, 3.48\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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6164ff0022ae6f9f293e3cc75d0175d2d7a661e3afaf43505f00204126299c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: NativeFlowController.swift.CreatePaneViewController: FunctionTooLong \u2014 CreatePaneViewController runs 324 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 224 over it, 3.24\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41cc5efe551fb93bb32ee6122d77652171ca98e8b2016698fe1db829255576a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSheet.confirmAfterHandlingLocalActions: MethodTooLong \u2014 confirmAfterHandlingLocalActions runs 308 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 208 over it, 3.08\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bab9fbffcf1bc566fec1ed9796d48623a221ebd392f6dce18513c6f928bb2a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentHandler._handleAuthenticationForCurrentAction: MethodTooLong \u2014 _handleAuthenticationForCurrentAction runs 301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 201 over it, 3.01\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21136d5e038c42f26b9cc5b5263184575273d2f4d3bcc37a85ca5ae21288ca5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentSheetFormFactory: TooManyMethods \u2014 86 methods, declared across 13 files: PaymentSheetFormFactory/PaymentSheetFormFactory.swift (48), PaymentSheetFormFactory/PaymentSheetFormFactory\u002BMandates.swift (17), PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift (4), PaymentSheetFormFactory/PaymentSheetFormFactory\u002BCard.swift (3), \u002B9 more file(s). The bar is 30 methods; this is 56 over it, 2.87\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f036377251350d0d0d3c6ebff2e7923a40c8ba07a29bf36b108ea815b347f7ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UI Components/STPPaymentCardTextField.swift: FileTooLong \u2014 1420 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: STPPaymentCardTextField (21-2434). The bar is 500 significant lines; this is 920 over it, 2.84\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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b601ea9344ea9fb1073456993b30541f0863cfb68f27b9bebf35fb85e188fb3e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: STPPaymentMethodParams: TooManyMethods \u2014 83 methods, declared across 3 files: PaymentMethods/STPPaymentMethodParams.swift (78), StripePaymentsTestUtils/STPFixtures\u002BSwift.swift (4), PaymentSheet/PaymentOption\u002BImages.swift (1). The bar is 30 methods; this is 53 over it, 2.77\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"01985a531ea257b62dc05921de226635be34cab0288192d337f0711ae70cb899"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeFlowController: TooManyMethods \u2014 82 methods. The bar is 30 methods; this is 52 over it, 2.73\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5dbf241ab5cf19bac74df6df2267a5483ac9200ba8ddc674344e9e5ca9c35c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: STPAnalyticsClient: TooManyMethods \u2014 77 methods, declared across 9 files: Analytics/STPAnalyticsClient\u002BPayments.swift (21), Analytics/STPAnalyticsClient.swift (12), Analytics/STPAnalyticsClient\u002BCustomerSheet.swift (12), Analytics/STPAnalyticsClient\u002BAddress.swift (10), \u002B5 more file(s). The bar is 30 methods; this is 47 over it, 2.57\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":"StripeCore/StripeCore/Source/Analytics/STPAnalyticsClient.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e518ac23c72fbc6bfd43a167e8c229c8e4c2cbfd494b12e0393286b2762e5c87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Native/NativeFlowController.swift: FileTooLong \u2014 1236 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 736 over it, 2.47\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c364b0c96643f8afda98a566e589bbcffe15fa3f06feede15c421207cb1c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: API Bindings/STPAPIClient\u002BPayments.swift: FileTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 591 over it, 2.18\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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa24f79e0df52918810f2a4c7cce85177e2839885dec33d75e5c567c42eed38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: STPPaymentCardTextField: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eebf18e5eca4c2acead0b52b3dd713999be39b808e084ca7de0d1b144312e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentSheetFormFactory/PaymentSheetFormFactory.swift: FileTooLong \u2014 1042 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 542 over it, 2.08\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"531d37a81e165935c55a4a6325b5551293ab3fb44ac7ba6f3ad3a78f2f278edd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Link/LinkController.swift: FileTooLong \u2014 1002 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 502 over it, 2.00\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"909fe36be85d64b25e18aa80b0b70680d705f731af87a401086644751e7db28f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentMethods/STPPaymentMethodParams.swift: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: STPPaymentMethodParams (16-1223). The bar is 500 significant lines; this is 501 over it, 2.00\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2287d199140b3633509c7749919bc5419e3c838d741142ddfefd752437269d1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: STPPaymentHandler: TooManyMethods \u2014 59 methods, declared across 2 files: PaymentHandler/STPPaymentHandler.swift (50), PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift (9). The bar is 30 methods; this is 29 over it, 1.97\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbf5bd8b5b474292fa1f88279d874a7adbfda08ffd35981573f6818802994d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewControllers/SelfieCaptureViewController.swift: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 392 over it, 1.78\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d27ea7324bb5a6174fa5d0bbbc889709d1a2793912d970e2265ef2e93b0289"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: STPPaymentMethodParams: ClassTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded), 83 methods. The bar is 400 significant lines; this is 282 over it, 1.71\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb7c1632481b860b3d5885074f7290570d1206421c63bc3a06ee163c7044aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LinkController: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f27c3cf423f0fe4bf21ec2c626b766d16ff420b39d98c25b93a827b62904d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FinancialConnectionsAsyncAPIClient: TooManyMethods \u2014 50 methods, declared across 2 files: API Bindings/FinancialConnectionsAsyncAPIClient\u002BWrappers.swift (37), API Bindings/FinancialConnectionsAsyncAPIClient.swift (13). The bar is 30 methods; this is 20 over it, 1.67\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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a08674a14888be07122ec6507da1865c7eef9f323e4e124d72a9224842811"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentSheet: TooManyMethods \u2014 50 methods, declared across 6 files: PaymentSheet/PaymentSheet.swift (17), PaymentSheet/PaymentSheet\u002BAPI.swift (10), PaymentSheet/PaymentSheet\u002BDeferredAPI.swift (7), PaymentSheet/PaymentSheet\u002BPaymentMethodAvailability.swift (7), \u002B2 more file(s). The bar is 30 methods; this is 20 over it, 1.67\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7eab4013380c70fc1906ab84a071201976b270a0fd8351a239e4476a1acf59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentCardTextField.recalculateSubviewLayout: MethodTooLong \u2014 recalculateSubviewLayout runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b63fa2df660cf2d2f1fd5da8fa0cc24e61e3b613f2db760db7e1e81de24c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Vertical Main Screen/PaymentSheetVerticalViewController.swift: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: PaymentSheetVerticalViewController (14-890). The bar is 500 significant lines; this is 318 over it, 1.64\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"191ad7ff9837f94551441a6d1e7e849dc179fb604c5d84d31c00814239c09514"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CheckoutElementsController: TooManyMethods \u2014 48 methods, declared across 8 files: Checkout/CheckoutElementsController.swift (22), Checkout/CheckoutElementsController\u002BInternal.swift (11), Checkout/CheckoutElementsController\u002BConfirm.swift (9), Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift (2), \u002B4 more file(s). The bar is 30 methods; this is 18 over it, 1.60\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f797e71d3a7cb8d831979c060e776ae7f7d6c8990a89f05b00f09650570c2923"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CaptureTickMarksView: ClassTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 239 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/Selfie/CaptureTickMarksView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c90c009d415077aca2083d60a9325ff6c8c6129643ae77581fe6e56eeee82"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: STPBankAccountCollector: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 235 over it, 1.59\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22edd44883eecd8f4fcd83f9f47010b3ddf173a843a12af27e712d8f1767b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentSheet/PaymentSheet\u002BAPI.swift: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8647be301ece2e3c45ce76bbbd3c086ca3afcbaa061a34de779104fd8986fc1e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CryptoOnrampCoordinator: TooManyMethods \u2014 47 methods, declared across 2 files: Components/CryptoOnrampCoordinator.swift (39), Errors/CryptoOnrampCoordinator\u002BErrorMapping.swift (8). The bar is 30 methods; this is 17 over it, 1.57\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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"53199d2a040f83a5b64616ce228653939c7199db26dd46f4668bf90ed5e98c24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SelfieCaptureViewController: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8446833267daa08346fd9fb9b05ff084b8b0e0247ca0c2ae7ac7b9c6d4fe0e40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/CryptoOnrampCoordinator.swift: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: CryptoOnrampCoordinator (257-926). The bar is 500 significant lines; this is 254 over it, 1.51\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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"067738c7f20dc987efba94607e3b759356b5108e9fa34db2147915b4e96f4677"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentSheetVerticalViewController: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b9241c6e89ae72685cb81a9018e32fd3427785230cbc364fcbf6d054fdcb5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomerSavedPaymentMethodsViewController: ClassTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 198 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9740a169d6864a2b4d44f5fbe930c37518ddc2e254f01091cd8ffd44331977"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSheet.confirmLinkPaymentOption: MethodTooLong \u2014 confirmLinkPaymentOption 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db6383bdfe37b7794fe54e0953bf0e894eef087b058a49fd0c509081cf78dc0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentSheetVerticalViewController: ClassTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 186 over it, 1.47\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a4acc5c9487c63bab2729d4743363d1f93e23ad05eec91d0f2ea2bee7152e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Selfie/SelfieScanningView.swift: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: SelfieScanningView (16-820). The bar is 500 significant lines; this is 232 over it, 1.46\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/Selfie/SelfieScanningView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2938cfaaf602616148ea0d09a09b194271fd5f95b8ba1bc2a86a22fcdb4a2c47"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SelfieScanningView: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 184 over it, 1.46\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/Selfie/SelfieScanningView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"af329a452c17b876e6c689e5953398cc290a3dc247b6e79d667f6304964277a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LinkAccountPickerViewController.didSelectConnectAccounts: MethodTooLong \u2014 didSelectConnectAccounts runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd57c0b28a4908228ccd4dcf0407404ca943164b4e51279d63dcc9b5667e2e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EmbeddedPaymentElement: TooManyMethods \u2014 43 methods, declared across 2 files: Embedded/EmbeddedPaymentElement\u002BInternal.swift (32), Embedded/EmbeddedPaymentElement.swift (11). The bar is 30 methods; this is 13 over it, 1.43\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"484a0221fa69566d5580228871422c4c46d70b740f9de9590def15c9418c58b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentMethodType.makeImage: MethodTooLong \u2014 makeImage 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c5724fba8073d65b343bb4ff4645a97c7379126a6725b6be14baf40154663a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPAUBECSDebitFormView.init: MethodTooLong \u2014 init 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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPAUBECSDebitFormView.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8a456845367b7be69fd905c9356e4c59458ea2d07fdac0b5e6f0fdfe0be93c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Helpers/STPBankAccountCollector.swift: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: STPBankAccountCollector (29-966). The bar is 500 significant lines; this is 207 over it, 1.41\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6805e68db31f86fc53090e0bf7b669fae4ae9df26bbb2ad2569fda7e3ac038"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PaymentSheet/PaymentSheetFlowController.swift: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 206 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cdd63ab6032885236b958e095506962cb2336bf3f05ff8d2cc5cf057f57c74"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: CustomerSheet/CustomerSavedPaymentMethodsViewController.swift: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: CustomerSavedPaymentMethodsViewController (22-844). The bar is 500 significant lines; this is 205 over it, 1.41\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ebbd2b6d931308dd92a9e1ab041ebdb8fb6d9580961ab1ed9182443cffd617"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScanBaseViewController: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanBaseViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4aed413c21ce52735d30f4e9c97c836c2c78737f0581af255c387b6aba14f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: API Bindings/FinancialConnectionsAsyncAPIClient.swift: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eea8b2de3970bf96d0bd6c812293a4042e0eb8b45edc1fc3033b14a9d17850"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentMethodType.displayName: MethodTooLong \u2014 displayName runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodEnums.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e9264e81be50f1a2a5a1738a42f272f8dc754b6835984b6ac3fcda9b8f41b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentHandler._retrieveAndCheckIntentForCurrentAction: MethodTooLong \u2014 _retrieveAndCheckIntentForCurrentAction runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"68565cb889317d21133429be590f143f6d8bc4d9db4c80a3bac9df01aba37170"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPApplePayContext._completePayment: MethodTooLong \u2014 _completePayment runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b37493bb2593d4d86030a4b16a86a355bb2c24582d79e7a98907f5eaf6d1acd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPDecodingContainerProtocol.castFromNSObject: MethodTooLong \u2014 castFromNSObject 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":"StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d838d7768a1388ad050c3440a99acee3635717f4258106035fcc8ef2f8dcd908"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ErrorViewController.viewDidLoad: MethodTooLong \u2014 viewDidLoad 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Error/ErrorViewController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e704622b4148fae585a934b2332fde3bfe0b1159074e9734614225f6778c4d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentMethod.decodedObject: MethodTooLong \u2014 decodedObject runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethod.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b20cec065967550394676877a321add73f882f10de0d402470c7fa92d78fa48"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentMethodType.identifier: MethodTooLong \u2014 identifier runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodEnums.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac047c80f6469dc4658f643f7d0cef92cf6cd0b3c7abbf63156d00ea7991cb95"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Saved Payment Method Screen/SavedPaymentOptionsViewController.swift: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605f0024baa0a38c70a260ea7627b0e437b73537a18085c948c8016ffc7ffc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Selfie/CaptureTickMarksView.swift: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: CaptureTickMarksView (12-874). The bar is 500 significant lines; this is 159 over it, 1.32\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/Selfie/CaptureTickMarksView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"886a179805e58d997aff76b0d7d7d0c040272c52d61db78b4c37db4af6089aa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Link/STPAPIClient\u002BLink.swift: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e1c99a6c0981bc194ebac8edfd3501e430b52f5074938086e4f299e4390efc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OneTimeCodeTextField: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1bf18a526f24bbaddaa8655ccc43b4c8fac772054f79ec0c2a42be84d8f77c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AddressViewController: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e66a5f676f3a2f8a8288200f74124f54271a9939ca2fa4c897397d9125183ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CheckoutElementsController.confirmLink: MethodTooLong \u2014 confirmLink runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc7d7fb39afb990ef7159d748d903d7bf055cb054c4d0e8039072e3fc23b5f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CustomerSavedPaymentMethodsViewController: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f52dafc63461392f1b20900520f8c4dba5117139d65bbd3d5c90aba81ff3af"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: STPPaymentMethod: TooManyMethods \u2014 37 methods, declared across 9 files: StripePaymentsTestUtils/STPFixtures\u002BSwift.swift (9), Categories/STPPaymentMethod\u002BPaymentSheet.swift (8), PaymentSheet/PaymentOption\u002BImages.swift (8), PaymentMethods/STPPaymentMethod.swift (7), \u002B5 more file(s). The bar is 30 methods; this is 7 over it, 1.23\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethod.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd069b544e7600fd90e82c4dc545519c4da4f06fc30170f98a2baaf7f7d9ec5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPPaymentMethodParams.init: MethodTooLong \u2014 init runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba34f9884658d6f115d285247d8325a901debda16a5ed1b0437b657357ee5be4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: STPApplePayContext: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 80 over it, 1.20\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":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"861450a0b09bf9dbdfe3b7b0d207e874033183dd6e33bf8f7a835ce82205dde9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Embedded/EmbeddedPaymentElement\u002BInternal.swift: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 100 over it, 1.20\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3d30394564249d208d7ff5bea4d13be2d882a9faaf337ccb369ebf15e78617"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeFlowController.closeAuthFlow: MethodTooLong \u2014 closeAuthFlow runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca83df3a37e711c90d8baf3343d7b5e129cbfe26a782fc4ffdbdd4bb416a9923"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controllers/PayWithLinkViewController.swift: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7df1ef8ac8ffaed41da339e249406fc99f28c1ea49a5c386842f412b6898ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: STPIntentAction.decodedObject: MethodTooLong \u2014 decodedObject 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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f017d121c7c22913f8f8cb7d97a8eb1c3ebad06985ef8a04d8142341c914f7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SimpleScanViewController: TooManyMethods \u2014 35 methods, declared across 2 files: UI/SimpleScanViewController.swift (34), CardVerify/SimpleScanViewController\u002BVerify.swift (1). The bar is 30 methods; this is 5 over it, 1.17\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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caf8fda7ebe9b78fe6d8df27b1ef95abf7bea2ab2545e51cbc7b230d0c97589"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeSheetContainerViewController: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a96d6532d8377bda30a57d879c57180597dc36fc26b29cea1fc61251ecf627"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CryptoOnrampCoordinator: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 65 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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aedd67bcbc86a2227b771b50e686f7e80ddadc651ffbd799a61b790163a04dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ApplePayContext/STPApplePayContext.swift: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: STPApplePayContext (160-939). The bar is 500 significant lines; this is 79 over it, 1.16\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":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2463611b53fc88e5d4eb6f08f9ab4f1714d96616452442f78abfb9fb867280f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Coordinators/VerificationSheetFlowController.swift: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 77 over it, 1.15\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d64fe3db19dc24312e8e4fd3ed923a04f1e3d99dfb6c05febcdb0696779f13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSheet.handleDeferredIntentConfirmation: MethodTooLong \u2014 handleDeferredIntentConfirmation runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54958400877acf192a3205c780cb55b60de4d97c91d551479b4cee416c93cae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controllers/PayWithLinkViewController-WalletViewController.swift: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 over it, 1.14\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f680255ea28029983d8bfaca8e15585d33bcaf16515862534853a329abe8db5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConnectWebViewController: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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":"StripeConnect/StripeConnect/Source/Internal/Webview/ConnectWebViewController.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"218a6bfe65c17f5f1fcdf624439a0ab6098af86b2f229380dcdc311985fc229e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewControllers/PaymentSheetFlowControllerViewController.swift: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: PaymentSheetFlowControllerViewController (17-622). The bar is 500 significant lines; this is 66 over it, 1.13\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0865529bf1c9a2fef281ce1523c0f5a16ec9ca085a72eef426fd86046bca992"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountPickerNoAccountEligibleErrorView.init: MethodTooLong \u2014 init runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerNoAccountEligibleErrorView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae70b6042fbbafc5e2dfd7346c9b9bc0656af130bdc16536be2ebaeb27f720f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VerificationSheetController: 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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7be682577bd0fa42e0aa625075f767c63c4f0e064b4ba0d0fe6201959da0f40"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentSheetFlowControllerViewController: 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d32604dbaaf0d691c6902f08f68ff9f563289d64bbb2046b4d76a2ccc83002"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewControllers/DocumentCaptureViewController.swift: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: DocumentCaptureViewController (15-640). The bar is 500 significant lines; this is 50 over it, 1.10\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9ade1327355ac6748026e86e040dcab2ca1f2da742d22e30afa5ca31b9ba57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSheetFormFactory.makeCard: MethodTooLong \u2014 makeCard runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BCard.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3330a9a76d47af079c3195566a0bb92f5b9da99c7070d08cbd257242bc46e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfirmButton.update: MethodTooLong \u2014 update runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/ConfirmButton.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b900e5e2192a12ebb0e740a5d604b6be43019f69049fd2baff9bd40525a9599b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Helpers/PaymentSheetLinkAccount.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f1d42a7157c364f813324e387c5f47101b7582fb859b000df4431fd2498e89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ViewControllers/PaymentMethodFormViewController.swift: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"549f3ba2c99b5b8ac61d03837ae25adb9c08b082e1c528dd882dd6a03d4f679e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CaptureTickMarksView: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/Selfie/CaptureTickMarksView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79359ee1a129be3c89d1db67df603ea3a5637964238de07998f8f2201b60a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentSheetLinkAccount: TooManyMethods \u2014 32 methods, declared across 2 files: Helpers/PaymentSheetLinkAccount.swift (31), WalletButtonsView/WalletButtonsView.swift (1). The bar is 30 methods; this is 2 over it, 1.07\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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9282b3c555c7ff05dc1e63ecddf13bde642e385eebcdc1ed3101472bb1dab3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PayWithLinkViewController: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7d11cc9b0c3019069f2c3129fb716a0600f6d55e84f5472a4f043085e1c64e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaneLayoutView.createFooterView: MethodTooLong \u2014 createFooterView runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c764a175572a0be7ccff261c770df9bd712321d445f6e8639d5bfe0cca0c64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSheetLoader.load: MethodTooLong \u2014 load runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"153943f440bc45910e34a19e84f838da9cc9951c470f28ae65237bffb127e2b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PartnerAuth/PartnerAuthViewController.swift: FileTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: PartnerAuthViewController (34-723). The bar is 500 significant lines; this is 27 over it, 1.05\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44aceb349f263b3d5d1774bbc783b5d0abb3a89df9cf1733c90bdf3c3ed31799"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Categories/String\u002BLocalized.swift: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 25 over it, 1.05\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":"StripePaymentSheet/StripePaymentSheet/Source/Categories/String\u002BLocalized.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb23fc110db52fa3fc90e70b5ec44432bd8cf876e00b82a24bc3fd12f6eb69"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PartnerAuthViewController: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 19 over it, 1.05\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"05aed0146a822b49fecbe010c98e6775a56c23462ed35cb8505073c09d7cc886"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DocumentCaptureViewController: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 18 over it, 1.05\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c046430041081a291b7b6b472e172f39c4036206f79ab242a62f6b2d04160"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Vertical Main Screen/RowButton.swift: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"380dece7743019b28970ab3dc355a78b72405f008d405b633d6caf55d559d898"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AddressViewController/AddressViewController.swift: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a443c1f29606cdfcf27552202f43372b8e4187bc443dd1ef02857c8842a6b6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PartnerAuthViewController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820436f4cd68e394b08a899c9ef25d89fbd55dce88d21c7e361a8f6f66a7459"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocumentCaptureViewController: TooManyMethods \u2014 31 methods, declared across 2 files: ViewControllers/DocumentCaptureViewController.swift (28), ViewControllers/DocumentCaptureViewController\u002BStrings.swift (3). The bar is 30 methods; this is 1 over it, 1.03\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f8ded6366a18262d7beead61eded9f8d31e8cf981aa2ba570ecf69cdc53e73"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SavedPaymentOptionsViewController: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b4e0c243f37502cd3c7516e63466bedacaca8423c25cfb38cd62eb8f92e1db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentSheetAnalyticsHelper: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 10 over it, 1.03\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":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/PaymentSheetAnalyticsHelper.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f86b8d10474db7c2cede78a3c591f3f95b156653f210757bb61df86d01f0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Controls/OneTimeCodeTextField.swift: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\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":"StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad80c08868b28ca6a1275268993f267e59d830044f1499edf03b089568a0b10f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CheckoutElementsController.makeConfirmationFlow: MethodTooLong \u2014 makeConfirmationFlow 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d081fefa8219a9d3d53202ce22f0f9e34b245e8af35137a600b2a8ce7cbf89e9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IdentityAnalyticsClient: ClassTooLong \u2014 405 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 5 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":"StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2154ee241b967ea7b94e8de3454625c29d4188813c672af540067a69284aac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Coordinators/VerificationSheetController.swift: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: VerificationSheetController (134-735). The bar is 500 significant lines; this is 6 over it, 1.01\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"360aa49a8de5da63998dea60593abdec1a092bd3b557159a54e5e83bbfc493ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 35 shared lines): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:126-196 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:210-282 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:551-620 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:634-706 \u2014 These 4 members are variants of one another: a block of 35 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 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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b64f2d2febed3f5cac677bd90acf9f89065389baf6723e9a10f0f39267848"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:12-156 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:63-228 \u2014 These two members are variants of one another: 56 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae34eafd24c179032ca7699ec4c4f1dd9da5fef3d65416ba699c1e89735d4840"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldFormatter.swift:45-81 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift:77-162 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldFormatter.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6ec74044941f54d04a514bd655023df83f1481fdd6f75ca5f80618fa1f1e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): StripeIssuing/StripeIssuing/Source/STPEphemeralKey.swift:37-80 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethod.swift:295-493 | StripePayments/StripePayments/Source/API Bindings/Models/STPFile.swift:106-133 | StripePayments/StripePayments/Source/API Bindings/Models/STPToken.swift:104-132 \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":"StripeIssuing/StripeIssuing/Source/STPEphemeralKey.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c57972656d4ef719fc0f8e7255ffc0bc3c906249c14a719467addca686bda7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:204-239 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationViewController.swift:84-118 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:299-345 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:221-262 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"001779c3878ab3e5bd57341991d889f0e2b5a4c51b208f1a131450e7e6e1a593"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:389-425 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:792-824 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1129-1162 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Saved Payment Method Screen/VerticalSavedPaymentMethodsViewController.swift:497-529 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ea97f96e3d527babf04695dab83530afb4c3a1939b3f43bf8aa07183828fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:29-91 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift:39-102 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithRadioView.swift:64-112 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFloating.swift:87-131 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbef992e8da48f8b01c9f8a795c519a9c1c2615cb69e7c3b79fe06e8c475973"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (109 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:471-579 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:581-703 \u2014 These two members are one piece of code written twice and then edited apart: 109 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"531edefb2bfb7a95935c8efe4f25ea5c9abc555a39674763e4a4361c3218237f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:200-304 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:553-660 \u2014 These two members are one piece of code written twice and then edited apart: 105 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdbe26634de6a42b64cb9c4b9b64126b7b7baca290039409976a12824ef8483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:454-544 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:760-842 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6ed93fda80ab5f8801b7dec4e8a8c1366b47bf91210f111f486a3f6d968f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:438-506 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:176-244 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"2207e64808bc5f7d3b0c25f6eb1a007deedaab98b1ad00a6ff015ecb044d8650"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:387-454 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:810-875 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"f358930354f0be0a29e958b6f8712210fd2de8107c28799d87bdec78701dad6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1004-1070 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1073-1151 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"569ce805a4f9fb4af2bc48925c59f22fa402c5ab7e0eade9578cdb08305fb39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift:37-86 | StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift:90-141 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb025cc981e020b62b7c6aa30086af1a8da8c82bc38526d4a190f2e2899dd1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:267-328 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:336-395 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"183d1c930c09a8e078fe7224c51f8470febe444ef8cb0d9be149c91a34c8b570"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift:16-62 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController\u002BStrings.swift:18-57 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"43233355341314ac6b8ee7e6101ea881723167233d35c7c0092abdef982d21d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:275-306 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:530-562 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6462bb5bfe47531e51a3fccdc701c68fae02a7a2acea25d34d7e035859f20e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Example/AppClipExample/Shared/BackendModel.swift:42-65 | Testers/IntegrationTester/IntegrationTester/Source/Models/BackendModel.swift:53-83 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/AppClipExample/Shared/BackendModel.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d26cd15dd8007443c99e64c32862ea600cfb07d891833725cb13234ffbf93c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionAPI.swift:27-76 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionUtilOcr.swift:16-66 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionAPI.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c728e240ac6c759d4694f31636f51ce75bd17f636e07650d61cb68a84c24290"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 48\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:310-357 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:679-743 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:459-509 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 48 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f66f016baaf4989158692d2482479f2c274ecd55df443f274122186d0ab08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:630-679 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:888-932 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"553849387896b0e1c84269ebccc80ef19116ad30b55b243b65dc4d8ce0c7b8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:306-347 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:850-889 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5c0db918801231216adf17e759837d4bf1f17f254a4a40bac0addd51692f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift:52-103 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift:63-112 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:150-201 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffb35c9c8dfcb309fc12dc021f5182a09e33ed662e0477fa6974690653fc103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:405-437 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:703-734 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7d057c6b8462063ea24789b1eabf225904e1b825213c7776543913d7017256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:569-598 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:979-1007 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"18793451cdfc1bb373a4bc3b23db769ab404229353d155d30410bebf86adac81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BSEPADebit.swift:13-27 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BUSBankAccount.swift:13-31 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BSEPADebit.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f954e45a097581e5bb60eb3cf1e30c54c73e101306f3ada5d111cbe7ab5f62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:354-385 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:777-808 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c40931da2b746643cbeb5854a53b8feaeba1b624bf3deef479d7a0b4185835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/FinancialConnectionsFont.swift:67-98 | StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/FinancialConnectionsFont.swift:114-145 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/FinancialConnectionsFont.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f5bcc920e558fae03652cffa26302a34c15b9f3ddbefd44453bf6e05f2230a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:257-299 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:94-133 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d88dc464d74b5a0c0b34cc33fc79ae88b4e32b097a87f9ffc9906666f34498e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:91-138 | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift:113-173 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f54d72eb3952bf6fd433e8d083c0d383e86c5eec79baf69885c8a655dbe84a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift:67-113 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.swift:92-133 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9884f2b2ea31c0f3a21613f8684b27d8d5175a5842bcfadfc44026167a22e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:109-139 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:141-171 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9135e84a6653e09e7cc080a9f97c04ce97dc12968b04483e7c660f22aa00ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:19-51 | Testers/IntegrationTester/IntegrationTester/Source/Views/SEPADebitView.swift:19-61 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de592708997d49123920f53156b9ce302b72b1991d6139c21246eaaeeae743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:437-463 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:695-724 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c9788f2ab7234f778bea085991e2918a3c181b89eb783e78092d356be0bb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:356-421 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:94-159 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"66974022a90df43072d7f8d760cfb9e20f53ff03001f8044081081a227d66bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2675-2707 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2710-2743 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ee520ce47ac429ddabb412e744a176ab383740ed34eaa677bedfc0ce278fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:843-880 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:987-1028 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"3666c07601906f20bf67a95099bafee05b5e7e3eb9cf5016685744adc962eb7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenParams.swift:48-65 | StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntentConfirmParams.swift:121-147 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenParams.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2e5dbdaf9fbbbe98f6dbf53261d7a5f6a2323eb11e622ac69f955cfceb8151"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:173-191 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSourceParams.swift:116-133 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73c42554d2b5e1b990d0c48d82cd58231a39fb8db060d61a4fa2b2e3f6a3571"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AccountNumberRetrievalErrorView.swift:16-70 | StripeFinancialConnections/StripeFinancialConnections/Source/Web/ContinueStateView.swift:19-66 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AccountNumberRetrievalErrorView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45964441d5ab608cf4ab904e554198b9de75d76937569f7ed1c6911a636e730"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripeUICore/StripeUICore/Source/Elements/Factories/Address/AddressSpecProvider.swift:28-57 | StripeUICore/StripeUICore/Source/Elements/Factories/BSB/BSBNumberProvider.swift:22-59 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/Factories/Address/AddressSpecProvider.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd60df6ff35c3e158dcf4026ab6139fae9c96d7efa78a584c545fbe9d66183f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AttributedLabel.swift:48-74 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AttributedTextView.swift:211-235 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AttributedLabel.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d796ab26d96e850e0ca311db9ef474a7e19dfb0068851a3b2ab34db432ec8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift:518-541 | StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift:543-566 | StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift:568-591 | StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift:593-616 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce66710bb6772f5acd66409b992b8749d725a1270af7f1fd463baf3e4b46a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift:110-134 | StripeConnect/StripeConnect/Source/Components/CheckScanningController.swift:76-105 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad24d482955f00c2ef3a1b109a98121e2ddf1712e57bdd3c5ea58ff9ca9b7011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:419-446 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:580-620 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5542018f79abfd40fe3346ee94dbbd3c018c99ff91919e802134f88b07aa3dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:145-176 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:189-223 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8e3f0fe00a00e7ca544e0357d8d87048bd550da13256c038fea851ca883355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/FormElement\u002BLink.swift:36-59 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/FormElement\u002BLink.swift:65-88 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/FormElement\u002BLink.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2977722f4e83e76abbf66e146bc8e5d7bb92ef66c57093ef264669e5ab85cfaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenClientContext.swift:69-82 | StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenParams.swift:74-87 | StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntentConfirmParams.swift:177-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenClientContext.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cef5eaa3a2dee35aa91cb237bc1f90289e7fe8a9513c33d17e5244eaac4fff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:67-96 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:99-134 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"171453fe0b8897a257d8b5682504c5d20a37c102277050b297fd8b5cc35a0dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift:15-36 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift:38-60 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift:62-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a99c40daab64b44b49454046eca37f840a610d220ffe9f829f71e5b3f40551"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:275-309 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:311-340 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd919753da8dcb1cf59700ab2332e70034127283d8ab4912a81d9fc59b5de29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift:101-116 | StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift:118-134 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1bd085390a497ea4b9c1404b71b43c787489f103a94cc284aae9cd5ceb1fd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift:384-421 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:338-378 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbb6fcb6705eb914213c54c356d0f6656dbfb9b37f6e30c35f2928c323b4c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/InstantDebitsPaymentMethodElement.swift:284-322 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/USBankAccountPaymentMethodElement.swift:213-236 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/InstantDebitsPaymentMethodElement.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4d52594f8291d7735683ffeec18766f609fbaa4959039dfb0553d432cc8cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:51-80 | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift:71-100 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a28eb61555a8bb1928d13e21f177631b819963447d9791dcc886e0e55a7c16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:23-45 | StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:65-92 | StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:113-135 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e2c7432e0bddc18ad4951520ace08be47f604421fce2a1b654195107caf46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:581-607 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPApplePayContext\u002BPaymentSheet.swift:150-175 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f94c51688172fba22bf2378456cdd5e91cd25c13696412aadbd6ab5304560f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCardParams.swift:151-168 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPSourceCardDetails.swift:118-134 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCardParams.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27a6ec838fa3cdc6556d352890b6ee361b636ab6c7a144b3271e1c65273758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:512-527 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:529-546 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"875562c44b056b40a09d8fc027d29db93c481bd227dd1fade2d9be31c6539ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:482-511 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1117-1149 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b15590e07a72266c96ca0ac73a1a1c9b653900e582ba0431faa2df25b23c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:238-267 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:269-303 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"58094e5402339fdecac3c147b1d6132d3d31b2ed82db5b2a9afa107eba6cc5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:380-406 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:608-637 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2ce792db9ac070e1959e9aa712bf6cae1ed2629d8fe4fdd64234eb5df8bc44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/UIButton\u002BPaymentSheet.swift:27-43 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/SheetNavigationBar.swift:302-321 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/UIButton\u002BPaymentSheet.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"167bee2c882ece116399ee35e5e5fe4468202008adbe8b5d62540a5221929bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/Extensions/CGRectExtension.swift:11-30 | StripeIdentity/StripeIdentity/Source/NativeComponents/ML/Helpers/NonMaxSuppression.swift:39-53 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/CGRectExtension.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dab4f16725f6d8d7c5e23503c2ceb9640f81d1dc008ea7cdd6b2c69840db44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift:80-110 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithNativeLinkController.swift:299-329 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce03dbda499a8f95b14148e3f8f88430f5f74ba5e3cfb8e9d0f337d7dba5a2eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift:39-57 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift:46-64 | StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountAddress.swift:45-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d50881316ce0720cb18209ca71545846a936ec29089984c3b2a798dbd3772e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:931-965 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:967-1001 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c56b0c9283dea8ea04f7b852c46761eb3312fa94dbd6ec7a492d9a17f91f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenClientContext.swift:44-60 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift:133-154 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccountParams.swift:89-105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenClientContext.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef9b40e4739f5c8f1b4c9405900173da2d7110b7179d6306ce0467838cbcd7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:427-446 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1164-1182 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9948033a7542949dbf47713d9a0be0a6799908ca9c67f03d7296bdd1b48653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryFormView.swift:150-179 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/NetworkingOTPView/NetworkingOTPView.swift:146-173 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryFormView.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8279ecc9b9d100efb8b287d781399b2ec1a003620cebdf2fbc27a2f7f4a3216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:346-367 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:388-410 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:279-306 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6bd1509f70df6e009453dba0a7232331f5e124c9939ea95711ae1e5e7795f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift:25-42 | StripeApplePay/StripeApplePay/Source/PaymentsCore/API/SetupIntent\u002BAPI.swift:24-41 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e117d48528d62223e49e73ca3491712cee71677c0873575c2af45bb083ebb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:52-66 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSEPADebit.swift:30-45 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b1ce364b6a03a1873dbaff1b123051f9e3d7a7ba621cbcd8edd280241232b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:456-472 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:756-772 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e728aa5f23bd05c331fa725a950c6410d4fb87d06e7900224bf6fb2f0ac2bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:391-421 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:819-848 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba75e44ed3860abaf9c66b091f33447aeefe44bd78af17fc50ffb6e3da3ad39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift:420-450 | StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift:453-487 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a640c6d7dafac34f64daff2b13df6357eb0b0b32b20a13e126a70a2816a62098"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift:138-170 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift:172-202 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"21063a812064bda95092cdcf8753ceddf1b8e008f446d68441c0fb5057a85b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift:121-140 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift:351-370 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0ee37b3039338ac6084f303881f4ef40e251dbaea8fab22ef1406f6bab6f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/FinancialConnectionsSDK/FinancialConnectionsSDKImplementation.swift:100-126 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteContainerViewController.swift:252-276 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/FinancialConnectionsSDK/FinancialConnectionsSDKImplementation.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d34fc40dc249fb17b292dee7f15188e95988fcfac802e7bfeb6f2eef6ce40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift:78-89 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:70-81 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f453684ba387a9bb5ede28340c27a369d5404562b7d1fde9a3b6cd1d4ca8a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift:110-128 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift:131-149 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55e60a49113eaccfcd09c510cd03d4f67803ee582b6cefad3e6dfcb48b2a811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:135-156 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:131-151 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"053c31691d62b27e55832a8018c05531092bf6d5df554763ba8064a0fd3c3fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetails.swift:36-49 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsParams.swift:46-63 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetails.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"368f6ef8fe618ad689a3385f110aeea5511fade9a254ca247f0a84ad8d591b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift:62-86 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionRedirectToURL.swift:81-103 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"208b14a25e129d5c55f37b3415a3f14f85d9062b8f25e4bb4367461f0d55960b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/AddressAutocompleteModels.swift:177-197 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift:82-97 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/AddressAutocompleteModels.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32a6faab3722923c77c9eb12fbe6f0929ad494cd89b8aa4c1ba86fc78addecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:827-848 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:850-871 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"18335de46a2dd558087ec201dfa754d7c28c1703f1a6b45632060f1ff6f99e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentFileUploadViewController\u002BStrings.swift:33-54 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentFileUploadViewController\u002BStrings.swift:56-77 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentFileUploadViewController\u002BStrings.swift:79-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentFileUploadViewController\u002BStrings.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe879d2ed87f8538d12a1b493bfb6a8a4a87a265aa6198b8102ba1450d53fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2632-2649 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2652-2672 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdfee14c6e77d24481e49f573c833417695cfd2232f43b2aa5aaae9422c2a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionPickerViewController.swift:219-249 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionPickerViewController.swift:251-274 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionPickerViewController.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0c9e12a7b4e6f90ff72da3205cd7be639baf5512bbb6dacaa6a1de30f40ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:293-315 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:327-351 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:717-739 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:751-775 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a21b6e6e0a7e89c551f0aa2a7427693311eb0e77d751d5d670d69e3ef97b7f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElementView.swift:49-73 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/InlineAddressForm/InlineAddressFormView.swift:57-81 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElementView.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e7dde22c41a82dc5a541b022faf3292ebca4d8cc19c86117d9ad6f3aea776d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:48-63 | StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:95-111 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbb298524fbe8480db8588254d1301069f1e7107591e0007a781421d9141405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift:39-54 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift:57-72 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8ca1789a0f5c310e156dc205a49614f89a74b755524cb56088dd92f6cd587b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/STPAPIClient\u002BAddress.swift:22-43 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/STPAPIClient\u002BAddress.swift:52-73 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/STPAPIClient\u002BAddress.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7892d3092358e7d388c393f575512048d2cc2cb6c0a2ab4ef1f0f4a3e1826bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:552-579 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:581-608 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"393e16617fa60f3352c7fc0cd8e58f5c27cf03d8aa9a3e71839bb8e656ac7b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:583-612 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:351-379 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ae47a1357c3cf7f3a0bf8a8d8c95e5a32888002249068400633488b2f395c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeUICore/StripeUICore/Source/Categories/UIView\u002BStripeUICore.swift:28-37 | StripeUICore/StripeUICore/Source/Categories/UIView\u002BStripeUICore.swift:39-48 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Categories/UIView\u002BStripeUICore.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac319713858a75a003762d4b3bfae57d38f95c7da5354779728601f6fb21ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:254-267 | StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountAddress.swift:65-76 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccountParams.swift:113-123 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8896e7587a34187861fdc148b8ee1523de4f5e5e5ac63027d4c864d7ff8e344"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:74-104 | StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:169-199 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"884c837bf8f9ec97e3ebfaab11f208bfbc1e2df4569fb6da932f7698f01ee782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift:122-144 | StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift:147-169 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/API Client/FCLiteApiClient.swift:34-53 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/API Client/FCLiteApiClient.swift:55-74 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee00ab2b2e4cdd99e3c3cc24b6e153a02e43302b5b3ec84ee78a25c76cc9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift:207-235 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift:237-270 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift:272-303 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83426f234e1e422178785b295933ca1bfaf398af44d4838c727d8ed6f7232b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift:187-202 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift:204-219 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d9c6259103329b3c64d9e2588eca89e6caa29c7ba5cf75dd73b276fe9e29a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationDataSource.swift:37-63 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationDataSource.swift:31-57 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationDataSource.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c6524730a4c6b61511872cac47c36f4c8e530c8ca2714002253aac64f76a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:173-198 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:200-221 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:223-244 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc8b8fd02ea2de7049510c64c07000e12571a88abe890174d8a1869902522e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift:186-202 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift:204-220 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abed295f46aeb7b97de5cc89b442c16377a07674c9060d5addaa35293182207"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:481-501 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:641-662 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"742eccad27bb3078e96e45b6eaa0066f1d716fe76ce25d3f2fb48bd01082c6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift:885-900 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/AutoComplete/AutoCompleteViewController.swift:247-268 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"858b7610bfd32f105093262834fea821e8afc9a587b71eea608639ffd8d416da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:127-142 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodBillingDetails.swift:102-117 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardWallet.swift:87-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa79991af5a3f76f94021b2eafb867ed2c666b426ed9b09330fa77e9314862b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): Example/AppClipExample/Shared/ContentView.swift:41-56 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIViews.swift:35-51 | Testers/IntegrationTester/IntegrationTester/Source/HelperViews/HelperViews.swift:15-32 | Testers/IntegrationTester/IntegrationTester/Source/HelperViews/HelperViews.swift:39-56 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/AppClipExample/Shared/ContentView.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4b7150453566f555a68df3f614084ad941611a6f40af51ae9759e3f7c4f56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:289-312 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:209-232 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b023bce49c273e6060b6b117d117166bf21f6883de8834bdd7b81fbd5a4af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:457-481 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:878-899 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d14d48d778b9c880e7d81b244ff74a9aac5383a9f29695df69aad2e4c3ebc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:439-461 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:463-488 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce82a681429b72b7b126583761c34781cf40aecb758797cd57735d7fe68472b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift:177-189 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/Button\u002BLink.swift:68-79 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e945ee846cb226091c23212b743dfb86981834033e36182ec8a4e562a70df8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift:81-95 | StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift:97-111 | StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift:130-144 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd82e705e0a7b40e3b65a52623655534ce7e3e6f5e88501d21a8602a93e86dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Example/FinancialConnections Example/FinancialConnections Example/WebViewViewController.swift:97-127 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift:130-172 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/FinancialConnections Example/FinancialConnections Example/WebViewViewController.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6a971439518b4546eed7d94d0a2e0ffc58e581cd9eb66fa73e40947aa1f02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift:17-36 | StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:101-122 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"146cf5eeb79e92d64dfe5ce2c72aace200ae0e337e65b3ff8c40746db61a4642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:738-759 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:761-791 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffed43bc7b77b371035d84a15bae90a64e9484adcc6356b58fc1d447880351df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:894-915 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:929-950 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:964-985 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"7347faefaf621b9beca1a70eba2658b88317e5deefe731a9f90cd67089b20d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1376-1399 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1597-1616 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4adc68e5d8685fb42dbc8ebbbb2f355db8c662e3d932c8c8f35f8958792d209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:503-519 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:596-618 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d1c5cd92cfbd9feb409f79ca2d3d4fc83e54da839abce7ddd08025b420d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:427-446 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Saved Payment Method Screen/VerticalSavedPaymentMethodsViewController.swift:531-545 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b527fcfad020667e168735bb9be47264e71ef210778313dd28adc691f99531bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:327-348 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:353-370 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:373-392 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:397-414 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:418-437 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f166211376e2c284bd3f5f5c06f102344628efbaba90bc52c8d6e6f87e350e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEPromotionTextView.swift:50-59 | StripeUICore/StripeUICore/Source/Views/LinkOpeningTextView.swift:41-56 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEPromotionTextView.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab45c29a4b883fef5d008558bf802e12751a07826ba9c49282482098e24cb777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:506-518 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:520-531 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"1852269ff5913ef4741092b3f148807c3e0707ec78f5369caa1f198eb84b9196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/OcrObject.swift:21-30 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedSSDBox.swift:37-50 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/OcrObject.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b468885ce066c8528a845ddce0586199707a4d05a233798b574373324debfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift:229-244 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteContainerViewController.swift:278-292 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05f9d97e448018ae3747b6f1a19c3d1cf5438ea37e8a8d15503a8b0dd0b39bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:408-423 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:639-658 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8c20f3261923d33b23b54ad48d4e83feb9db286f83b18ee895e3ac48aeea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:153-173 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:210-231 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93bd75c5d0e0a7944480a9f15dcb0a04cc42df22051a4b8ef82809814c44b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupViewController.swift:266-290 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift:606-626 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupViewController.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a4f65979de067eb5be4d00fef2404ae7236ec1a1cd5dfc177760057aaf854c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift:722-741 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:815-834 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbfea90a253747448ed91f5bf84d24ddc4d3e1064a60b8b95c2dfed2a291fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:401-415 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:421-442 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aff0fd75b2e04fe386d8fdff1b76faffdb7fd3353101f3bb0d38a88cd330ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionBoletoDisplayDetails.swift:26-41 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionMultibancoDisplayDetails.swift:28-44 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPixDisplayQrCode.swift:31-46 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionBoletoDisplayDetails.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efd77f3a8cabab22cf0dea7d2fa4c0bd590be2268dfd2c06655d4221efd1c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:394-416 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:433-449 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3a1d53410661ab8545d5f42554a0df81d8b4fa2e14cd2ff589e426f2234dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BKlarna.swift:11-45 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:955-972 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BKlarna.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61c4476122bb886570439dce8376ac157c56c94d180540c85d6a2b0399f262f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1080-1098 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1133-1145 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f0b17f8e739f8e1c57d60ac7645c515d31fe716f0e54892ebfc366e9bc7ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:556-574 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:578-595 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7447f65342c8e04d979d58d580e35a8b53e02992847a6f1337514ff2d22be16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift:61-82 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift:150-167 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec741ff6a6af627869eefb448ec41673da999662e199d94bdd0ac9c39892088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift:207-227 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift:278-298 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbf50f4baa32b6198669006856e2f4705b8eff792a412d6146dd658b84a09cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift:1666-1681 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift:1683-1698 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c362d9b27e540a958d0ec3868a5dd4e59e73faa2c0de3ac357ac2c31513e584"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Views/BottomSheetView.swift:192-209 | StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityFlowView.swift:417-433 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/BottomSheetView.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"550f5e2bf5b24ee0a11735e4574c77ff3b55e2a3372059716f183c45e8fa4ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:431-446 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:448-459 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"dade967a0cbfebee9b56f941ae7fdf30c8125c5ecc9ecc110a89c5bb28517bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripeCore/StripeCore/Source/Helpers/STPAssert.swift:72-83 | StripeCore/StripeCore/Source/Helpers/STPAssert.swift:87-95 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Helpers/STPAssert.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"216c84b07948aa88747afa65b39a926e4920d78721614c098d0b62fc8118b4ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1641-1656 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1673-1687 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1704-1721 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"2371fd759a4229050cabe87d81e02975a7b6aca93434e20afe9f9466745533ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2354-2368 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2370-2384 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"178843b972d7657ba06b6c4fab20d5cbe38221382208b0ce24ef19ae4fb5ec48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/SSDOcrDetect.swift:96-114 | StripeCardScan/StripeCardScan/Source/CardVerify/UxAnalyzer.swift:66-84 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/SSDOcrDetect.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0616b9fc1cf27c6c4ac641bba9883a45fb4d3c59aa4e123c6f733f0ed7ff20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SheetViewController.swift:357-381 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/Button\u002BLink.swift:56-66 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SheetViewController.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc80c177f9ab86e2b6398ee23fb0781965104fd3ee6a3d9bd1e7a3d245b842d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:741-756 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:774-794 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"072f579e46fd82f04a0333ce5363b45042232f3c468f2c6878c44daadc203503"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeCore/StripeCore/Source/API Bindings/STPAPIClient\u002BFileUpload.swift:80-99 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient\u002BFileUpload.swift:194-214 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient\u002BFileUpload.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f69ff04d14e46db1339c7ff4dbfc86b13d88a7f4ab0efbb7d3df7cffeb46fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerDataSource.swift:61-85 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AttachLinkedPaymentAccountDataSource.swift:34-54 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerDataSource.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dc4a4af8129ff6b558df5b83a607d9be6dba5e546605b4fc65420a18e66e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:180-187 | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift:218-225 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e917601db4cc10c825808e7e76c3efda272e07d9458bc3163f6b87696ab7714"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift:409-422 | StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift:249-261 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9757dd673a7b7957bd45d4a41b636eb471ae7c2f51d5fca715ef9948d6f3cf9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:487-504 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:507-523 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:526-541 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b9be39d8cdeaa8c124b739f8403ce3717fc12c8d04d9473740971d4529377a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:136-155 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:157-176 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1887-1906 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1913-1932 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"da94b5acdf46b89b15ff594273ddf23f41e4c4f0413120d652a89c2b219d4b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift:273-290 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift:305-322 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51a79de1897abe5b0c81a49763118a9775cab2f650243e425a69609c3b6c369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:315-330 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:443-455 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7a0c1839f51379833bead8f0fcd11ea3fe4b92a9631a4524553992ebae379d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift:364-385 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/VerticalPaymentMethodListViewController.swift:232-248 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed63623aa1ea290ed309a10c9f9e851e89f153e6446956e5ca96a46aba20cbdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift:16-38 | Testers/IntegrationTester/IntegrationTester/Source/Views/CardSetupIntentsView.swift:16-35 | Testers/IntegrationTester/IntegrationTester/Source/Views/CardView.swift:16-35 | Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodView.swift:17-36 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b68de0dd756dacc9426320c629f672c719d34ab39c704f16e7107e3c8daac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCore/StripeCore/Source/Attestation/StripeAttestBackend.swift:25-32 | StripeCore/StripeCore/Source/Attestation/StripeAttestBackend.swift:34-41 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Attestation/StripeAttestBackend.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4984c8daac0d4e61e6b934dd86f33d808b34722c4b7cc62e194e5393632f02fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:426-437 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:439-450 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"351692fd0a9f129438f368e7e58ebf132eec8bbc5465627b05057c88dd8ae058"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeCameraCore/StripeCameraCore/Source/Coordinators/Torch.swift:38-52 | StripeCardScan/StripeCardScan/Source/CardScan/UI/Torch.swift:29-46 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCameraCore/StripeCameraCore/Source/Coordinators/Torch.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4774424c2cb285e9e5f8e5463ff042270e120272cce4e2131f3b24cc7981501b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): StripeConnect/StripeConnect/Source/Components/AccountManagementViewController.swift:28-46 | StripeConnect/StripeConnect/Source/Components/PaymentDetailsViewController.swift:19-34 | StripeConnect/StripeConnect/Source/Components/PaymentsViewController.swift:24-42 | StripeConnect/StripeConnect/Source/Components/PayoutsViewController.swift:15-30 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Components/AccountManagementViewController.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae6d89390feabe96e2faec29c5cdbbaf72014eedb8d07ee8ffa2b236fb8edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift:36-59 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:62-83 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44201a36906c7d38ec638f53e986d0f1cca1e82b34536db50f470c6b9530920"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BSwiftUI.swift:61-77 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BSwiftUI.swift:39-55 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BSwiftUI.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1863d6a15414f054c71eb307e90056dd1b6b35afb6f348cda336adf8261d91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsParams.swift:77-86 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodBillingDetails.swift:48-56 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsParams.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad57036715c3c491c9e3221d35075547c6549a9bb39a786b3e7503994d5c46a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:127-137 | StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:222-232 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c6f13045067337d85aa7022068bee93be7a30a37d9607c25871b3efbc9345e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift:218-226 | StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift:353-362 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5041caffff327466e47b4fdfb1e105cf58288ff7142c2503a4febc53483fdf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/PhoneCountryCodeSelectorView.swift:183-204 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/PhoneTextField.swift:239-265 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/PhoneCountryCodeSelectorView.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7371d209826d13affa265c73fe072f45c69fea8e54182603132d1326b3f484b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift:313-333 | StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift:398-417 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee0049db67d37e3f32309498121efaa1206281790e49560c65fb9fc153f160e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageUploaders/IdentityImageUploader.swift:52-82 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageUploaders/IdentityImageUploader.swift:84-112 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageUploaders/IdentityImageUploader.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"747537c693f6c0cc2fa2fe580df4092be3451c9a62244dd88be80c56cb6db445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:328-350 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:352-373 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:451-471 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:473-500 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f90c1314077fcf51a01454c66f44027aac926f6b5a71ba56d2b290dfeba286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAUBECSDebit.swift:49-63 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionBoletoDisplayDetails.swift:45-59 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionMultibancoDisplayDetails.swift:48-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAUBECSDebit.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbec879319dc1297bd1f2811269630a29343dbe167bdff170a7bef3f5d63da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionResult.swift:39-55 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionResult.swift:57-69 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionResult.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b0377944ecf77f46db54932f07b616cbbd2e9ef79fe3496b0382e2881419e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/CustomPaymentMethod.swift:32-44 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/ExternalPaymentMethod.swift:27-39 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/CustomPaymentMethod.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"183a8c86ab4765618d49c86aa88788193a462a9f4068f2a27d0590c1dcb72af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/LinkSheetContainer.swift:31-54 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetContainer.swift:47-74 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/LinkSheetContainer.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbaac58b36adeb8b39026953a00642c54cb64efbd0f2f9debef01967211be6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:203-233 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:469-490 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"047f57d3844489f1ea28587dde1c28789ab4221e2b25ea667773996c15709460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionKonbiniDisplayDetails.swift:29-42 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionOXXODisplayDetails.swift:53-68 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionVerifyWithMicrodeposits.swift:71-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionKonbiniDisplayDetails.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4e2a738177c4e866b100781b6286bcbbbd90072feadbac973ef96297aa1f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/Extensions/UIImage\u002BpixelBuffer.swift:170-187 | StripeCardScan/StripeCardScan/Source/CardScan/Extensions/UIImage\u002BpixelBuffer.swift:190-207 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/UIImage\u002BpixelBuffer.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a0cca24b564967ef4885bbae78fe49e4085e44f153b046e4cbdce5af2e1487"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:311-331 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:364-383 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:391-410 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af9e9c0cab57f00d9efdec224d5ce596bc647b982345037912617f3cad7485"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift:75-91 | StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift:111-128 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01c4d8c8bdd20cf46be198d27eca690d7ceddeebd2e02904f010e3e9fd684d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/ProofOfAddressViewController.swift:22-24 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/ProofOfAddressViewController.swift:34-42 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/ProofOfAddressViewController.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bca75443dcc8fc4a436dc78357518ee6faebcc2c41bd42ca04513cb550ecc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginDataSource.swift:59-73 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupDataSource.swift:57-71 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginDataSource.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3106ee0eaefb205680e25ee628a931574395067612ccc52dcae98e4eaa7cc274"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:612-628 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:630-645 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"08197d00ac233c3e08cdaecb078aee8b9e2101df1a55317e24d9023866ddfce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:216-232 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:264-277 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b45dae05061ff1f7c7c1f50f7367baa16127acc829c572dcac1c54603c03c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanStats.swift:34-51 | StripeCardScan/StripeCardScan/Source/CardScan/Utils/DeviceUtils.swift:33-50 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanStats.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06df86e3d79447fbce958a18a92465b6e0c41067124795324099448dec97c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): StripeCore/StripeCore/Source/Connections Bindings/BillingAddress.swift:19-35 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift:42-56 | StripeUICore/StripeUICore/Source/Elements/Factories/Address/AddressSectionElement.swift:60-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Connections Bindings/BillingAddress.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f27c671652dfce2f6f7d042d9c592abadb86557862e2f6fe7c89ba9e832b50b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): StripeCore/StripeCore/Source/Connections Bindings/LinkConsumerIncentive.swift:15-36 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ConfirmationChallenge/PassiveCaptchaChallenge.swift:29-49 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Connections Bindings/LinkConsumerIncentive.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aea84c0284c9791a1a85a65bd6b83ba5406e0d5f38c43b15e2292371819fb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEMultiPartnerView.swift:48-65 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMESinglePartnerView.swift:29-47 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEMultiPartnerView.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bee037c14fc17445f771c0eb0d1926cf70ce66d9f7e33ab3dc620306dc6cddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardArt.swift:31-44 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardArt.swift:56-66 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardArt.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"27158c566e2b4169c4ee98935bf07d66e3d634802fff9c0b5f1af49355938321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:179-205 | StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:327-350 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e2ca70a59bbb916499e51229d0f47ba20ad58a316b9d49a0110a8743d86cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPMandateDataParams.swift:68-85 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPMandateOnlineParams.swift:87-102 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPMandateDataParams.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3898f17f2c4cca5bbfa009d251b9c7373db3299c493fa1f6a6e38fb4640d04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Example/AppClipExample/Shared/BackendModel.swift:31-40 | Testers/IntegrationTester/IntegrationTester/Source/Models/BackendModel.swift:42-51 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/AppClipExample/Shared/BackendModel.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d6c6b823a90ab9d2b54b87c851be3b09fce40e1df77c07606947bb34ab8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PaymentSheet-LinkConfirmOption.swift:76-87 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PaymentSheet-LinkConfirmOption.swift:112-123 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PaymentSheet-LinkConfirmOption.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2481a550b906e97a5eae53284ae1ea85ca2fca1c3e6e81277d5f42bb51f819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBacsDebit.swift:25-35 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKrCard.swift:22-29 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgCard.swift:23-30 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBacsDebit.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c95de0005850fcd982751aadd3a5ca8e9508259130d41afb3167750d7e84a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:554-567 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:843-856 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1758-1771 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1803-1817 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1831-1849 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"235a2178cc667d91c4935e19a3a85c8250b6934469f16e2f08661473313a5338"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1621-1639 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1657-1671 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1689-1702 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1723-1736 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"139c0365a36ef167a63564e027ce93fd4b22583339ccae183aee8c398a54db1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/TwoOptionSelectorView.swift:37-42 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/Appearance\u002BFontScaling.swift:20-27 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/TwoOptionSelectorView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06df01d567571264e93a0bf12120f828c7952f562242403b5df10b32a403b9f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 15\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:492-506 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:691-705 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:791-805 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:945-959 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1243-1258 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1288-1302 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1336-1351 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1380-1394 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e774163acdeef31a6a8952be4255161093dd3563e1c3d0577c532771f1bcd68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift:49-62 | StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift:64-77 | StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift:115-128 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"88de36438169b3fb5f89f1197267505f1a6ba26b8e1f678a5d3fe2825cba6393"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): StripeUICore/StripeUICore/Source/Controls/Button.swift:402-418 | StripeUICore/StripeUICore/Source/Controls/Button.swift:420-436 | StripeUICore/StripeUICore/Source/Controls/Button.swift:438-454 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Controls/Button.swift"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"390236153c8869bfb5b15f4ce40d69f82d2578893707f41c4768b7651c7c72bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDiagnostics.swift:25-43 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/AppAttestationError.swift:55-75 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/AppAttestationError.swift:77-97 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDiagnostics.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cef176e5c51b23baab5b4fef800b0dc83be76b4f979896d2ea1e84a6beb259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient\u002BWrappers.swift:13-24 | StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient\u002BWrappers.swift:27-38 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient\u002BWrappers.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1171128db710581bc623ddcf17562a3cf94d9bae4058d92f54083a129c7e47e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift:73-91 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift:90-106 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b04409f1172b1d50fd9a1bd7a7ac809b86e00cf1a35d03e00ffec1112bc2703"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:848-870 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:872-891 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a558f889b47d56d0c92e582472297795107be137557d9e8f669fbe0fbe40f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift:487-495 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/VerticalPaymentMethodListViewController.swift:283-290 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"03608bb1aea516bf5cc2630963a08ca6dd47900a76f751020556ba9e8269e32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:109-124 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodBillingDetails.swift:83-99 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b89d0b3130a7cc4b1c93397d031cf4c4f58e95b2e3d930ff352a3c50d8c848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionCashAppRedirectToApp.swift:50-63 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPayNowDisplayQrCode.swift:48-61 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPromptPayDisplayQrCode.swift:48-61 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionSwishHandleRedirect.swift:48-62 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionWeChatPayRedirectToApp.swift:49-62 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionCashAppRedirectToApp.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"27184b60d28dbced2cc356c6406b4a81e6c7cc0c1136d9d4274e0515391d84a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:708-724 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:961-977 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1191-1206 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1779-1795 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf1fbdc819571ff43f439c6d676e4a94083660e5f48788cd6e30546e43c8661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/KeyboardAvoidingScrollView.swift:93-106 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verification/LinkAuthFlowViewController-PresentationController.swift:190-205 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/KeyboardAvoidingScrollView.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fad36d4dd7be0ffcabb9dfcf2912c5818871b0bc6df900d77d08555d5b336a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentDataSource.swift:46-62 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupDataSource.swift:39-55 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentDataSource.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f987fb3052c3eb42541c17afcf81929928236b2b6c347e625a39973c17bd612d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DocumentCapture/AnimatedBorderView.swift:155-166 | StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift:186-202 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DocumentCapture/AnimatedBorderView.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c64396fa470aa92e22f02537a17129cebc55a257db04ec1c3732f54daa13a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Categories/AddressDetails\u002BSTPAddress.swift:22-38 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BSession\u002BShippingAddress.swift:31-44 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Categories/AddressDetails\u002BSTPAddress.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"11023b3ea1796ffc7fc90e2b2a83a240580e62d91f38deb863884effe500bd54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:276-286 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:196-206 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeddcf0794effecb35294559174c49469955375622ee55199bc9e22d196c5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmAlipayOptions.swift:37-48 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmCardOptions.swift:25-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmWeChatPayOptions.swift:24-33 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmAlipayOptions.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dbbd7be9c8ae18d7427318f35d7ff0d47098030c5d564216651592bfa2992e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentLastPaymentError.swift:126-145 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetails.swift:51-66 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift:59-76 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentLastPaymentError.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"241bc3a9be0c6db03b7b2fd5fb30fe53dd3c75fc582304ff77746947ed3e480f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodFPX.swift:35-45 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodiDEAL.swift:38-50 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodFPX.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f80a4221f84a2463b20b6510f87d6ddbea28e14ee5b38491f773072b65542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeUICore/StripeUICore/Source/Elements/ElementsUI.swift:51-61 | StripeUICore/StripeUICore/Source/Elements/ElementsUI.swift:63-72 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/ElementsUI.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8803e6e6978ac351ed6694617fd4cf4b6586fa70c921c763a6c722df3d5bae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): StripeCardScan/StripeCardScan/Source/CardVerify/FadeInAnimation.swift:12-22 | StripeCardScan/StripeCardScan/Source/CardVerify/FadeInAnimation.swift:24-37 | StripeCardScan/StripeCardScan/Source/CardVerify/FadeInAnimation.swift:39-49 | StripeCardScan/StripeCardScan/Source/CardVerify/FadeInAnimation.swift:53-66 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardVerify/FadeInAnimation.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede6647c2c9bd2148194dbd59e391b5357e733c34b17937814375498ae314eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeCore/StripeCore/Source/Coder/StripeJSONEncoder.swift:213-223 | StripeCore/StripeCore/Source/Coder/StripeJSONEncoder.swift:350-362 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Coder/StripeJSONEncoder.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba56192f50de308be362c4ed64eb75bac3d5138a9db13d48d881253443d0bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:349-367 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:369-380 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"097cfec773df308d292657393e6a8170a2df463df70230aec67a391b2ee22ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityFlowView.swift:417-433 | StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityHTMLView/MultilineIconLabelHTMLView.swift:64-79 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityFlowView.swift"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa6e4c7d58566e297ded1196b584e5ca4b794766d09bbde90b8f785f7de06b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:325-340 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:357-374 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:413-427 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"feedb440cec59ebef9da5c8419cdc7ee1fb2f102c14aa586611414c122f43144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:199-214 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:302-317 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cf2fc338ddbdde19b93924c30534f14a1badd2bfd9d977289e81d9df478623"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift:505-525 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:114-127 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f2245b1d648b58409c646db0b4bacca36fed353d55a5ad8773ce85334396fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:103-118 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:102-112 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0398ec345fa7bedab0305b79c331919b58683aa20a4b79c261e44e06dea5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:97-113 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:522-538 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"216eeab40f9a0cf6352dbbf6d838f13c66e51cfcd8eed69c5c3af43c2b182734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift:433-447 | StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift:449-463 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2037ab80fc74830f8ed02cab93bcdd49467dd6d7d054c02bf0d314b7e86b152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift:292-305 | StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift:429-441 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Coder/StripeJSONDecoder.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f8adaeae33d4789dc76a117c0bd96d899b7646ecae1be17545b1a56924acf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift:51-58 | StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift:60-67 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a3acf7598c2f6e8770364fa59fe1fd882cb0faaf07fa4246a913e0103ae836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:516-530 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:410-420 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbdf79ad4600d0302f1e0d4ab6622bcaa91721fe9af32a0eca27f8288df6752"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:1133-1145 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift:52-66 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8472cfcaeb6c3e73e0a554276f6ce43f7f635b015b1333555e81be8e5f3cf79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableLoadingView.swift:80-91 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableLoadingView.swift:106-116 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableLoadingView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"32508a05b6f2d1571c719a314a9b9b31b70e1a8ee0a0be707cbefd2499a52b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift:418-431 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1543-1554 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a525a6bd5d36d087c4f0883acbea1159066550348bd378e6baf6f47a0f72f247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/PaymentMethodElement/PaymentMethodElementWrapper.swift:51-62 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/PaymentMethodElement/PaymentMethodElementWrapper.swift:78-89 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/PaymentMethodElement/PaymentMethodElementWrapper.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b87a5f83156e6afcf149df6120b3fc2e952970988f155bf33c670ac0a4a226"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1442-1456 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1495-1506 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1636-1655 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1663-1680 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0784953b2aa896111d49c293c02b2445072521385d2b3ed7c402b5b36a882cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift:28-43 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionWeChatPayRedirectToApp.swift:21-34 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6c482bac1c979d3cceb86c42d7cf8628cf40bf2dd2cc10915a3140d8ad53d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeCameraCore/StripeCameraCore/Source/Coordinators/CameraSession.swift:277-296 | StripeCameraCore/StripeCameraCore/Source/Coordinators/CameraSession.swift:299-318 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCameraCore/StripeCameraCore/Source/Coordinators/CameraSession.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b2f56b3133b8d82bd0c617c54707a6ae55ee549c07f99b480ae460d55627ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:382-389 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:168-175 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:177-186 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8273c2408be215e1108e50325ee85c865dfa49d6d7806cd6c525065f0f1c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift:202-206 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift:217-221 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"327e646ccfb7f54d774f7eef3ebe1387c660ff8d7adfe2cbfc43796822339d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SFSafariViewController\u002BExtensions.swift:13-23 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/UIViewController\u002BSafariExtension.swift:14-23 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SFSafariViewController\u002BExtensions.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81a1adf56a68644602f56b5db566addd0cf49975ac07425c5b41c20637bc26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift:33-46 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteContainerViewController.swift:48-65 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"897062b2cbc8336b720821d9d6723a2c72a00ab72c88619a6d4c5e04f492905d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:369-387 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1111-1127 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0773ca49819dab7462d4c5920a59d44d30a6963c9fd3e55edf36a27ec4f899df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionCashAppRedirectToApp.swift:22-35 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionSwishHandleRedirect.swift:21-33 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionCashAppRedirectToApp.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"139a114446e3ce79ee70f3be73eff0cf633cad39f175bfbc40579daf7db934b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPayNowDisplayQrCode.swift:21-33 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPromptPayDisplayQrCode.swift:21-33 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPayNowDisplayQrCode.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a97c41ac4d1c4e7ad2a622b8cfcc2b168af148198c2734619769d8bfddb4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:106-121 | StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:201-216 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5179aed20c3cbf71b4080b11779bdf2e61f7293aef97f6f10f7f61106e996790"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/ProofOfAddressView.swift:174-193 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/SourceOfFundsView.swift:88-108 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/ProofOfAddressView.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e838330014b1be505d667245141c716c7dbd3ab9572b35be1ddea72180f54006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/HTML Confirmation/HTMLConfirmationViewController.swift:34-55 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCViewController.swift:32-40 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/HTML Confirmation/HTMLConfirmationViewController.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b1ce95fc8c162736745da331147f8a70c742becf71f08d7abc508da3b845d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift:189-203 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift:205-217 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"73251a618cd87c72a707a9641f4954478807a6d79c89b317387ef4fbfe5534c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift:44-50 | StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:181-187 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbdeb39073cbeca9ac4b42aa75c2504b337285244fc03d34d9abb4841f273b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:52-71 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:98-119 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1fc8e6135ed3cc49c644511785f2c092f86086cc1695e29cf0b09f9258479c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:125-140 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:228-239 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:269-286 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:339-356 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d60e71889e8727bc5fcd3b8e0bc938468d6ea812ae8cd41453c1e331349a709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerNewAccountRowView.swift:92-105 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AccountPickerRowView.swift:171-184 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerNewAccountRowView.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14538b8e045ff7ed03f1c2e95193212fad6ebc89f05ddb906ce325bec462cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:751-770 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:817-834 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"87773fc78b5d1361e7404d58d04febc630afe9ce611b5764cd5089ad0b16cd30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBoletoParams.swift:25-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodThreeDSecureUsage.swift:18-31 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBoletoParams.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a755a1f08f453951783987580bc62b170b10c849a137c434e2de6c86cf96b7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:90-105 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:158-169 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:295-307 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dd803e4e4aa6ad6ed8da4c26cae36f3f2127ba4b40f452e2b201b8bb284632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:361-368 | StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:382-389 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a0e2343de067ac6039d527577658ee3b79535c02e458bbb0e73a7336687fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:45-55 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift:147-157 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f02ee8df74743ac4f3acc932180b505c57923be58ee7151a3f335be1be14ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:448-459 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:461-472 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"039995611dca26e5b3b0777e05c85e56619f52a65ad241d39c10493c27bf0646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityFlowView.swift:558-567 | StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityFlowView.swift:570-579 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityFlowView.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc8d781abd879e3a7c6de63befef184e55eb988464ee7b2bddda81196d6494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton\u002BPaymentMethodMessagingSublabelView.swift:145-162 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/BNPLFormHeaderView.swift:89-108 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton\u002BPaymentMethodMessagingSublabelView.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a31a70a5434b983dd060af7dd9a18386d47c5fcef53e345c4ab5dc5f07f857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift:170-183 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift:525-538 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05d9c6d2686a62383600778d9dbf3e8ef8e24dcce8d5875b7662356ea584dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:772-785 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:802-815 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c1477aaa18d9138b74e27549c044e34fd09fcfee5b546b1e00715b66c35f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift:298-309 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift:344-355 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"e805ef90ba3d8c3185594e5c8c450baeaa7653546e4da638028403895edb05ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/BottomSheet/BottomSheetPresentationController.swift:72-86 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/BottomSheet/BottomSheetPresentationController.swift:94-106 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/BottomSheet/BottomSheetPresentationController.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"583c4867235addae3086e8a17ca433a8ec10a10e9bd567c4c2d265035eebd709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:311-320 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:386-396 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:441-452 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:667-676 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:684-694 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:738-749 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f740e39e06fe7ff4b07b4749b74fc9aafb7f69b781884488ed8912429a21eb82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripeCardScan/StripeCardScan/Source/CardVerify/ZoomedInCGImage.swift:150-160 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/DownloadManager.swift:155-163 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardVerify/ZoomedInCGImage.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea539b9b8ed007159fbcd5e64ef6d53890118e617c28e6fdbd851d6687a5693"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeCore/StripeCore/Source/Connections Bindings/URL\u002BLinkBankPaymentMethod.swift:37-47 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ACH/InstantDebitsOnlyFinancialConnectionsAuthManager.swift:154-164 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Connections Bindings/URL\u002BLinkBankPaymentMethod.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f344d236b521afb45a7d1bc26f096eac31ae10840bec802736cb31270738ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupDataSource.swift:42-56 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Success/SuccessDataSource.swift:36-54 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupDataSource.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d6a653112f841cd8ad02879d3ed04ee546b61c263b5b8062fca54e54756d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift:232-241 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift:243-252 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"011b894672cbee0fe12344e7a029aa0faf243e54e6a1dff05f5658999043df20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:448-456 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1184-1193 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6030184f45535cf05ff22ed06c63c76e79fc8c2bc50942ffcdd113d46ee94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardNetworks.swift:21-31 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardNetworksParams.swift:26-35 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardNetworks.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e48134e788d3dbe88a716758ae15b77db6735ea520cafc1748bd853fa05998"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardWallet.swift:70-80 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:65-75 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardWallet.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed19a7ef075bd243a6c50762b68c9252246feea7daf4f1d298311a82dd6f3815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodiDEAL.swift:21-31 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodFPX.swift:19-28 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodiDEAL.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a1856d51ca56304db2ee64adf5ba1dd5ade07f9427f1dc3f2541dbc5f7843d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): StripePayments/StripePayments/Source/Internal/IntentConfirmationChallengeViewController.swift:427-435 | StripePayments/StripePayments/Source/Internal/IntentConfirmationChallengeViewController.swift:437-445 | StripePayments/StripePayments/Source/Internal/IntentConfirmationChallengeViewController.swift:447-455 | StripePayments/StripePayments/Source/Internal/IntentConfirmationChallengeViewController.swift:457-465 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/IntentConfirmationChallengeViewController.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff74e49dc5fd0ad05b9fc83095d5434c88b2d8048a529c22b9f2874d03a5e1ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2812-2820 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2822-2830 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2832-2841 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2843-2852 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e413500d8a2cf8be2abf6971d749d98b4019550e7f9311c729cc11810c54063b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPMultiFormTextField.swift:47-63 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift:23-39 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPMultiFormTextField.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf8bee80b08f1fd93a8f50d2263995acc785b99bf661aec096a1b1f099a2e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Example/AppClipExample/Shared/BackendModel.swift:20-29 | Testers/IntegrationTester/IntegrationTester/Source/Models/BackendModel.swift:21-30 | Testers/IntegrationTester/IntegrationTester/Source/Models/BackendModel.swift:32-40 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/AppClipExample/Shared/BackendModel.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f792c364f642c4d57e13305254085c86220aaf0d147b9cec2c7257bc64eb1b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeCardScan/StripeCardScan/Source/CardVerify/PaymentCard.swift:32-47 | StripeCardScan/StripeCardScan/Source/CardVerify/PaymentCard.swift:49-59 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardVerify/PaymentCard.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4675d7b71986591f3cf8a9c7bb772c37bc846890e9415ce85cec4f236444c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/ProofOfAddressView.swift:156-165 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/SourceOfFundsDocumentView.swift:173-182 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/ProofOfAddressView.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7366f6f4bbd97ecf0d7850e11ee3811d4979d05c1ebd2166eb9fb0ae4ff4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift:579-597 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift:655-675 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"045d4f392b6e4d26b8ac54cd744229982449a9cd2274850abeb9563feaec6abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:400-411 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:452-464 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae575e68b0370dc5eaa715aec5dd23bc883d16da184afbb580b23bf77aff71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Intent.swift:99-115 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Intent.swift:117-133 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:614-628 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Intent.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"633fa81aa87342d0005bbf2422e095bea3444d20c2446b2e79a3cf8b7957db0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/UIButton\u002BPaymentSheet.swift:16-25 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/SheetNavigationBar.swift:292-301 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/UIButton\u002BPaymentSheet.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc39b27d0e613c7222582b3c94f3fc9a6dba1b57ff559de9c4b66f1d6e61e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:97-107 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift:92-101 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e634063bc31b52861657ed13664a6dbf26183d0eaef7a27d5c80e9e6fd95d2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift:309-312 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:417-424 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a95bd3cf79caa4e4b5a65c5ba92c2995e98335147ec4ae07f6c76166d291c00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:875-887 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:838-852 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:688-702 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca02d19f79f5a98e5ef36e13b8ae52ed03afdd4234eb9bbdc50579e967b95e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheet\u002BSwiftUI.swift:15-28 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BSwiftUI.swift:20-33 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BSwiftUI.swift:39-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheet\u002BSwiftUI.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af87e9652736b893430f53983a7c9f52df6c84ee92b0dc8799c4e73fa2eaf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift:160-168 | StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift:49-57 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"05747daf499f0a1824e7ed9564bc536f9d203788a105ab01a929077203431d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient\u002BWrappers.swift:425-441 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowDataManager.swift:162-176 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient\u002BWrappers.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b14c0ae08bbe3548250f9594c93db5bf9ee3210f7cb01ae4a649bcfb867022"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:651-663 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:409-421 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"899064d59435c64219a6a407974201f53119f4f651af125ba9578aff4211e9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift:870-883 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift:309-312 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/AutoComplete/AutoCompleteViewController.swift:241-245 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:417-424 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54affae7a425c9e95a85b5fbc5da5646e08124acb198b046a3b95ae9060495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:834-845 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift:1069-1073 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddf17cd7504faf5770bec66e8f72b2c07b203aa24a98596ca52e9904599abc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.swift:19-29 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:49-58 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:112-125 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:259-268 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0485f003bb4904db9843d63bd4fb7d859c60c86f30bdb487ba356a84fd191474"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:342-354 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:80-92 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ae0286f2556c8811a3b41b031594b59c4ea78438ea36a3b83cacc204a3cac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:55-66 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:58-67 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"246fba7528535d76e4f73c993d16dbb520e1370a9a4c06d143ac5fb846fe864b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/Extensions/Image\u002Butils.swift:30-38 | StripeCardScan/StripeCardScan/Source/CardScan/Extensions/UIImage\u002BpixelBuffer.swift:240-247 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/Image\u002Butils.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52117be1e87f8b5af9529fb2da8dd63ce0b71ad9004ffe06e1f28a4a886bb9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/Extensions/Image\u002Butils.swift:30-38 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionResult.swift:76-83 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/Image\u002Butils.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b296970ce595d7091a175203ccacb930724c9392eb00b15aa47ae2788ef77cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:644-649 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:401-406 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a511494e74061fdba21008b78eb6df17007717f44e9a68314a315c320d1306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/ACH/STPCollectBankAccountParams.swift:25-38 | StripePayments/StripePayments/Source/API Bindings/Models/ACH/STPCollectBankAccountParams.swift:43-54 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/ACH/STPCollectBankAccountParams.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30d8c1aceeed0f4636ee190de76ee23a624e48c78767381324026da8790a7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePayments/StripePayments/Source/Internal/Analytics/Analytic\u002BPayments.swift:28-37 | Stripe/StripeiOS/Source/STPAnalyticsClient\u002BPayments.swift:19-26 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/Analytics/Analytic\u002BPayments.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ffbb0c1b52f833ff8d52d7a64f0239ca303d150e31c4a088a5e4bb448d3135"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerAccountLoadErrorView.swift:107-121 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AccountNumberRetrievalErrorView.swift:87-100 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerAccountLoadErrorView.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e430d3bea72ce357eae23510b99e69ed2b15da418fa2e0e2cb1066c0797f2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/InlineAddressForm/InlineAddressFormView.swift:46-55 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElementView.swift:39-47 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/InlineAddressForm/InlineAddressFormView.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"650d4978461dfe0aa495ffcdaccadd8f38d0a4500d3bd6342f3bff33d7e599be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:89-100 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardParams.swift:93-102 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cd161f44911d59fc24c4eaf046210909fd6ed3c63069664580db5dd78bc07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift:856-863 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewController.swift:465-473 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f172b6f1245d400b9f74904d932c853f602e632a3a8b2e4c5d71e6d81844f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift:267-276 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:1327-1336 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff28fa4d5835173098f111c2750b7f5e0fc009beb87473d23ebb63a250b80a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift:785-800 | StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift:413-426 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac5b54485bbb783c127498d9140a2a252c2b53386cc0db18f57cc17a45188b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.swift:208-223 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.swift:225-243 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9848b6200a86d684b739a278efb0ff9f257c22ddf4448fb3c18778824c68b102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:707-713 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:269-275 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fed7ee73ed2c32619db7ccfa9e2c9465b17accaad9bba30646df71486dde34f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPPostalCodeInputTextField.swift:40-49 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPGenericInputTextField.swift:47-54 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPPostalCodeInputTextField.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9920461b1bb8a7fa960b9951e4ba54fcb1d9baf21622bf89c328839b7087f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:332-341 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:391-398 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91ff8aa7712427c25c7db63a5e239b3e6cb41044794a2b1297bfbeda9194d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift:293-299 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/VerticalPaymentMethodListViewController.swift:216-222 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b85c34af259659666129a01737ff620ac2207ec62e93c9c72bc993a9c3f1637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BAffirm.swift:10-19 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:885-893 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BAffirm.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f80ffd2b97e162203a4e2c47efaa5cd5c362975df84f068d1912cf1e9dd65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripeCore/StripeCore/Source/Telemetry/FraudDetectionData.swift:31-41 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift:56-61 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Telemetry/FraudDetectionData.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"83090f70b7180e807bfc319b34d578431a88c307205a1323f524bd23820a26f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:378-389 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:147-159 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"25afa27a2a252aac07f6b7de7444b69ba34f4ee1bd58c7a7b79d2d1179f6f896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift:770-783 | StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift:398-411 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fe4d4cf90232a9583dd4d7cfe96b0ebf5d51846f527d385f6a012cca667f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/Additional KYC/AdditionalKYCRequirement.swift:30-41 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/Additional KYC/AdditionalKYCQuestionnaire.swift:27-34 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/Additional KYC/AdditionalKYCRequirement.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c2bc7053157de2a4b130e7199fe5dc5fe5aeff6f1dfb6d436be6841b0c65d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:423-432 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:161-170 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d784d903f981c56e25cc2c6fdea0976bb5122cab26e4387d9ad9d851ac1e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Saved Payment Method Screen/VerticalSavedPaymentMethodsViewController.swift:260-267 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/UpdatePaymentMethodViewController.swift:207-214 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Saved Payment Method Screen/VerticalSavedPaymentMethodsViewController.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a90ed6ec19b709c596781280ceb443b6f7ab2d1f3d5c5fb2aeed0cecf6140b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardChecks.swift:94-101 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardPresent.swift:30-37 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardChecks.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a196428c0760dd1d82efdc5781ec344e9f5521b6f88e57a552373870b70424b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripeUICore/StripeUICore/Source/Elements/PickerField/PickerFieldView.swift:183-194 | StripeUICore/StripeUICore/Source/Elements/TextField/FloatingPlaceholderTextFieldView.swift:81-87 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/PickerField/PickerFieldView.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"679c8508f3a5a227493aa3c8178625710c5e4e7577561a0d8f3f3b10913fbb14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerNewAccountRowView.swift:60-67 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/InstitutionIconView.swift:67-74 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerNewAccountRowView.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eb0bb32ab08888580ff097fd98af6a7ba95b74e7ed271d992f0864d0b1c3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:607-613 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:737-743 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c9d41b53e87fd9dcfb4c58adb5f4c464747ec2fafd46b894b85e6bcbbdba3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/CloseWebView.swift:12-19 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/DebugMessageHandler.swift:13-20 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/CloseWebView.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe298bda6c469a59802fe4b90f41b2f0038deff2e420979594489d3233b0825"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionSearchBar.swift:287-293 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AttributedTextView.swift:197-205 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:284-287 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionSearchBar.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"653067fd9bd1e4dc19a60f43f08c69aa929546148d85669b6da7ce8f75025a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift:802-813 | StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift:434-445 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PartnerAuthViewController.swift"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ddd3f182ad9157fac43442e8f7945a3885e5cc8be80a8515ebdf10941d5cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift:238-245 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSessionAdapter/CustomerSessionAdapter.swift:160-165 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdddf14519164240804c93946a81e691bb8141dd4054828902935dbbd6e4983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:617-622 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:371-376 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"c571fd85c34edaf543b92b3f609ce4cdbb53ec013f7a1cbe9a35a49aab4d10f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:624-630 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:379-385 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bea7e59784be69e6f183da7514e89cdec7bbcb53d8c32749e2b35735377787"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:81-85 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:78-82 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"123d43e5a19ba391f81dbd364b8676eb6247b49b6467f56778d7cbe02ec277fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/IDConsentContent/IDConsentContentDataSource.swift:27-39 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionDataSource.swift:35-45 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/IDConsentContent/IDConsentContentDataSource.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c51fcd80ccc7820ef549b794504c8ea4d02f941315787507516e2905835e4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryDataSource.swift:29-41 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/ResetFlow/ResetFlowDataSource.swift:25-35 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryDataSource.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"91caeeaa5ea34b4e0245ce192d29133f84235c2672268c5b3281ba50e1b4d117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSessionAdapter/CustomerSessionAdapter.swift:117-123 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift:367-373 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSessionAdapter/CustomerSessionAdapter.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a9bab4c4edbbc1162f20eb155a49c5a151ce2defd5adc5a0282aa84ca22d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift:72-79 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement\u002BConfiguration.swift:328-335 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d641101289872c718315bdb03b544fef48a1c695d7aa12ca30fb847724bf10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift:560-567 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift:254-261 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerViewController.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d928661d2acd5ed16c46d08d2f7b6f84740d6309872a8e284d0eecb00ca7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Web/AuthenticationSessionManager.swift:132-141 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Helpers/URL\u002BMatchesSchemeHostAndPath.swift:11-17 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/AuthenticationSessionManager.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"51724bb4711e31b98a71d7494c743cda5d05585451a0e265e2002aac757a2b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift:61-67 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/InlineAddressForm/InlineAddressFormState.swift:38-43 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0290dfdae31260e8c94f72bfbf8f3eb569ba68b91fe8b891210a1216f9f50587"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPCBCController.swift:110-119 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPPaymentCardTextFieldViewModel.swift:118-127 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPCBCController.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad48246be2e598f73bccb2cb93e2347a0f1f3a195f9a1a2feea6e4127c6875b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift:152-161 | StripeConnect/StripeConnect/Source/Components/CheckScanningController.swift:113-122 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6ae2bb48f39885dedbfa9140090b2a548cc17835dee8cef445f228916aa2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/FetchAppInfoMessageHandler.swift:16-19 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/FetchClientSecretMessageHandler.swift:13-16 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/FetchInitParamsMessageHandler.swift:18-21 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/FetchAppInfoMessageHandler.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"823dbaa890b5811089e3cac70530f60d4af12a23200838b625135c9018577ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:330-340 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:68-78 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb3c59ce777123f5a3cd0cb799e117de4b573ba71a0749bf287cdd198f21146"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteSecureAuthFlowViewController.swift:29-38 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/SepaMandateViewController.swift:47-51 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteSecureAuthFlowViewController.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc400191203f36733c12bdc3bdf2497f374e87cc5e8c17c325d21c1773e1766d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): StripeUICore/StripeUICore/Source/Elements/Checkbox/CheckboxElement.swift:67-69 | StripeUICore/StripeUICore/Source/Elements/TextField/TextFieldElement.swift:250-252 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/Checkbox/CheckboxElement.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5453d6744586903bab039e4df1433e553c8710e363f1e8f25b5ad98119911e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient\u002BPaymentsAPI.swift:48-59 | StripePayments/StripePayments/Source/Internal/Analytics/STPAnalyticsClient\u002BPayments.swift:93-106 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient\u002BPaymentsAPI.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b170a78bb2964f8e430e6009c95366f939a6b89d498a46efecefd698987c9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift:61-68 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement\u002BConfiguration.swift:328-335 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c74d2c8477447d99a47847860014e7550ba48bba8bbd9103e9d7b3835d3ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInternal.swift:85-89 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEMultiPartnerView.swift:38-42 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInternal.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff9498dc4d61ecafca033ebbf14b66983d7c2014821f4579593cb06b5b13368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripeCore/StripeCore/Source/Helpers/STPNumericStringValidator.swift:20-25 | StripePayments/StripePayments/Source/Helpers/STPCardValidator.swift:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Helpers/STPNumericStringValidator.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"522ce42026bb0488e1428d8ca0d6bb2816bd2c9a65ee63f7f5fc35b18e5f8067"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift:59-62 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupViewController.swift:54-57 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a11bd7661517427b5020e2dbfff4101c8aa09a275484c279a3f3893359dfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift:857-866 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:1340-1351 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fac887bb0115fafa7ec70fcf04f1472b53c5b4cf7bcdd17633adb36f824e30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheetConfiguration.swift:145-150 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentElementConfiguration.swift:72-77 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheetConfiguration.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8bfe809ed15e51c3ba43f1a156b643c466bbea9eaf282bd0b50e23cfcd4af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/AppAttestationUnavailableError.swift:41-53 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/PaymentMethodKYCRegionChangedError.swift:24-41 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/AppAttestationUnavailableError.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a955481c9ba8773b27b82e47e3aedf6c74c5f783cd1d5e955bc4df1e05117af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerPaymentOption.swift:30-39 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift:688-699 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerPaymentOption.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf53d5fe9f2fb36a55e9bbb8fa59ce8503801937964cd27c7612d8a70d09309c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/STPFile.swift:90-98 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:159-169 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/STPFile.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d469f1ef80d7343ff35c84a9481ec2d80b1a8f104acfa3ae496f651dc74c11a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): StripeCardScan/StripeCardScan/Source/CardScan/Utils/AppInfoUtils.swift:32-34 | StripeCardScan/StripeCardScan/Source/CardScan/Utils/DeviceUtils.swift:52-54 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardScan/Utils/AppInfoUtils.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2446af946ff4e9866917316b4d9ba3fca85ff67379955b87578e55ef692396"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:40-50 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:83-96 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c8f54732c9cb5a6188f4d6eb920e0253166b009517c86898a0f0c4c6c2a03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeCore/StripeCore/Source/Analytics/AnalyticsHelper.swift:40-48 | StripePaymentSheet/StripePaymentSheet/Source/Analytics/PaymentSheetAnalyticsHelper.swift:579-586 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Analytics/AnalyticsHelper.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"71106778fa89737d3d375d3e5f7cae5c8beea84b603d7aaac12711bf2c9847aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/InvalidWalletOwnershipChallengeError.swift:45-53 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/InvalidWalletOwnershipSignatureError.swift:45-53 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/UncategorizedError.swift:45-53 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/UnsupportedNetworkError.swift:45-53 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/WalletNotFoundError.swift:45-53 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/WalletOwnershipChallengeExpiredError.swift:45-53 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Errors/Concrete Error Types/InvalidWalletOwnershipChallengeError.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dc67e5603b97c16ca9bcc886c178bd5d5b8bcd119eb1abbf2f8dcd7199d902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift:315-317 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/HTML Confirmation/HTMLConfirmationViewController.swift:57-59 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCViewController.swift:42-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b794c2cff1753257fa6f6550bf3e6428f34fc9f0f40dd919d4d15f4598ed6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNetBankingParams.swift:23-28 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayByBankParams.swift:23-28 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNetBankingParams.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41658a02ac7bb49cf1643100a6f91374da4ebfc5507ef4964bf898c4f61c6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): StripeUICore/StripeUICore/Source/Elements/ContainerElement.swift:75-77 | StripeUICore/StripeUICore/Source/Elements/Element.swift:107-109 | StripeUICore/StripeUICore/Source/Elements/Section/SectionElement.swift:149-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/ContainerElement.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbdbf6c8e1ee795668f5310a6ea83fbfa968dd67822413782cc3a7118f3b11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BInternal.swift:116-118 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController.swift:325-327 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BInternal.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1b9403f370d5763778f1792a94471780ab488c1fab4c223d4631dc71cc5dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:583-589 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:332-338 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f51e7ce14c9c34340c494f8cd712d3e8da26fe7eb5ed3b2ec604abb87932ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:591-597 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:341-347 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1cfa77c6f5c024bbeb6d61c2b028d52ec53636ece686b88fd9814217a8d60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift:24-31 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteSecureAuthFlowViewController.swift:20-27 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a955781de8ec562bbaed88c52eee3067bc090ee5dbe4407f499f172ed9aa4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCContentViewController.swift:42-46 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:805-809 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheet3DS2ViewController.swift:34-38 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCContentViewController.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d9727320bcc057becde05f722ae5024d412ffb5ea5bf6754de6f63d5969fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCard.swift:50-52 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCard.swift:63-66 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCard.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0cf74d3277c5983f1867e12943f23dbae22217affbf2951f325822dd47780b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:423-429 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:807-815 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bfb16987790f5f03b456c7cae07e48e01e2642a0f052175878e4e0bb894822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:341-347 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:410-416 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbbff9b2dd4bcaa49b90c84d64b400b20b6d3d33f101b08294c59dc753fd544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift:36-44 | StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntentConfirmParams.swift:35-44 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bd64bad55741e5f1d1c8777a19f69ea666338ce922e524ee1f613963cac0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundConfiguration.swift:601-607 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollectorUserInterfaceStyle.swift:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundConfiguration.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388688e90280451925273d8e1e4d3cdea6f49ed07f294e1dd124e758fc56740"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BLocalized.swift:14-26 | StripePaymentSheet/StripePaymentSheet/Source/Categories/String\u002BLocalized.swift:36-48 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BLocalized.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2179327e04a0fa4253688113d2e1f6f0a5402673171d18ba252aaaac0a1ba9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Intent.swift:78-85 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet.swift:52-59 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Intent.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e9d6549a61231f7fc5bf265729b172caf85534044b0af3fc11463e308e26df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:24-27 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithRadioView.swift:23-26 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFloating.swift:46-49 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"770beda9525c74f705f16885b48589620c7db57c9e07872d65ab361963c3ffd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift:117-120 | StripePayments/StripePayments/Source/Internal/IntentConfirmationChallengeViewController.swift:330-332 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d1def9f11b9b28ad81e7376ab951912efc3aee23759a8a7c17e2e6f4a329b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:130-191 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:215-276 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:130\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf5e86f2d6ad9b01720562ff5c512a577fac41309837e0adfe2fe42c3b3c58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:460-506 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:198-244 \u2014 before extracting anything, compare \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift\u0060 and \u0060StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:460\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3059d0bbf2ad2718fc32390796f516afd50d93f747dbe56812188d06b274ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:410-454 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:832-875 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:410\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3850f269a512ce8cbe9deea93a98f8a98da209da17b82a067238bdcd791dffbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:555-607 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:639-691 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:555\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9da98414529a3d65e0760bb5c7529ead5c92e02153624bf8d42bb43258736b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:273-309 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:340-376 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:273\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7a06e036b567dc3f1a0e060d1b838a4a66b18453b6ca39a0dad7bee1233e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): Example/AppClipExample/Shared/ApplePayModel.swift:16-49 | Testers/IntegrationTester/IntegrationTester/Source/Models/ApplePayModel.swift:16-49 \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":"Example/AppClipExample/Shared/ApplePayModel.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84fa7b5cc2ab2fd2802eb4aa342824b9a45c280eaeb08f47a0748432895b6cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1025-1057 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1096-1129 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1025\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0675b32aab67cbced1ad3476b727995005fe0dcccacfc0111e67eaf706662e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:45-80 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift:56-91 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:45\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e027197ccbf891e789d12e3c2a26f2b4bd920e219ef7fdb9a4b3414c65a6dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldFormatter.swift:52-78 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift:92-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldFormatter.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"333b34a8d8c377e0b844e2adca260bdbe83adcfb5205c5f618683904cee61615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 3): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift:76-103 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift:87-112 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:178-201 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift:76\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c20a5737c46d4f030b0522c792481e25101ab744f394db48e697055c3a5e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift:59-86 | StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift:115-141 \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 \u0060StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift:59\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":"StripeIssuing/StripeIssuing/Source/STPPinManagementService.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ae521178c42a8af7c4bcd9bc831d9ff8b8498e8cf58283af4c0526a45eed0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:64-89 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:92-117 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:64\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac27767dfffd72eeec484d6e5b0d4bbea9d1a84fefc12a93e75ae391d9df8a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:363-387 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:493-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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:363\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7bcd5ad60e5daa3dc58859d26c4145a30f7ea2023d8a1d5e030cb2d2520814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:302-325 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:323-346 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c68470626f4e3863f44f762984bcff3f3ce049c36aae3e6759253d7403dc00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:394-416 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:797-819 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1134-1156 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Saved Payment Method Screen/VerticalSavedPaymentMethodsViewController.swift:503-525 \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. 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 \u0060paymentMethod\u0060 to \u0060StripePayments.STPPaymentMethod\u0060 in one and \u0060STPPaymentMethod\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:821\u0060 calls \u0060updateUI\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Saved Payment Method Screen/VerticalSavedPaymentMethodsViewController.swift:527\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8f321eabcc53e6ffcc85eaac670e00cd57760bcd95b855b923a6a80e278d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201323 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/InstantDebitsPaymentMethodElement.swift:295-317 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/USBankAccountPaymentMethodElement.swift:224-236 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/USBankAccountPaymentMethodElement.swift:224\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/USBankAccount/InstantDebitsPaymentMethodElement.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"114ee07ef815c5ffd5fd4650eb77e513f06998b812c79d524bc1ed0965b64cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1663-1685 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1764-1785 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1663\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9606641c1aaaa1f67d893d95720cb6a68be7e1a8ced09be1bad74906ac4b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:156-176 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:202-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:156\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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdaade43f0c170195df9215adb17ffcd5c9c7bd8c4327e5765ef2ad9d250c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryFormView.swift:151-172 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/NetworkingOTPView/NetworkingOTPView.swift:150-169 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryFormView.swift:151\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryFormView.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f1ba269013eccbc561062112ccc2581cdaa36d43f2c07f710bd6aaaa7efed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:221-239 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:241-262 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:221\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c29b4fae1c08b1cc3810a7124c76480531e2582d2da17c75d71afb38a542d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:768-789 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:593-614 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fb5fd5ddd314096d8e9ddc6f1efe1945c5fc67d4edd044fb54b41869ac10d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:21-42 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:44-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebef9ee5bd77c787624b12587bcc9f9576770df1f01c950851a236b25b6f982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:83-104 | StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:178-199 \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 \u0060StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:83\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 \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":"StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d60c99b2e0f4a6688846cdbe003767ad731e4240adf07f2a10db4fcdd3b27ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:248-269 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:502-523 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:248\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda9efb8ce90973987026193ca10bd179343b0f16724204016a6ef446df53f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:232-252 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:279-299 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:232\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d170e165a94b1d6c451baae3ce59856d2e2da1ea96113586c34ac02a672efd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedSSDBox.swift:16-35 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedSSDOcrBox.swift:16-35 \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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedSSDBox.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"150d9770647da9adbdd0b519be39b8b718bb3494c35268d8c0c71131e587c455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:439-457 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:176-195 \u2014 before extracting anything, compare \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift\u0060 and \u0060StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:439\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85ebed3703c5cc824111ad3c66fb74a8253507b6dedc7d57fbec7210a068cbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Analytics/Experiments/LinkGlobalHoldback.swift:25-44 | StripePaymentSheet/StripePaymentSheet/Source/Analytics/Experiments/LinkGlobalHoldbackAA.swift:25-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":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/Experiments/LinkGlobalHoldback.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd9be4f2c11681b50f2015573d26af499f268e56fd94d0ed11b9af549f69e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElementView.swift:54-73 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/InlineAddressForm/InlineAddressFormView.swift:62-81 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElementView.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElementView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c476235022c44e89d004742869e23acffdd0a5a783aaa03fc5d87cd1f854d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:308-327 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:853-872 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:308\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa413db2e16df678d1646878387783dd727a7952c04903adc0a06dabb2c6324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:137-156 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:209-228 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:137\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, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:207\u0060 calls \u0060validatePaymentMethod\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:134\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6302a6cfa41cd6aeefb808a749d9b058d53d7e9a662e61cda27caae573982eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:177-207 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:172-202 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ee22d15d16bf6e633c9e63b3da0a50c610c27de7a79d8be47cf2ce59d1f796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:436-454 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:736-754 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca9d511b3c5acabb4f6355094d229cab13a63dcecf46a934deec735ac0e2fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:592-610 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:360-378 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:592\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaec782f629083d944455511c169a0594d490b2e0449225d3408bcbaa3cd5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:135-153 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:131-148 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6d8598c19d32ce4008acb659e483f2c3590352773cd615469dfd0ade56f8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift:218-235 | StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift:249-266 \u2014 before extracting anything, compare \u0060StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift\u0060 and \u0060StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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":"StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d4ed0ab60a050899c6fe9dce94cbe523961616a019684edb92f900d6b15238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardWalletMasterpass.swift:48-65 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardWalletVisaCheckout.swift:29-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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardWalletMasterpass.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f025aab34b58b4bbb6b53e3fc6375a32f44f5dddc7bd81c068f609af2626959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift:20-36 | StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:106-122 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:106\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, \u0060StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:105\u0060 calls \u0060init\u0060 and \u0060StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift:19\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":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f660d338406fd0f61eee075144ca7433ac699b7820b6f7984d095a05378ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift:124-140 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift:354-370 \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. 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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"184006c93aa7743d40a78c63edbbfcce43e0d981a989e1b2aea6213c14c1f5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift:259-275 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:98-114 \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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"88614088a36b9dbb21cdaf51d54cbd4328be50e90bcfd7cce25a799d9cb2c0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift:560-576 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift:578-594 \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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2280b44e27d951fb3c301bc32b4f4f0dc05e34afb8c47bfde1f1b881a7a94f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:289-305 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:209-225 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:289\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"76baaad3e5673021bdf7fa7a3c96b0d0b945a0a9842a3249351673e51a3659b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift:90-106 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithNativeLinkController.swift:309-325 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift:90\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8986741393f0fca83f37a76e8d1edfa51323fd04ae53d459ce54ebeddf60780a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:543-559 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:665-681 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:543\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7bec252baedcc13e14186460354bd300d3a965c6c1914d01b42e9840e322a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:393-405 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:284-300 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e38d3b81fe5ae9d9614c6211838ef08b79f106a0b52ee7a5ab6458712669db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift:151-166 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift:189-204 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift:217-232 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift:151\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2fe74764ef62c426017e8183f8bf314df08647a30ab8e77887a5a04b0fd5c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:346-359 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:388-401 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:279-294 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:346\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd41cf09338f90fd8192fd78f8ebbfca2cc15383c8c47f123f5d93b3b845c6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift:221-236 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/LinkSettings.swift:152-166 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift:491-505 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift:221\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":"StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"825b3d7873595883adea125923b06d2b2ff13d3e4b468946e52801e2b01456a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift:127-142 | StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift:164-179 \u2014 before extracting anything, compare \u0060StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift\u0060 and \u0060StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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":"StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c904239c806a1d2043a3799e7d29a83131e25dc46afdeb05a72967ea66ad0e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:53-68 | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift:73-88 \u2014 before extracting anything, compare \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift\u0060 and \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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 \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:53\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a634f3231b7da2e558a06089127762798df5b3196ea175a739ab4716cabb0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:135-149 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:208-223 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.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. 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64d5a4849282298880d392101c82e44fe14cb4360c7b1b1531bfd0173592593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/InlineSignup/LinkInlineSignupView.swift:348-363 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewController.swift:421-436 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/InlineSignup/LinkInlineSignupView.swift:348\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/InlineSignup/LinkInlineSignupView.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c5b9e1cdf66853217db82ad4225797cdea38f5792f0ec8bd259af72e88abb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:240-254 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:358-373 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f03283e4548ea59ae4bca7da09cb0b54a038ed8a6e7dc86cee5de1bdb42c6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:864-880 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:1013-1028 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift:864\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 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07b5f57c50467bddbbcc7ffad1af4942b97f78943fb266097a3525f22e22dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInitialization.swift:21-36 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInitialization.swift:80-95 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInitialization.swift:21\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInitialization.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1085b85f5656fc043ebc0a2a53e5fa9bc2f7135773b892be987de1aa8a8b90d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:97-112 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:168-183 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:166\u0060 calls \u0060validatePaymentMethod\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:94\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"231d81eb6801eb731f7a0b1d064d67860b8d4063ef8d6dea32c5b870c21ac600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:158-173 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:199-214 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:158\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f6539f9bc738c9079d1012b79cbdb079beeb99049bde367037dab940ec3f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:392-407 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:815-830 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:392\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d30b7d07036f9e1237943ec4fa7ff2839d4d95e1bcabe349f1781b3caaa91b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:223-238 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:481-497 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:223\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba95c751d5f371cc283affa5ed24b2d3a245a3fd479ee151c64bdb3aec12237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentLogoView.swift:130-142 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PrepaneImageView.swift:103-117 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentLogoView.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"445424e57b8efe1d9e3c2449083576fc07a5ab2b5f8840a0529b8779db0bd8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewModel.swift:204-218 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.swift:470-484 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewModel.swift:204\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewModel.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1338d4c4adceb388328e92294c992d5c681d8a687e5691e296f30d1e11313c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift:86-100 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift:115-129 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift:86\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, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift:130\u0060 calls \u0060complete\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c9af5afb31aa2e5abea020bf83b443c0e3d9faed2eb9c326c180b103e8b795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:456-470 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:756-770 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:456\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c6c03498de2ea2dcb04c72331eac87846bb1d3d919bc9d86ff8e3f2ca8d2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:336-350 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:721-735 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:336\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"35acd75bb321a759468205e98d731c8f10b24d6a213f6cda80fe4c7f671d2182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:403-417 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:830-844 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddcce716d5d8a3be50b8ab4d90182288f5beee5987ac18dceb4e55034b8551f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:430-443 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1165-1179 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:430\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060paymentMethod\u0060 to \u0060StripePayments.STPPaymentMethod\u0060 in one and \u0060STPPaymentMethod\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d828d030ca9ca8ab47150c4e99bcf421ffcf0aa83d2e1ba7464122e6d8f81663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:88-102 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:128-142 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:88\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd1ed46732be269a965193f097c2bcb5ac56551920294a3d28e23c54c362d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BiDEAL.swift:11-25 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:759-772 \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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BiDEAL.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cca5b96311b420be895197b56f5d38634649f7476ece2d90ad3e3313397139"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201315 lines \u00D7 3): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:77-91 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift:88-102 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithRadioView.swift:98-100 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:77\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80592fdafde1745d22b6fd64031d4146c4ef28d34578a8030f41e05e4134f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:487-501 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:594-607 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:487\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ccb2599bc9a8c1bc5af5567ffe4f71aff7598806ab9cfd2e932361d7f2e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:337-351 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:761-775 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:337\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b44e6d200d20343e2f8dea6384de0d5c0f401b9cdeb4a30e274e79e73f3f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift:213-227 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift:284-298 \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 \u0060StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift:213\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 \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010b4faa1ab56c06301e8acedfdeaf45028a7fdeb054edadf8fba44a25d8106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift:20-34 | Testers/IntegrationTester/IntegrationTester/Source/Views/CardView.swift:20-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 \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift:20\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":"Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c11bec3b01b922b29faf1262d5d2e8be81790f0099a4046fce0c9cadef7572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:37-51 | Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift:62-76 \u2014 before extracting anything, compare \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift\u0060 and \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:37\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":"Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26303d63f291fbdbf5f06b24e56e36d03a9e09d6b32aa42594b28f311f5d1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:410-423 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:434-447 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:460-473 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"145276dcec4d7a17f329eee9c888b863e98450bf875b15ce2bcdcb07dd106d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift:131-144 | StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift:156-169 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift:131\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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7263fc1700e02c6d662848658cb69d2c4d7be9efe6c170b953824a3cedb2fa6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BExtensions.swift:100-113 | StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BExtensions.swift:119-132 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BExtensions.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6eaa71d93d97a78ba447b65bc6d0d70b243b94fdcf2afbeb9c5d2c344e6cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/API Client/FCLiteApiClient.swift:40-53 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/API Client/FCLiteApiClient.swift:61-74 \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 \u0060StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/API Client/FCLiteApiClient.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":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/API Client/FCLiteApiClient.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5435002692cdc8b81370350e12dbc6e89c36f2597fe1e3bed23e0237c2cc9d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/FCLiteImplementation.swift:16-28 | StripePayments/StripePayments/Source/Internal/Helpers/ConnectionsSDKAvailability.swift:101-114 \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 \u0060StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/FCLiteImplementation.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":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/FCLiteImplementation.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1059156036360ed8565596d75f33acc188c2bb807063fab3fd5eefede85310a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:835-848 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:858-871 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:835\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1841a6b9281ff23ccd19a46d79235374512d6b7c2c727ba0a3bd7d75f1980a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BCard.swift:63-76 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BLink.swift:52-65 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BCard.swift:63\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BCard.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e6902166a62930d203aa8bc9e67eb177e3e78b8e4569ac8ea2ff7e4b0a205b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:29-42 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift:39-52 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:29\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"837d78819ef0ab3cbc7b91ae5910ab100892e07938e78dd7c6fcebbb7c06caf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:231-244 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:269-282 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aba517414c7961062ae46696b11ac0e049233636a1ee4c9be539fba63d4c1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:560-573 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:683-696 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:560\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"217778dfc35b9786ab0a06eb936e61f17c196a8ebf5c7c146c2e1bda924b4e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:225-238 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:171-184 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:225\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d12010a397688ec4483d9307b34d5a84b888660d2c529eb44b7092e704ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:653-666 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:556-569 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"8002ab02762151be7a1a6ff5a718f400a66fc9665da188ef235792270ea297e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1504-1516 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1533-1546 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1504\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f08d240eb2e499e73a7599c966bdbb11f3feeb4af64b33d85cbe64d8979781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:50-62 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift:61-73 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithRadioView.swift:73-85 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFloating.swift:97-109 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithDisclosure.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 78 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift:50\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButtonFlatWithCheckmark.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c2bfaf31659f4d2c52792009852a94396a5ca29ad248dc6f8f5acf1cb8e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:152-164 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:237-249 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:577-588 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:661-672 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:152\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd73a19dbe8c9c4699d904337c638d2d1165e417da09eed48e483581473f08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/Extensions/PKPayment\u002BStripe.swift:19-31 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.swift:198-210 \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. 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":"StripeApplePay/StripeApplePay/Source/Extensions/PKPayment\u002BStripe.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b774b25afb796074ef93fcb82f1fcbc50a88347bc56f039a3478f2e73b1e834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift:113-125 | StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift:150-162 \u2014 before extracting anything, compare \u0060StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift\u0060 and \u0060StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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":"StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"057b82cc3aa3a0361321d678c7ff987d7eb2ff3ef85b3d96fc35df57d9376354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:108-119 | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift:136-149 \u2014 before extracting anything, compare \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift\u0060 and \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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 \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:108\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f0b43c153c4c67c2eb83721aa7888f4c9852ea09e5ec4559408bd337100c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:240-252 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:287-299 \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec017cd80107dbbf7ddc03b5e9f53268c89bcb47b446ed409579fbd77826810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:408-418 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:639-651 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:408\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ff26b54f6ca2896752874608043929af7dbb194802690151bc97edddbb51c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:283-295 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:538-550 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:551\u0060 calls \u0060constraint\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:296\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3bc13a05b73da775d24f8574cc4c1c9960a0fb7f44fa42ff411f0e2c21a24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:510-522 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:528-540 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:510\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b310fc09e6eec6705fcf98659c5ae231c15e7c422b6326f10cd61f7cd35b2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift:24-36 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift:48-60 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift:24\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BBankDebits.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dc1593dbf0024e2a9e5aea939fd2a192821e38639da90c56b721098abb46fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:84-96 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:122-134 \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 \u0060StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift:84\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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BLinkAccountSession.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8f7454f8bdf7eec5e2631d0a64d373e842ac074ae6ccf4052b81a0509779a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1717-1729 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1803-1815 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1717\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8cd2929e586f96faf1dce916fdc0c6c6887c861bb68631814e9da1004e068b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2690-2702 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2725-2738 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2690\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2690}}}],"partialFingerprints":{"codehealthFindingId/v1":"670f8ac995d87f465cb7ef3aab7a670a6d4cd8a785759c0fa377e304420c3899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:139-150 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:224-235 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:564-575 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:648-659 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:139\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d218360846bc168acc63bc0139c690a0ba179c19c2819af0135e99624ccac016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/AppClipExample/Shared/ContentView.swift:41-52 | Testers/IntegrationTester/IntegrationTester/Source/HelperViews/HelperViews.swift:39-50 \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 \u0060Example/AppClipExample/Shared/ContentView.swift:41\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, \u0060Testers/IntegrationTester/IntegrationTester/Source/HelperViews/HelperViews.swift:52\u0060 calls \u0060Text\u0060 and \u0060Example/AppClipExample/Shared/ContentView.swift:53\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":"Example/AppClipExample/Shared/ContentView.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"263369773f216a500009059e054cb15fa8f90893cb4c27a9c3abe724b879ee5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift:111-122 | StripeConnect/StripeConnect/Source/Components/CheckScanningController.swift:82-93 \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 \u0060StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift:111\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":"StripeConnect/StripeConnect/Source/Components/AccountOnboardingController.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fa6ed95a36069cec2a2ccce66e4b9570b856a406ab62a115c079cce065322e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:431-442 | StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:605-616 \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 \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift:431\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetController.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c148ec30e63b81a18020ae1aadd6707ab056f6239731077de65ba8cfcfd2bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:1016-1027 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:1098-1108 \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 \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:1016\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"8238f1c8237c3820c24976b4e12debce9d36cea2e14499249529ad57a39833ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift:425-436 | StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift:437-448 \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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"19169bb0f74a0e6c057f25d1a4f79dbe7ee0c5b5aeb06869e00c8d8c268d9b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift:67-78 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionRedirectToURL.swift:84-95 \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, \u0060StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift:66\u0060 calls \u0060URL\u0060 and \u0060StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionRedirectToURL.swift:83\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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7ff9bc454c4c3679a876477b9afbff6eea286d521b3f6d17922f49f8bcf1d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:94-105 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:297-307 \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 \u0060StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:94\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 \u0060completion\u0060 to \u0060STPTokenCompletionBlock?\u0060 in one and \u0060STPTokenCompletionBlock? = nil\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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70a7e8573e91d58c57d2f4eb5ca03647eff691b0310ef57d2a5a84594d5b770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:177-187 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:262-272 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:601-611 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:685-695 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:177\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08956f4e4df7c7d41d595111ba6a3c08b1eee850983a547a65d032e69cfb827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:285-295 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:541-551 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:663-673 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:285\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62c7180ddaaf4367696a928bd041e9c9a60ed99d2e591d86cd55bdc45c0d116"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:36-46 | Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift:61-71 | Testers/IntegrationTester/IntegrationTester/Source/Views/SEPADebitView.swift:43-53 \u2014 before extracting anything, compare \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift\u0060 and \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:36\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":"Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd7b037db47e7a0b7826f8cc68cc949cffafda16fb75ab02fd18269f91a79ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:867-877 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Shipping Address Element/ShippingAddressElement\u002BAddressViewController.swift:20-29 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:867\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c375d3661299777dda3d5e52e3614117a172881281b48883e85dc875dbdb4eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift:64-74 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:151-161 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift:64\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b002a89cf9f7aaf1f50e23a9f0758d80762e811cacedf7afdeb70420d70f2536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift:288-298 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift:364-374 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b683f37c3df8281ca7f3e7fad7e6272d0e73825c56f419bdf37d799953172b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:122-132 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:154-164 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift:122\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9661ba2810fefd088110a4c45e6ca2ef0648e9c57c62f7656f9c846f02b77e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift:192-202 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift:210-220 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift:192\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 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"750792e9c242d121b19cc7f504b111b25cf98fca67c5d2a035e2dec2d0c65514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMESinglePartnerView.swift:109-119 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/AfterpayPriceBreakdownView.swift:135-145 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMESinglePartnerView.swift:109\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMESinglePartnerView.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"291729206b389c6b1f1f3e839ae8cd9d026cae600fa9e344ae007cb3417a9c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift:90-100 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift:356-364 \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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5749edf894d1abee5b87386fbc18a122a6bb3da19445933e1767dd958ba27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift:222-232 | StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntentConfirmParams.swift:137-147 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift:222\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"48605d26d23467304b66ec1904f96db1e0999f0d23c60ac175683ef4b1d597e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:652-662 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:905-915 \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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5ba5a66b242be2d586dee53c74215d58aeac3d165332a69079a235a3c35d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:24-34 | StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:114-124 \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 \u0060StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:24\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":"StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9b8dca9daf94d6b303e06de0c4dfffaf2d0a46a2d2d9f1073a69f2a76002d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:340-349 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:725-734 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:491-499 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:340\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e4b8ac181eb148e67abf9b44662286d775797ca1fe6f358d877b1652b56b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift:179-188 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift:159-167 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCard.swift:250-258 \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":"StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb0be1e465833edce054e66765e5987676c791322fe2490dbb301a6ed66525f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:415-428 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:836-850 | StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:941-950 \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 \u0060StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:415\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb13775040d806c269609ab5c9c700a5a8427ece2fad93d94e69c1ebe931bffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:19-28 | Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift:22-31 | Testers/IntegrationTester/IntegrationTester/Source/Views/SEPADebitView.swift:19-28 \u2014 before extracting anything, compare \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift\u0060 and \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 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 \u0060Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift:19\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":"Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4983b435e7ab304bb1a674ddf2cdb19d2d4330ef5138703cf9a260fe8f561976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentFooterView.swift:73-83 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/PaneLayoutView/PaneLayoutView\u002BExtensions.swift:287-296 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentFooterView.swift:73\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentFooterView.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c1f78996e311dbcdfe72a445ed7d794945d741eeb6296796a4416f46cc661f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift:134-143 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupViewController.swift:179-188 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift:134\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb73cd04da47452a98db102f5cfc941a4b71207ad163c7ecc78e5e685063c111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:202-210 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:224-233 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift:202\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f5076415913e737e00b0c9a263d7c9aa68be628d7d80b97309c77fb7f7e946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:622-631 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:644-653 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:622\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d10b25be4e1298d3fbf86722dc0c14b8123345bf59c480d38dc853a55587c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift:783-792 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:317-326 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift:783\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6a0403953e7363e11f6d8f3cb9d61a7fc48376cec86e68924be648682fc9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:380-389 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:608-617 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:380\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47c0026270e0487a90e6a04973fac48b5a77924d44f6167348b9f322d20e7d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEPromotionTextView.swift:51-59 | StripeUICore/StripeUICore/Source/Views/LinkOpeningTextView.swift:47-56 \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 \u0060StripeUICore/StripeUICore/Source/Views/LinkOpeningTextView.swift:47\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEPromotionTextView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4c0f7660d91b9e4ca3bb348ba082aa73e2f583ab46cbe95a9b4dd704f9990d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:85-94 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:155-164 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:85\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, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:166\u0060 calls \u0060validatePaymentMethod\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:97\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8830df3dda1b6980faf9271eedc69e593880e050265a896cafba67ca37f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:125-134 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:196-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:125\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, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:207\u0060 calls \u0060validatePaymentMethod\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:137\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5dc73ba5df1c6b93c779e2d45d227924cadc11f46ae070cf5e71180f018189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:428-437 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:441-450 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"83802b7da458ca5b1a8816889805537154042a13583b89950a92d54d68262fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:468-477 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:774-783 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:468\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 \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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3de143e0ec7e96d0407416a7ee7b734ee0f322b7de39d02200ebefb0e6f6064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:600-609 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:806-815 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:600\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, \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:598\u0060 calls \u0060isNextActionSuccessState\u0060 and \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:804\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d3d844d3b878193cb7f27aebec5b690a3cbef472a5bee4bbd28c31087bb202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift:230-236 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationViewController.swift:109-115 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:331-337 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:251-259 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsViewController.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"339a7b20945aa85e19c28479821878c5d80afe268759cd37845daeadb7299b20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/AppClipExample/Shared/BackendModel.swift:42-51 | Testers/IntegrationTester/IntegrationTester/Source/Models/BackendModel.swift:53-62 \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 \u0060Example/AppClipExample/Shared/BackendModel.swift:42\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":"Example/AppClipExample/Shared/BackendModel.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd4dfe96b0fca720394389e991f041f2dbb318adef011098243cea3d07e7bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift:102-110 | StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift:119-127 \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":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/STPAnalyticsClient\u002BAddress.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f8f29a5d66d8eda27182179b2fa0688d809926c207f3ac90302f4563c8340e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:539-547 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:837-845 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:539\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, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:548\u0060 calls \u0060reloadData\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:846\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a96698d87f365427cdbfd94bc535c99cae437d479cf48749ac4c47c3c3cf55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift:268-276 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift:290-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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift:268\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b58d5cb0e9ae0377564b0f6760f8bf4ba708f21af781af9c6d2c8503668817"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:827-835 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:853-861 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:827\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d60ac80a46b69e1bb602668ddcd54eeb74780e88965117c2ef1cba10906781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1460-1468 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1471-1479 \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. 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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"259134f62685c28beb73521f852f2671d18f66d3d5c467fd699471c91152f8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:329-338 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:375-382 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:420-427 \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 \u0060StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:329\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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"38060de6fa35165ff6df58b65d463c54d34829f39410a1759d0ede5bac5b10cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:439-446 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:843-850 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:1175-1182 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift:439\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6c8bab7f14c127fa16ba63bdea68f6e29067ad7ddafff1a7d2a51fc172caf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift:50-57 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift:57-64 | StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountAddress.swift:53-60 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift:50\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0b353e0e37743048d95f45a6cfe8ea17a6c0701598cabab10abd153ac20fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift:78-83 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:70-75 | StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:254-261 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift:78\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d23f351535a32e442ae39424c4278704a84b19797fdc5944ad9e8dc074eebac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift:35-42 | StripeApplePay/StripeApplePay/Source/PaymentsCore/API/SetupIntent\u002BAPI.swift:34-41 \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 \u0060StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift:35\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060completion\u0060 to \u0060@escaping PaymentIntentCompletionBlock\u0060 in one and \u0060@escaping SetupIntentCompletionBlock\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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3768510c28eaaea0f19249f34528654351d4a7efafc9e182dcefc0c3f31030c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/OcrPriorsGen.swift:95-102 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/OcrPriorsGen.swift:109-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 \u0060StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/OcrPriorsGen.swift:95\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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/OcrPriorsGen.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a36fe716c4e824a72548d182a013391bf6a35dc2339fb95dd959e0a0b8eb956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift:80-87 | StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift:157-164 \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 \u0060StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift:80\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, \u0060StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift:79\u0060 calls \u0060escaping\u0060 and \u0060StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift:156\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":"StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa60f40509fedb00a2e98e36a2340cd41c9a4b17093bb4e1d634e87ab035515a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:354-361 | StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:398-405 \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 \u0060StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:354\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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf5eaad3a15fee79fa5e9358811bedc77d61f78674f23ce53257f33909379be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Analytics/FinancialConnectionsAnalyticsClient.swift:156-163 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift:692-699 \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 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Analytics/FinancialConnectionsAnalyticsClient.swift:156\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Analytics/FinancialConnectionsAnalyticsClient.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9962f369044167ec2b3a140815ad20d8ede8320aefb9aa0a0c7affd1838acb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift:178-185 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/Button\u002BLink.swift:69-76 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e075810d1896bdb1d04dc20ff6b3d869a6356495a94e11ddad9ca3808ff79a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Services/LinkAccountService.swift:152-161 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Services/LinkAccountService.swift:230-237 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Services/LinkAccountService.swift:152\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Services/LinkAccountService.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"429b816b0d7a1fd930c259908f4d39e9691c3716a99ce26146fae2cea1e53434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:581-588 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPApplePayContext\u002BPaymentSheet.swift:150-157 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:581\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1061594825ed2ba57f4fe84fcf620a96673606cad4d2e540fac6b797eafdf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift:383-390 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:36-43 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift:383\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c56fba3b6142119447a6b3f0fc86d692a6f9b540a2298d610908aa689164c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:183-190 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:197-204 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift:183\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/InstantBankPaymentsController.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84e3fec883038feca2dae4aaa7565b05a28e36ce92a41dd53804ec22da0dc9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldFormatter.swift:15-22 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldFormatter.swift:19-25 \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 \u0060StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldFormatter.swift:15\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, \u0060StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldFormatter.swift:15\u0060 calls \u0060init\u0060 and \u0060StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldFormatter.swift:13\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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldFormatter.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c644201fd8ce58de7a98e17574b9a4abd0563bef107f14e0286431824f6fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView.swift:618-625 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift:2415-2422 \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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView.swift"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f90a836d2115ffa126dc88d886b94df2ded37dd2b6adf4e0843ef73b12bd003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift:146-153 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BCard.swift:65-72 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BLink.swift:54-61 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift:146\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 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd75112d0262c63c60ef7f13e354c5f805723e1c6617be29f75d95d6497aebb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.swift:71-78 | StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.swift:219-226 \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":"StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b24e96bb1f0a7877dfcf195d194cccc47320dd3614e3794ec36bf7a6935393b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift:45-56 | StripeUICore/StripeUICore/Source/Elements/Factories/Address/AddressSectionElement.swift:61-67 \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 \u0060StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift:45\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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/Address.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"031568f81aa614f02b40d9133dad06525a64435400d9efa452d47ad65af4c36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionOXXODisplayDetails.swift:53-60 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionVerifyWithMicrodeposits.swift:71-78 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionOXXODisplayDetails.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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionOXXODisplayDetails.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07ffc65985f7a0572924f0c4efe6ea8caffb3c1d36bf31fe07fba48e71d3362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1460-1465 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1471-1476 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1507-1512 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1536-1541 \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 \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1460\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, \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1469\u0060 calls \u0060presentPollingVCForAction\u0060 and \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:1506\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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c198060f38ff43fece832fe94d4d3b9db1cad9245113e5a041a23be4c59ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:763-768 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift:25-30 \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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bba6e88439f10235c818bd6f0bba2df2d138e34177ffe792818e67809c1794f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift:45-50 | StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift:182-187 \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. 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":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8292c2a94aecb555fd9a3707164b50f0b3982b678c1fb13ad364c8fe5ffb6370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripeConnect/StripeConnect/Source/Helpers/Appearance\u002BEncoding.swift:67-73 | StripeConnect/StripeConnect/Source/Helpers/Appearance\u002BEncoding.swift:82-88 \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":"StripeConnect/StripeConnect/Source/Helpers/Appearance\u002BEncoding.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b56361f62e0f488d1215562132e66431087bc2d24745c3e0a08d1dc0e09e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripeCore/StripeCore/Source/Analytics/AnalyticsClientV2.swift:128-133 | StripeCore/StripeCore/Source/Analytics/STPAnalyticsClient.swift:211-216 \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":"StripeCore/StripeCore/Source/Analytics/AnalyticsClientV2.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b901a1aba309b92d81e85cae775641cea58b97b04b263b00f1448f936312e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift:25-30 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/Button\u002BLink.swift:60-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/Button\u002BLink.swift:60\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/Button\u002BExtensions.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc8d269371284671cde4d73e2bb510646346337bca8c3959484ce658bdfbd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:671-676 | StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift:696-701 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ebdaec79d438c71e5b3769d174a3abc754586d093678b86fe5f84fad5689a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetDeferredValidator.swift:60-65 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetDeferredValidator.swift:77-82 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetDeferredValidator.swift:60\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetDeferredValidator.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"505933d8f4abf031e71966b3600001ba5db182e60941a3169e3210b821f280d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BSEPADebit.swift:22-27 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BUSBankAccount.swift:25-31 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BSEPADebit.swift:22\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BSEPADebit.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfcc05568ef947dd66e0c7db06f14abf8911b3fba0f9e4646c20995df05b39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetails.swift:44-49 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsParams.swift:58-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetails.swift:44\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetails.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a4a62b74643c0a55fb678961ea725f079618f9ce356927ce8c7cf8169779d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift:80-89 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift:72-81 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.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. 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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddressParams.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1768a050c53536f5c7615849fd3c5ec54700bdd55346d3af71d5bcf163f81d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountCompanyParams.swift:107-112 | StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountIndividualParams.swift:124-129 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountCompanyParams.swift:107\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, \u0060StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountCompanyParams.swift:104\u0060 calls \u0060NSNumber\u0060 and \u0060StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountIndividualParams.swift:123\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":"StripePayments/StripePayments/Source/API Bindings/Models/STPConnectAccountCompanyParams.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0406f2a050c68d1273536eb98850b9ba2c08842efcb74b8b318e978761c7d4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift:149-154 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccountParams.swift:100-105 \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 \u0060StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift:149\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 \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":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee976262f89534d250ac54fc72c7248fc48316dedefeb879e68a88c7b41172b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1087-1097 | StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1138-1143 \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 \u0060StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift:1087\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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"d989e04b3ab69f9495a025aa66502e219e53b250c750dab0c3bb96177ee277fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:86-90 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:102-106 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:156-160 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:173-177 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:86\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"35656b287d31edfb222f949f7fc3b853510b78470f662a9af5eb671cb1d5918c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:126-130 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:142-146 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:197-201 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BDeferredAPI.swift:214-218 \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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift:126\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BConfirmationTokens.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf9d9d588fd7f3ebd5b1ad77849a8b24d670d755d9e7f2153720667db768716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): StripeIssuing/StripeIssuing/Source/STPEphemeralKey.swift:37-45 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethod.swift:295-303 | StripePayments/StripePayments/Source/API Bindings/Models/STPFile.swift:106-115 | StripePayments/StripePayments/Source/API Bindings/Models/STPToken.swift:104-108 \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 \u0060StripeIssuing/StripeIssuing/Source/STPEphemeralKey.swift:37\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":"StripeIssuing/StripeIssuing/Source/STPEphemeralKey.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8c4f75871b89fac2a340be724a8ca35d3330556fd544a4be430c806a6415d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:180-184 | StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift:218-222 \u2014 before extracting anything, compare \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift\u0060 and \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 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 \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift:180\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee2ee619a762d4aba4930366cda8dcdb121161b32f7ed64ce484bce541e39e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/AddressAutocompleteModels.swift:185-189 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentShippingDetailsAddress.swift:89-93 \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/AddressAutocompleteModels.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac5e42ce9212e4c8b8d90606658797d4314ff41fd9c214e9c26ce31b099595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift:461-465 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift:542-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d7453b5099696d4cb27d1534b876b2aa4ae5b15ad84b399ab494cfba661257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/UpdatePaymentMethodViewController.swift:244-248 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/UpdatePaymentMethodViewController.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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/UpdatePaymentMethodViewController.swift:244\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/UpdatePaymentMethodViewController.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"215c558ec298d6894c7becc50edbe4276f8e7a7f72dbf5c5a3716bbe3056bfac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripeUICore/StripeUICore/Source/Helpers/InputFormColors.swift:17-22 | StripeUICore/StripeUICore/Source/Helpers/InputFormColors.swift:39-44 \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. 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":"StripeUICore/StripeUICore/Source/Helpers/InputFormColors.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac9dfd5b21b0da75c15feda1392b3a9736353a86f0559625299544284ec64fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift:52-82 | StripeApplePay/StripeApplePay/Source/PaymentsCore/API/SetupIntent\u002BAPI.swift:51-81 \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 \u0060completion\u0060 to \u0060@escaping PaymentIntentCompletionBlock\u0060 in one and \u0060@escaping SetupIntentCompletionBlock\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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/PaymentIntent\u002BAPI.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b4e6d1b1961505be15e183d16db8b54ed57197c388fb0e92a7b6b8990d029e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (88 lines \u00D7 2): Example/AppClipExample/Shared/PaymentButton.swift:20-107 | Testers/IntegrationTester/IntegrationTester/Source/HelperViews/PaymentButton.swift:20-107 \u2014 before extracting anything, compare \u0060Example/AppClipExample/Shared/PaymentButton.swift\u0060 and \u0060Testers/IntegrationTester/IntegrationTester/Source/HelperViews/PaymentButton.swift\u0060 as WHOLE FILES: 100% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/AppClipExample/Shared/PaymentButton.swift:20\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":"Example/AppClipExample/Shared/PaymentButton.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b896491c43d88b374ef509a8b6187cb51f4fdcc1a8d1cd46426ccec02d412d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedAllBoxes.swift:12-17 | StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedAllOcrBoxes.swift:13-22 \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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/DetectedAllBoxes.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3dbe9130245c76de546a81e9909f5e8a24fb0793fa28439ea0747c54434e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Analytics/Experiments/ConnectionsFCLiteVsNative.swift:17-26 | StripePaymentSheet/StripePaymentSheet/Source/Analytics/Experiments/ConnectionsFCLiteVsNativeAA.swift:17-26 \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":"StripePaymentSheet/StripePaymentSheet/Source/Analytics/Experiments/ConnectionsFCLiteVsNative.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5f8c873df55d458e979beff3ab1b8714c3685172b09b19fc320656a5a32356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmLinkOptions.swift:25-35 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmUSBankAccountOptions.swift:18-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmLinkOptions.swift:25\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPConfirmLinkOptions.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8258faebedfbcf4809bf92c56dc7210d9a9e77fc60701f7732467ff16e2a7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirmParams.swift:14-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAfterpayClearpayParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCashAppParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKlarnaParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMultibancoParams.swift:14-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodRevolutPayParams.swift:12-20 \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 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirmParams.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58abedec9d1bfec28d4ee9aa08838b097943a5ef75b9d585b96215abef30c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 34): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlipayParams.swift:18-26 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlmaParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAmazonPayParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBLIKParams.swift:18-26 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBillieParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCryptoParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGCashParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGoPayParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKakaoPayParams.swift:15-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKrCardParams.swift:15-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMobilePayParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMomoParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMonduParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgBankTransferParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgCardParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgUSSDParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgWalletParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodOXXOParams.swift:16-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayPalParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayPayParams.swift:14-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPaycoParams.swift:15-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPrzelewy24Params.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodQRISParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSatispayParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodScalapayParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSequraParams.swift:15-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodShopeePayParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSunbitParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSwishParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTouchNGoParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTrueMoneyParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodVippsParams.swift:13-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodWeChatPayParams.swift:15-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodWeroParams.swift:15-23 \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 34 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlipayParams.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"07838c3058a1e97f61d716f24fd8c11903ded0fa82c7efb6eb26ecf4b68fec32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBancontactParams.swift:15-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodEPSParams.swift:15-21 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGrabPayParams.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTwintParams.swift:14-20 \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 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBancontactParams.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bff012dd7523991df9e778d2e8b5e282f567a0cbe32605bfdf544a43837e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripeCameraCore/StripeCameraCore/Source/Coordinators/Torch.swift:22-36 | StripeCardScan/StripeCardScan/Source/CardScan/UI/Torch.swift:14-26 \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":"StripeCameraCore/StripeCameraCore/Source/Coordinators/Torch.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c2b9ca9bac64875a7a1638ac1892755da929effa7ce89a386f68d2448a7a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift:187-193 | StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift:302-308 \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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a60f1332699d72b948c8df8fb339cea7780bdb6f5ee4c2c481d60b95f957259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/AccountSessionClaimedMessageHandler.swift:17-24 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/CallSupplementalFunctionMessageHandler.swift:24-28 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/OpenAuthenticatedWebViewMessageHandler.swift:21-28 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/OpenFinancialConnectionsMessageHandler.swift:25-32 | StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/PageDidLoadMessageHandler.swift:17-24 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/AccountSessionClaimedMessageHandler.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa28f861cfbb5a09f07cf45067b2e4e17c498cd7da1592f2c143bc107a1755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/RegisterWalletRequest.swift:26-30 | StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/WalletOwnershipChallengeRequest.swift:27-31 \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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/RegisterWalletRequest.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4bf75755cef7212826261e386d0c729aefd7a8a88a49c5ad1ab740bcb00d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift:390-398 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AttachLinkedPaymentAccountViewController.swift:164-172 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be8dbce962e6fa582dc251e54fcd2c09150416d0bf1a9aa91fc3aea266de772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift:148-155 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupViewController.swift:196-204 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift:71-79 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationViewController.swift:88-96 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginViewController.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a559ef0899de336d7e804e77679d0f31755a02956a6ba5aad5a112538cbb94a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift:125-129 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationViewController.swift:138-142 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationViewController.swift:135\u0060 calls \u0060showLoadingView\u0060 and \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift:121\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15fdf45efbaa9908dcec28cfdea6b0a7320107410f75cf0445115fb5a0c3e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:550-557 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:296-303 \u2014 before extracting anything, compare \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift\u0060 and \u0060StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"6116dad630e3e403b9236cf7fa91faa77870bacc93a1a09a43e697ab36d0948a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:564-571 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:311-318 \u2014 before extracting anything, compare \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift\u0060 and \u0060StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6991bc3c1477559ed0b19ab4a55c56f9283c6e99321a2e8b622a923b4916d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift:328-337 | StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteContainerViewController.swift:309-318 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e7f54b9483a80ce9b869841dded9ade484adc8563acf8f6eaa975033f2ac02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Helpers/STPVisionSupport.swift:13-24 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Helpers/STPVisionSupport.swift:13-24 \u2014 before extracting anything, compare \u0060StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Helpers/STPVisionSupport.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/Internal/Helpers/STPVisionSupport.swift\u0060 as WHOLE FILES: 85% 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":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Helpers/STPVisionSupport.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0130ad4f30ae7c3122038131fc8402b647b20ccc8510cb37050655804c40ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift:447-456 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:398-407 \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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff0c3f9f268e2fd8b656d90a51f153c873be1018d7d83b0b69959cab653ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Components/Consent/LinkFullConsent-EmailView.swift:47-53 | StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Components/Consent/LinkFullConsent-ScopesView.swift:125-131 \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Components/Consent/LinkFullConsent-EmailView.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb59e5a408b828e238c65883b4d45bb8a144a1dae0c3f66393410c86f58bdf62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift:31-37 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Shipping Address Element/ShippingAddressElement.swift:77-83 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c9fa2e5ec7fa99ce5a12be18f4d8b57e76721e0943c9443a6f7bc8e0236c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift:426-434 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift:726-734 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68aab0ecc4c9a73abe96d5c22951c90fc6877c31347cc5d4a92e4df49ae5234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:138-145 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:171-178 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d3e8063c5b99db77536f7f5d868979fba7ec82d38e3b0d9116490f987ba872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:196-206 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:255-265 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 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. 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef966c9cbc8fd3f0f3b4546c573af401abb3152c17921bfe87a1de42166a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift:343-350 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift:492-499 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b984e0ed4dbf952831710926f197a35751c1e82a41c1a6aa28f564a44ebb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:61-70 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:667-676 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c5c2ec03380d6eeae4507bc48d725bb5e02f36e4bbd9ff491530aed5c0eb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift:341-347 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/VerticalPaymentMethodListViewController.swift:224-230 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c05f9eb7eb9b1d9cf560aca085df69876d8a2dc77846174689b63a76ba46685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/New Payment Method Screen/WalletHeaderView.swift:253-262 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RightAccessoryButton.swift:148-157 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/New Payment Method Screen/WalletHeaderView.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccc6524bdeafc5c0fc5ec079da7ebecf4c78a50563faa0412d837916de6c802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:91-96 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:90-95 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"474f34e6c3705ada06677587875908447b169e7a52b6ee6cdd1e5a18c16be324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:296-300 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:317-321 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcc427f10ebeecf2f1547f75b7e088cd241b5637230a9b9033022bb13a363b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:514-521 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:602-609 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"5397f179c715e4645d59097b1d08933f7f0ffe601d8af9ce5689170223428854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:590-599 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:720-729 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfba0555059d4c865c5a61fb04c533926651af97ac7759a362614e4b0a339c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift:601-605 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift:731-735 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"649b543c37291379733278f880691b045102f4a11b23a81f0d08041944991883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:668-675 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:571-578 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"746cc02cd6ad382cc2696f6d640be7def51a0730a045f589d10b9b952d67c2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:819-825 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:662-668 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 107 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift:671\u0060 calls \u0060set\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift:829\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6406707a9fff47ecde7a9aadf6b5e83f8ca1e19804feeb8d24d805fe69e16074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirm.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMobilePay.swift:26-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMultibanco.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodVipps.swift:25-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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirm.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeb93fd9da29e83b9c55dcebe14620e0f160a976090cdbf8bc6a847d12a4197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 19): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAfterpayClearpay.swift:28-35 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlma.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAmazonPay.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBillie.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBoleto.swift:48-55 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCashApp.swift:29-37 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCrypto.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKlarna.swift:29-37 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNetBanking.swift:32-38 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayByBank.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayPal.swift:28-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayPay.swift:27-33 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPrzelewy24.swift:28-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodRevolutPay.swift:26-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSEPADebit.swift:48-54 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSatispay.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSunbit.swift:28-36 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodWeChatPay.swift:28-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodWero.swift:28-36 \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 19 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAfterpayClearpay.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bab88bacb00b52ac8fd1d62126f219b306cbcbf48c347879a9ee97f02d930c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlipay.swift:29-35 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBLIK.swift:30-36 \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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlipay.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed61c81f63f832a98b369222dd7f435778edea4af57074526031d72e5c9dae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBacsDebit.swift:38-43 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBancontact.swift:28-33 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodEPS.swift:28-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGrabPay.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodLink.swift:29-34 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTwint.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPSourceCardDetails.swift:54-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBacsDebit.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b0d60d9d726d44e4b07c72de8c808a10adcb8c1fd6fb4dd02acc675cafee6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 15): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGCash.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGoPay.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKakaoPay.swift:26-31 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMomo.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMondu.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgBankTransfer.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgUSSD.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgWallet.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayco.swift:26-31 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodQRIS.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodScalapay.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSequra.swift:26-31 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodShopeePay.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTouchNGo.swift:27-32 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTrueMoney.swift:27-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 all 15 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGCash.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8721744688716bed6463c8f6399b2ca9d222e5a624f7ca80c27fbcda5ab3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKrCard.swift:32-37 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNaverPay.swift:32-37 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgCard.swift:33-38 \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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKrCard.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd268c66c360fcb5d192f1cd8b08d5c4e2224346a25642af79edb740b86c8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodOXXO.swift:31-39 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSwish.swift:30-38 \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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodOXXO.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b3c30212b3708bda47ddb729703fa32222b974f16bc22ff0f1fbbd7b4d330f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionBoletoDisplayDetails.swift:61-67 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionMultibancoDisplayDetails.swift:66-72 \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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionBoletoDisplayDetails.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"265d3f9af089a495333881718d3d6913df29f98bd490d582632cd0e9b297c72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionCashAppRedirectToApp.swift:37-44 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionSwishHandleRedirect.swift:35-42 \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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionCashAppRedirectToApp.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47b0da1532ed326d5669415d46445ba95f5698125d10c38f064174d817f69fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPayNowDisplayQrCode.swift:35-42 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPromptPayDisplayQrCode.swift:35-42 \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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionPayNowDisplayQrCode.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"008771086ac733308e9041ac68fafd8f246a2b66425bcd3c9efff467c5b6cb10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardCVCInputTextFieldFormatter.swift:30-36 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPNumericDigitInputTextFormatter.swift:43-49 \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardCVCInputTextFieldFormatter.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2caaa896dca524740216a1af7322aba85a6986cd926a8c87bce1ba438ae7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift:189-200 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift:260-271 \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e78da7cab3e4281600a8cd0c10c29c2aaaf2c12c60865f2f7fa4a4326cc932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift:245-253 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift:322-330 \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPInputTextField.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2ccf8cde1c869b46ab0f15c7504ba54792eaa1d6badd3ca5d7310a78a36f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView.swift:599-605 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift:2396-2402 \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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView.swift"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e9ef1d041a6bbb7ecf8cdf5230b49e038ab4387bfbd40d2bc7a51852ae745d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): StripeUICore/StripeUICore/Source/Elements/PickerField/PickerFieldView.swift:231-240 | StripeUICore/StripeUICore/Source/Elements/Section/SectionContainerView.swift:188-197 | StripeUICore/StripeUICore/Source/Elements/TextField/FloatingPlaceholderTextFieldView.swift:197-206 | StripeUICore/StripeUICore/Source/Elements/TextField/TextFieldView.swift:340-349 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/PickerField/PickerFieldView.swift"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c374fb8ab4f5fbddb70792173011d7283e0952ec8aea72dd97047c1f866bcf2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntentParams.swift:96-103 | StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntentConfirmParams.swift:199-206 \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntentParams.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b15ec546000be94974095699cefca742fcc7df3f33b9f93e8221c9d9df24d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient\u002BPaymentsAPI.swift:13-22 | StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient\u002BPaymentsAPI.swift:24-33 | StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient\u002BPaymentsAPI.swift:35-46 | StripePayments/StripePayments/Source/Internal/Analytics/STPAnalyticsClient\u002BPayments.swift:27-38 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/PaymentsCore/Analytics/STPAnalyticsClient\u002BPaymentsAPI.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d08bf0109a1978fd7859c6676fb286466ba8a330ee819ecee4e71581e96d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Common/FinancialConnectionsNavigationController.swift:204-208 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AccountPickerRowView.swift:163-168 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Common/FinancialConnectionsNavigationController.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f66de13e446f44965156ff50edda98592cef9ede4319270fba662bb189568c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift:52-57 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AttachLinkedPaymentAccountViewController.swift:36-41 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a18225c492b54ea40ca9fdbe126a3137ca72e2f7be97eae4a6c6c3f618af43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift:69-75 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AttachLinkedPaymentAccountViewController.swift:53-59 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ef5d6984c183a5dd5a9c77d81d91f9a6a045dd6fec7a282a9e14d7a31363b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift:146-153 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/LinkSignupFormView.swift:215-222 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift:149-156 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"224c93b28b2817691ba5d8d1fc32d6c6e54c2436607cc38c80edad5d392d11e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift:255-263 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupBodyView.swift:97-105 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd70724b64e5c83f5fab1b5af3712b9f239bb3f122a10b9da921581060331e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginDataSource.swift:75-84 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupDataSource.swift:73-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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginDataSource.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec047bab773adf440913d1c9a05b2916bc32b18f1dbd47e517b19f95951a4fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginDataSource.swift:135-145 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupDataSource.swift:87-97 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupDataSource.swift:139-149 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkLogin/LinkLoginDataSource.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6109683d146dd88dfa9eba6c03ec8d921156b56c702e6139b0ce79ddb73a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift:205-216 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationViewController.swift:207-218 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationViewController.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b491c0f443ef767a0d5dcbccfcd71d6936aff971ffdc42bd99ca701af56ca38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift:18-27 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/LegalDetailsNoticeViewController.swift:18-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ed502c1effe3a43f3c8268a8443bdbff6d5bd87dd3dd19f160f88f5e769825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift:632-642 | StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift:388-398 \u2014 before extracting anything, compare \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift\u0060 and \u0060StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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. 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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d05e77a5c0a9b8597d5e8fcc60b3a43a25f603eb9fe22d09cb175901dc991fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/Elements/IdentityTextButtonElement.swift:49-53 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/CountryNotListedViewController.swift:100-104 \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":"StripeIdentity/StripeIdentity/Source/Elements/IdentityTextButtonElement.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"04632f4a93d13e212335e653ef94c24c14e4900e271ba0bae181a4b6201d8819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift:651-664 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:733-746 \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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2158bd0c83a5a69958045322590bfef5dee3864cf0da0fdef4d022010721a3de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift:666-679 | StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift:748-761 \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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34a18c8860f4530705ad5b6ae2aae146159444d76ba3b3381eaca219fd1fb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): StripeIdentity/StripeIdentity/Source/NativeComponents/Views/BottomAlignedLabel.swift:85-92 | StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityHTMLView/IconLabelHTMLView.swift:92-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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/BottomAlignedLabel.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdaa7c42682821735c442c78d0de8f4eaaeb666c8dc3fa8394f437167d8e0521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet.swift:239-249 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController\u002BAsyncPublicAPIs.swift:86-96 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac2d56402995e3476a9269ff313e4d1953b3948cb4ff15b8698766bb5076b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationVerticalViewController.swift:23-29 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationViewController.swift:55-61 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationVerticalViewController.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00602091e599a05d8766997203a868b7427eef36a3569bc0777d04048bee884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 45): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirm.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAfterpayClearpay.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlipay.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAlma.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAmazonPay.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBLIK.swift:19-26 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBancontact.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodBillie.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardPresent.swift:17-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCashApp.swift:19-26 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCrypto.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodEPS.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGCash.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGoPay.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodGrabPay.swift:17-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKakaoPay.swift:18-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKlarna.swift:19-26 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodLink.swift:19-26 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMobilePay.swift:16-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMomo.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMondu.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodMultibanco.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgBankTransfer.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgUSSD.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgWallet.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodOXXO.swift:17-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayByBank.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayPal.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayPay.swift:17-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPayco.swift:18-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodPrzelewy24.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodQRIS.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodRevolutPay.swift:16-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSatispay.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodScalapay.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSequra.swift:18-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodShopeePay.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSunbit.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodSwish.swift:16-23 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTouchNGo.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTrueMoney.swift:19-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodTwint.swift:17-24 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodVipps.swift:16-22 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodWeChatPay.swift:18-25 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodWero.swift:18-25 \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 45 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodOXXO.swift:27\u0060 calls \u0060init\u0060 and \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirm.swift:28\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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodAffirm.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a2b6d2e58c8fdbadf589e41ffe50583f10585be8d4523cbf6e511988cd2508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKrCard.swift:39-44 | StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNgCard.swift:40-45 \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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodKrCard.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9881e71e90b1bb4d81befcc2929e059b96a882408375e783756d9bdaf2c451d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNetBanking.swift:21-29 | StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAutomaticPaymentMethods.swift:17-25 \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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodNetBanking.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9953833b8a65e9d9807eedc742797da85d1ebbbf9c16580f3f1da4637a8acc3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:77-84 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:109-116 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift:138-145 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPBankAccount.swift:103-109 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/STPSource.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bb8c1f10bbed4e7b90a0869c1fd5cdc9241ba9c3af763c4e1bd143ce63845f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCard.swift:174-179 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPSourceCardDetails.swift:105-114 \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":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCard.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"285e335bd4f4611bb6af731356b19b63870b9209ac3dd6c25fc358e95c5ad2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift:1001-1007 | StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift:2503-2509 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060code\u0060 to \u0060STPCollectBankAccountError\u0060 in one and \u0060STPPaymentHandlerErrorCode\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":"StripePayments/StripePayments/Source/Helpers/STPBankAccountCollector.swift"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fe18aca9931cc311a5df6f73d07f89af0c465739ce47020f06e636465ef90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardCVCInputTextField.swift:49-57 | StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextField.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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardCVCInputTextField.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f32f30dbfa05648698d3146c77cbabe3c86141685ec0e6a06c6bed416256d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:212-216 | StripeCore/StripeCore/Source/Helpers/STPDeviceUtils.swift:15-19 \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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"78acb500647fe550a912a07c0b137e7ae6cdc69493c8a95f1ca1cc1ecee350c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift:671-675 | StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:172-176 \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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c08c4f83ba6a1a3f82a5618337bdab08af9501869804e6075aa02dcfb95767f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:519-525 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift:537-543 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f66d0d3f1ebd7c188b2c3679c7447a792e5f7ec51c239dbc544b5b8cc85f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:296-302 | StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:552-558 \u2014 before extracting anything, compare \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 86 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 \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:296\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, \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift:551\u0060 calls \u0060constraint\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift:295\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"970009eebafe7323eed24bd6cfc418d3bf1ef0d687de8155c3cbdda4a3d479fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCard.swift:218-222 | StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPSourceCardDetails.swift:125-129 \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":"StripePayments/StripePayments/Source/API Bindings/Models/Sources/Types/STPCard.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"901edb22f2832482551493973980dcdebcdb513131cb5d6bf8b2813cc29f0e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): ci_scripts/notify.rb:15-39 | ci_scripts/notify_ci.rb:10-31 \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 \u0060ci_scripts/notify.rb:15\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":"ci_scripts/notify.rb"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0519ab50918bb54350811d14979140d62f6527a96834a1a8e5f2ead48354dea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (11 members, 26 shared lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:66-101 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:68-110 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:68-110 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:68-110 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:66-112 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:69-111 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:67-109 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:66-108 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:67-109 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:68-110 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:65-100 \u2014 These 11 members are variants of one another: a block of 26 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3ccd416d0e2ff7da370c7212e81f68817919c715b04e108e9ca7750cfcd388"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 19 shared lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:19-67 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:20-77 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:234-304 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:80-128 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:40-80 \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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5edbd05518e1e49644f803d209cd524e2c0bb18795e9a6ad83190feb6dbc75f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (20 shared lines): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:259-291 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:326-361 \u2014 These two members are variants of one another: 20 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":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b781784a135f9c9c096bf90f8d56a002bfada488bf39f3ea099cf59d1fbc7c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:156-174 | StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:175-192 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b5b667f543543fe010601f4b9db887f3b8a17acebd22d35ba098745f718cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (17 members, 50\u002B identical tokens): Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:32-49 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:35-52 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift:37-54 | Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:32-49 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:32-49 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:33-50 \u2014 These 17 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 17 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 17 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"973d677dd3bd427728005e88c6830beaa6e3d87519bf9a36947f06c85548cd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:346-390 | Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:392-417 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:206-220 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:66-92 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:109-126 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:853-870 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec00d940c1c2905f7871fbd215c099ecb1cd7d7bc4a4a185d35135e56e238789"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:120-129 | Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift:115-124 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:136-145 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:157-166 | Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift:454-472 \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":"Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a7668daa7ac8a9ffd7d094f11180e7c2995dba738523894cba132ba854f51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift:129-142 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:426-439 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift:129-142 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:426-439 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b845a60374dcca1a1de6cc69610ec41e7e430a2d2e7a0fffe68cc9b377198fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:108-121 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:146-161 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:159-172 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:128-142 \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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1026e17bcbc4487a9605268966e3ce5318a2120d4e3ecaab7230d12f00ece9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (106 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:168-273 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:275-382 \u2014 These two members are one piece of code written twice and then edited apart: 106 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"245b700168261532a13ed927b2c4ac7f66b81acc86e63731a8084a4bd58f591d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:1016-1088 | Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:1090-1167 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"557076c8da1621fe20e20c1ec6563a917526ba3510306b185fcb99e816f9f4c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:81-127 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:79-122 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cac87068a72c8565ea47f7b64a6c8f114ae0af939aa9856e7490237e7edff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:49-62 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:64-83 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:98-119 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5849c0f123995984bccbec4f724c37a41e358e8748b7de94eb523e4c89a6456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:249-288 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:306-345 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f85605dd0ccc6758ce07d4968f168d5a15fb3050e2b93fc8dcb42e1eee1938b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:437-473 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:475-511 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e03075c73728c620dddb0b7cc426de33cb1077e421e123636081a5b8c30241"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:65-108 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:66-118 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"728c9ea0ce5e1f872ee152f9bbc8b30d1a892511cf22e65b9b558d5a52f91073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:68-114 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:116-160 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d45de1d730af74def609c6fcea364353fedb25955ea617cc991243f619f8808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 43\u002B corresponding lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:65-107 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:66-110 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:68-112 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 43 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"809fe2ff72f0991b1dbfca00e0ea5394575c75546ffa644150296f14a873164b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:66-108 | Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift:67-103 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4e3bc8efe56a293edd6db481c6c482d4efc1faadfb0cf437d167bb6cfe3e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:305-331 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIEmbeddedPaymentElement.swift:94-125 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b274e3ed322cf49b11a9547026882350799020bc21f60566a8ed0d006c9724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:395-438 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:525-571 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a282c03de01105598822e0dd4be40eb049ff0982e7939be5cbc7d601d5fcbb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:644-669 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:675-706 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46b754b6ca3afdd9b06fa4ebea6bf7cc1851e28d57a6e095bc39b4b0e9e495b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:355-393 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:440-483 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bcc1a1d7c6e638f1273e3c3605ac9f91d000fac8d50d0cbdcb4faaf1578f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:130-137 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:163-170 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:174-182 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae914f1a0d380b71735f14760416aa493265f4f5769b1d822cd31cae8db0c9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:149-178 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:170-195 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0114af117808344fc701205090369b1720f9e1e553e87fa9cf821e3c70d806b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/IdentityVerificationView.swift:88-118 | Example/CryptoOnramp Example/CryptoOnramp Example/TermsOfServicePresentingView.swift:61-103 | Example/CryptoOnramp Example/CryptoOnramp Example/UserAttestationPresentingView.swift:56-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/IdentityVerificationView.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a99489c9252912079fc9b1566b0c3833709b9a2856d1e0058b2b66ef7d86789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.swift:44-63 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.swift:71-92 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e57d4a67adbec9a50cd6f0b9f4f15290c3fa8b2df7a7cc4f43f9b1b0a14273"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:279-292 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIViews.swift:112-129 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8d10fbacda8409228983a3e748be30638e18bfcc953417e8eb9711df41f957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/KYCInfoView.swift:453-470 | Example/CryptoOnramp Example/CryptoOnramp Example/UpdateAddressView.swift:153-168 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/KYCInfoView.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8760c04a9607f1385033a8517a41dfa1ba78bd06e891dd650f39fea184b8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): StripeCore/StripeCoreTestUtils/KeyPathExpectation.swift:13-29 | StripeCore/StripeCoreTestUtils/KeyPathExpectation.swift:31-47 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTestUtils/KeyPathExpectation.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0065ae4d83e9a6681feeb25dfba3e2b30a474a8a562485cce58517d9130b24e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:63-77 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:66-82 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ebf87643ab351ba70aac879fb40118b89141198267cfd14aa07b675f21ced2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient.swift:111-128 | Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient.swift:130-145 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7426a0bfb6c80cd7065248fe73bece4c1c944113533f25e1db13f02ae425d38d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:164-179 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:390-410 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd5ab30778c402440dd29e2addc8e7bbd6f3bfcd174cf6b49384c05d3f92298"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift:11-17 | Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift:19-25 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5321765b0e2828e52c2b66fe917659530f19a8245d134707c888b27b4c336f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:87-103 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:69-84 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:89-104 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:89-104 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:107-120 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e0dbc61578afd8c906cfdcaba8b7c027bafeb13f4493782c3d2c2ebe19ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:816-825 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:834-848 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"1757cd2f59cbe04bfa099261d111e9b1b1beada9a5d3eb1bb443cf634102abbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/LogInSignUpView.swift:121-134 | Example/CryptoOnramp Example/CryptoOnramp Example/LogInSignUpView.swift:136-149 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/LogInSignUpView.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99a550eae72f864ea1d59765ef5b8ab9eaaaedf55881e749e03930f89869d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:326-336 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:1348-1358 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9aad1afeb65879b1cfdc9178593635c0042c0988b42ce89ae566758140895b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:219-237 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:261-279 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:282-300 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e5c315bea11b799e96e70ece242935e03304663672bb3ea99feef5a3065188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift:286-294 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:737-745 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d1d3d02bbe562528c286599f8ef5a94fd5f809558cadfe30b80ed595408bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:778-786 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:803-810 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:811-818 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d589625b9f37c7601704731f24f891806f39a53cd883dfe90a33b360ce6808"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/EmbeddedPlaygroundViewController.swift:331-341 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:84-95 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/EmbeddedPlaygroundViewController.swift"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e98ae486152e2b336fda20fa63488377fd8f8ec619285099ed71ed4594dbb90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:628-638 | Example/PaymentSheet Example/PaymentSheet Example/ViewController.swift:55-69 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"85381ef85612b33e8f231b76bb8bb6e625b2fc75cee9fef5ca47b2454f6feb6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampFlowCoordinator.swift:286-291 | Example/FinancialConnections Example/FinancialConnections Example/Playground/helpers/UIAlertController\u002BExtensions.swift:14-32 | Example/StripeConnectExample/StripeConnectExample/MainViewController.swift:245-249 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampFlowCoordinator.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"505c815b09ba75914aaf4f4f3d9ed16b8ce3bbbe018af94c56250ae508fc7e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Example/FinancialConnections Example/FinancialConnections Example/ExampleListViewController.swift:82-90 | Example/IdentityVerification Example/IdentityVerification Example/MainViewController.swift:14-21 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/FinancialConnections Example/FinancialConnections Example/ExampleListViewController.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"de10ea24cce97d9bcfa8c433d3dc88aa52d8ff7ad5e4bdfdafe08df6f31f4532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:16-31 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:15-31 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8db8577b97b91d5a65856cf97ed35d75380b60d3b5767211008463868113d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Example/UI Examples/UI Examples/Source/BrowseViewController.swift:77-86 | Example/UI Examples/UI Examples/Source/ThemeViewController.swift:53-61 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/UI Examples/UI Examples/Source/BrowseViewController.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4f13f5b47af38a19d000120a3678a1e6f85dae734a4b4243ae97ec1ba639e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift:162-173 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:628-638 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53edfe905eb7e8b8fb2c32d9e189eb898f0eaf73fe7af223c53a30e7641afe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Example/StripeConnectExample/StripeConnectExample/SceneDelegate.swift:14-23 | Example/UI Examples/UI Examples/Source/SceneDelegate.swift:12-27 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/StripeConnectExample/StripeConnectExample/SceneDelegate.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2073fdd98265a9c22f77790f1d927575741d1820331674a77a664251a38a8743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/PaymentSummaryView.swift:269-283 | Example/CryptoOnramp Example/CryptoOnramp Example/PaymentView.swift:1106-1121 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/PaymentSummaryView.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4499c7fa356f0b31ad8cd53c7830efc611eb4823de5b15a41a88d64da0b600e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift:40-45 | Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BCrypto_V1.swift:26-29 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515fbaca52864a0aea8c6b6f183bdeaebb7f203ab77587fb326e9faab6ec968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:28-34 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:36-44 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4baeb45e0df528bb304b731767457e336ad31616d906c6b674f6c54eac7737"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift:47-50 | Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BCrypto_V1.swift:31-35 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"664db51dbbc5e9c9d0fcf30b7805d4230140420823f4211c5ee513c89fec2599"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:18-25 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:14-20 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ed8cdd4a3ba3fb875e2c8ba48fc2d71b0ed4f7ea83f966951459815ac7d1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift:405-413 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsView.swift:17-25 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8890bf7b5b57ec59dd241ea2af7b48c99302cecd0dc050ecf561cc0f3fcfc10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift:52-55 | Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BCrypto_V1.swift:11-14 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/Example API Bindings/APIClient\u002BAuth_V1.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c9a08bb0487cfa605d3e1ac27846b66ab6d6e02bd860376ef67ddb0fb01c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:827-891 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:827-891 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96d50eabac6f427a34f2e5cfbd9fdd2231c397d624981a7f4e163601e019329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201357 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:144-146 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:170-226 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:296-352 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b9c25ee09922e1a54bd89679e3f415003b7d2ca0313b3407ca549efeea608d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:1024-1065 | Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:1099-1141 \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 \u0060Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:1024\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":"Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cd0be4314d7f5bedaad05a892f289c157edc309ed1f4614b7163c6c560adfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:241-282 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:241-282 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d227d5571122c28d7576d2372df3b2838b38d96fecacf074ed105c0e8e0d837"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:41-79 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:51-89 \u2014 before extracting anything, compare \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef45f56ef4005070c15b9aeff103f453de1d4b3991732aa28f8efc0f281a2ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:40-72 | Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift:255-287 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift:255\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4658fb4a6e70dfeb7ffea44902a9e80765d08a00f98e1548f250b55e81546e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:34-64 | Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift:35-65 \u2014 before extracting anything, compare \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift\u0060 and \u0060Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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":"Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"507e38c63bb4fd69bfb21187f1a0b7b86d70a7f2edc74fb7bfd0b1f367de9882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:171-200 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:203-232 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:197-225 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:193\u0060 calls \u0060addAction\u0060, \u0060present\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:166\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a64e721e9e550f088e013d74d5cfa7b1730bf30af59e64167bb6a01cd5d27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift:193-218 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift:193-218 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"06705fa93998bb10bf4561332ce146899c9bb4fe2ae81193d4bce406a1939426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:434-458 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:475-500 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:475\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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd72c2f6aa06f6a06278f0af1633d6dd19217980fe722c4edd02c99b70f2833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:264-288 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:321-345 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:264\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b47b68e41300366b0a7f88b93e352128ed03823f2164b149349d01e79d9503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:112-134 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:133-155 \u2014 before extracting anything, compare \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e76d26e98485b25522ea00210de00c3a8cfaf812d039e316ec46bad7d69afc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:69-90 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:117-138 \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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a289d3813a759a69dae3870cdc38915e46494fe9bdf2eefc9e3926b9c1b4971f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:486-507 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:526-547 \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. 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfee7477ad0573e5a521ba1bf2c847b051a65ec1555ef56b83365a892297438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:81-101 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:79-99 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:81\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff75929c6ca06ca664955b4a1d994b0f93445b4b23b42f486325573c7ba0894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:30-50 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:112-132 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:30\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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9083654f27246199a41cfd61e125c47310b46efaa12449baf3f5e3bb5226092d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:33-53 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:37-57 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:33\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d75f27f7456b96598a122e37c0eac9870e7e160a3fbb94a2f3914b95a1fb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:89-108 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:49-68 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75776acc51711ce4db5508f299965d12527d52430a36019c2395d6dcf0f3a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:153-171 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:176-194 \u2014 before extracting anything, compare \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:173\u0060 calls \u0060setNeedsStatusBarAppearanceUpdate\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:150\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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f5d8a2e00e36c184fe03b9faecab3c0281bf97c90642d4f22c16270014a48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 18): Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:93-106 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:103-116 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:86-99 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:89-106 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:89-106 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:89-106 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:91-108 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:90-107 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:88-105 | Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:92-105 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:89-106 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:91-108 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:87-104 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:88-105 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:89-106 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:84-97 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:198-212 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:166-179 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:93\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def8ccb99ad3e204eedf8f54de997b7eb9b0d6cda2a6a82ef65fc7357f45c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 17): Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:33-49 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:35-52 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift:37-54 | Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:32-49 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:32-49 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:33-50 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:34-51 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:33-50 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6699b805d43d95a83599c4c9828cbc1042a10461aa2b6ab4d4e4cdb9a3f13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:52-69 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:103-120 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"87795f598892dc1bda6b713a57181fc4e98aa8f275ecc782375ade6f573041dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:595-612 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:666-683 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:595\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, \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:594\u0060 calls \u0060paymentSheet\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:665\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":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a5522249c635fe3a3d0ac2b7ba352e8e3455c44b43b629b134a7b6f5327db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:66-82 | Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift:67-83 \u2014 before extracting anything, compare \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift\u0060 and \u0060Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:66\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":"Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf393fa1f7c55463f973b03392a89892230206919d6948fafc30b9e396623376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartView.swift:177-193 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:248-264 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartView.swift:177\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartView.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4611abdca18072d19a68ad4bb5b2b63ed5195cf19515efe82db126ccac6ffcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:232-248 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:561-577 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:232\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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f606a0e43ffc5aefc0c24b2d3c6e66b7bf3d86e301d9aa372841eb82fe6138a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:243-259 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:360-376 \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. 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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd8018c6253a1d455934ed8f581fd93fd0e1b49e6340cefe39138fa255332bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:39-54 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:43-58 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:94-109 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:54-69 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:39\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f174f7940c88bdf346371bb7d7be0b5ace46b09b6726a7584f4129475b162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Example/CryptoOnramp Example/CryptoOnramp Example/AttachWalletAddressView.swift:71-85 | Example/CryptoOnramp Example/CryptoOnramp Example/WalletOwnershipVerificationSheet.swift:113-128 \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 \u0060Example/CryptoOnramp Example/CryptoOnramp Example/AttachWalletAddressView.swift:71\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":"Example/CryptoOnramp Example/CryptoOnramp Example/AttachWalletAddressView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a85b1efbd75fb98ab841841c3799225fd95c024062e97fd28d237e28c14a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:698-713 | Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift:723-738 \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":"Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cf6c857f8a656caf8f8ffcfb4f67481ebdcd418613ea8c4a5487ab233d4186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:92-107 | Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift:416-431 \u2014 before extracting anything, compare \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b10684ed2378e241904cfdc5c65c4cdd252b9719611c881cbc89d3e3b84a4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:87-100 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:107-121 \u2014 before extracting anything, compare \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 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 \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:87\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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d68f0e8b7db66d0a2097785c9912579dc6d3a4df4bd584ac2f58429f425dac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutPlaygroundView.swift:70-84 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutPlaygroundView.swift:87-101 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutPlaygroundView.swift:70\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutPlaygroundView.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"959c3758039505e277608428d9051b536791b8379c75df2c70e1ab128f757592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.swift:44-58 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.swift:71-85 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060spacing\u0060 to \u00608\u0060 in one and \u00604\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutSessionDetailsComponents.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afe5fa034688800cbc974225859efa525f693b40d7f8d98f7027c366682404b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:190-204 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:1289-1303 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:190\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf7debe50ae94893974cba4f4b7a23d2c3314e62fba3337824c4d0898b1970a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 11): Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:66-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:68-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:68-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:68-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:66-76 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:69-80 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:67-78 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:66-77 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:67-78 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:68-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:65-76 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:66\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12b78969ff1a0767ea7b718b2a95ee9ffd8f2878e28196dbf78a08b554a77e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:44-57 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:48-61 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:268-281 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:99-112 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:59-72 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:266\u0060 calls \u0060ComputedTotals\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:42\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7fdd66edcfb6e2fd5b849291a4dcb3def79b85b62e2f63385bb8b57114551c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift:129-142 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:426-439 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift:129-142 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:426-439 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6224d478bbb975aa78d53ef3e275538b58de8017377b11e7e03ee6a3247af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Example/CryptoOnramp Example/CryptoOnramp Example/LogInSignUpView.swift:51-64 | Example/CryptoOnramp Example/CryptoOnramp Example/SeamlessSignInView.swift:51-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/CryptoOnramp Example/CryptoOnramp Example/LogInSignUpView.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/CryptoOnramp Example/CryptoOnramp Example/LogInSignUpView.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0badf76f558e7935d93d461b35dfc82f992024d1ea76aa854988ffdd6f97458e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Example/CryptoOnramp Example/CryptoOnramp Example/PaymentView.swift:967-980 | Example/CryptoOnramp Example/CryptoOnramp Example/PaymentView.swift:1018-1031 \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 \u0060Example/CryptoOnramp Example/CryptoOnramp Example/PaymentView.swift:967\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":"Example/CryptoOnramp Example/CryptoOnramp Example/PaymentView.swift"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"346afb19a1b932da844b615dd02288caac0efb9e6eb1a1c509f836f90a6016b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:66-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:65-78 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:66\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"866cc3fc6d1e3f4241773a229f585982746f58d425e6595e103c2878531d3839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:66-79 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:68-81 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 67 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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:66\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7681214944eaf2d7ed122a74bdfecf988f766a8d6f1a7d55e6df245b0211d928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:154-167 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:187-199 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"79755ff545c04faea9db3d8bef963f1bdaee58226f133ca5423d8ea2c436dcc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:656-669 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:693-706 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:656\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, \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:653\u0060 calls \u0060InfoRow\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:691\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9efb18d4b73c821b364687dc5881b0c8d885ceebaee2554901079b8d4ed865d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:174-186 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:205-217 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:206-218 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:237-249 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:199-211 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:174\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cce8092ff9a4b7e1d903ede3daefcc57e0404ac6021d53809c4c925810734dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartView.swift:155-167 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:229-241 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartView.swift:155\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartView.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a25db9fdb558e4722dadddcda52205d1b57cf4d46cab303f45f99afd272ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:157-169 | StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:176-188 \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 \u0060StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.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":"StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6550e074ffd383d0831d108f40e94422094ed41831b2dff29bbec1fb05579749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift:75-84 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:159-170 \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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift:75\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"93acf01c96b03d9598a1880bff7ecceccb8061f70a63da80fe8be58ebeae767b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift:246-257 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartPaymentButton.swift:46-57 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift:246\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e26ede0180a4e27e6e2c09d930effce566f130c324c036e8abd87cd6f7cad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:46-57 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:43-54 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5f403eed99bfa6bd35ae99b9b13522c83e22c7ec8f5461dc9f7337914cd332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:63-74 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:66-77 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 105 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:63\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7bb9222972ce6b19fabf46fd6f8376cc3feea0d65326c32ff94b80fc986c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:284-296 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:284-296 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b97281d51a8cbc42e4794940a9e19a6c4f8b6e412dd348993ef3b1314fed7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:527-538 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:527-538 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6a7b71b7bc619daa2879ac9a3c492381b0f4d1548fe6711a42313bcfb64fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): Example/UI Examples/UI Examples/Source/MockCustomerContext.swift:38-49 | Example/UI Examples/UI Examples/Source/MockCustomerContext.swift:53-64 | Example/UI Examples/UI Examples/Source/MockCustomerContext.swift:66-75 \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 \u0060Example/UI Examples/UI Examples/Source/MockCustomerContext.swift:38\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":"Example/UI Examples/UI Examples/Source/MockCustomerContext.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef060c7ea1b578380c0c637416d3345bee5c5bfdc182560ffb902489a790667c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:252-262 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:309-319 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:306-316 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:252\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de23f6aa4e11d52a54cc7a8c57178af83274a97a1622566143c6ce42f870024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:74-84 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:94-104 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:110-120 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:122\u0060 calls \u0060deferredSwitchDidChangeValue\u0060, \u0060loadBackend\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:108\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e36bf5e34782c6e2943d14601b7c66a53063917320e06b8494019b1ac54d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:373-383 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:75-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:373\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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"df722029d3ed3e789439abab0b77ba54028f1cab5a63cadf9f56e3d0ef3c621a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:93-103 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:94-104 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:93\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a37dab67aa630901eeb322ac8bc621299140b3fdd9bd97878e149aa716182b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:453-463 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:491-501 \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":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec2df24cf5c4badfad395e4779e49019b19f631efe68bf8969ff1613c11974c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): StripePayments/StripePaymentsTestUtils/STPFixtures\u002BSwift.swift:290-300 | StripePayments/StripePaymentsTestUtils/STPFixtures\u002BSwift.swift:305-315 \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 \u0060StripePayments/StripePaymentsTestUtils/STPFixtures\u002BSwift.swift:290\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":"StripePayments/StripePaymentsTestUtils/STPFixtures\u002BSwift.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca388fb1c7693d8fffa1e1a13a21eef3111f78232435a604372b034fd13512b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:19-28 | StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:71-81 \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 \u0060StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift:19\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":"StripePayments/StripePaymentsTestUtils/STPTestingAPIClient\u002BSwift.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ec6507cdc0866b802abaa0cab4ebd7b183057eb9b87984286abd42ee310e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:139-150 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:172-183 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:184-195 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed58ebfebe84c0e891b432981477bcaecca6fe3061493da740cf5bc377e43b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:93-102 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BoletoExampleViewController.swift:237-244 \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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfefc74747208761e761e1308b8139961acadaa82aedb9f65d45d276f7fc7a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift:180-189 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:680-689 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift:180\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, \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:676\u0060 calls \u0060VStack\u0060, \u0060Text\u0060, \u0060font\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift:179\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerPreviewView.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7042e85f30d9743719522b9fb47f95b4d3ead931deb11af013fa4d518cbdc89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIViews.swift:113-122 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:733-742 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIViews.swift:113\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIViews.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254a4edadbb4c69c876f1fa655d1fcbca35f4345e2a266432e8f99044563e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:111-119 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:151-159 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:162-170 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:131-139 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:111\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b894b064f9c269d3b1daddf532b4d6e97435b06113aa4c8a6db65a9ce3ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:204-212 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:236-244 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:228-236 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d6fded97262497dd8ace568f2145c8b673a9720d14c8d4cc2c3936079939f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/CardImageVerification Example/CardImageVerification Example/View Controllers/VerificationExplanationViewController.swift:67-76 | Example/CardImageVerification Example/CardImageVerification Example/View Controllers/ViewController.swift:12-21 \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":"Example/CardImageVerification Example/CardImageVerification Example/View Controllers/VerificationExplanationViewController.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"365e080bc144a410abea0cc22555d2098856ab3c71c294019dda5b20a0f8cfb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/CryptoOnramp Example/CryptoOnramp Example/UI Helpers/PrimaryButtonStyle.swift:11-19 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkControllerView.swift:725-733 \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":"Example/CryptoOnramp Example/CryptoOnramp Example/UI Helpers/PrimaryButtonStyle.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"894d942a3dc6722d4533f896fcb8c7d81034c511d8ab4f49f83aa160e82a6752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:92-100 | Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift:68-76 \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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:92\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bc236fa0cb3e550d7ad36dc7bae9db23ce45d12533e3fdb52c61d65e09b4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift:174-182 | Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift:188-198 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift:174\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":"Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a440fedd8b430c5922911dfac9ec71f573b1f546565d66fc014dc792060ea63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift:413-421 | Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift:445-453 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selection\u0060 to \u0060customHeadlineFontBinding\u0060 in one and \u0060primaryButtonFontBinding\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":"Example/PaymentSheet Example/PaymentSheet Example/AppearancePlaygroundView.swift"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f9d924fb82858a41abfdc197265017345e02912776972411a96d1eb7d3d078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:224-232 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:256-264 | Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift:245-248 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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. 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c10cd35a0742a9e170bd5766baf94f63e87f52d8c5b8e39c6fff80496fed1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:70-78 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:111-118 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:70\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f076075f2c0fe4274d68e50bed328711e9c9f3ce25dfe17f14f25417ffe1d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:920-930 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:920-930 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ca65788115a4cf4d20bdd3d199ffcf5c7f85802294334637ac0ee0af418ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:932-940 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:932-940 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d550acac0c6f2ac10bebfc208278c8990156c7af4a6cb82360665d97f5d461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/HitTestStackView.swift:16-24 | StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/HitTestView.swift:16-24 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/HitTestStackView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f58d3520e6ffdfd42353cf9d7cdef45b786fe64fa823ccdfddbd8dec3ee8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:122-129 | Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift:117-124 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:138-145 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:159-166 | Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift:465-472 \u2014 before extracting anything, compare \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift\u0060 and \u0060Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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 \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:122\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, \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:120\u0060 calls \u0060displayAlert\u0060, \u0060UIAlertController\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift:464\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":"Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeafa39c1c03048dac6d95ee1ca24e2d5d8241cbd9754171afe67341fabc0663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:87-95 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:124-132 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:145-153 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 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. 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e6d509db42c43a78ee1fd6380be482ada818f386a6f4cca855770a79e9ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:116-127 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:111-122 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 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 \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:116\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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15ebd6d6040b01965ab7d1fc7a9b4cee5bb44a81108ee2654d12377f12883b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:67-75 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:604-612 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ff8cfab7a63611551c030fc68968396c813350a91274edf91b0f9387f290fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:206-214 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:853-861 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:206\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"928fb9f1c792bc3060d0899000b5d1f768211e0d2848f334c2d20e9a0d5c9489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:371-377 | Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:404-410 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:73-79 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:113-119 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd1aa65fc58b4ac2a960158e32cdbb78770a4edee65844b7925a009d80198e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/BoletoExampleViewController.swift:167-173 | Example/PaymentSheet Example/PaymentSheet Example/EmbeddedPaymentElementWrapperViewController.swift:46-52 \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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/BoletoExampleViewController.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac37bc5e2124078ec545877d831002c8c5892e918940fe4e140e24c6d91d38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:216-222 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:28-34 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad260c912e51510443dabb1100a617a4f929bea00ebd56c0d1f2223244f78802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:32-38 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:248-254 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:32\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f595b4a9072493a08d74598268df0969baa2a2a836d5825d2321c466603b61f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:940-946 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:1053-1059 \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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc3f8f1a7357196bf3a13bd16ae08f61ccb52424020f89f840396b00321654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:671-676 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:778-783 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:671\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 \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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaee552fd06e06a2245a8bdcf4cebcf013a27034b20a112b96f2d00a311520c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:665-671 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:709-714 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:665\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"768e07c6868fc4c00f91ae4ea715caffc5311b682f89ba584ea7bde1ac396876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:407-417 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:116-126 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:407\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 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba8f7b19fb23a777341ec6639e28fb1b5ba4354a7fae515a5c65cc982436a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift:57-62 | Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift:68-73 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift:57\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"45871db33bcb6c55259060550f15859c7d83e78b7c74cc317bd413e4a6ff2e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift:219-223 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutViewController.swift:31-35 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomCheckoutViewController.swift:35-39 | Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:251-255 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:40-44 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:87-91 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:47-51 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 151 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCheckoutDeferredViewController.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"79147ddca6a69385bc70079c15455d25ad62fc10de38460e9ff738b2818d4542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:666-671 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:710-714 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:774-778 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:666\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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8c9469dee41079069b2bc7d251d8fd83bf99b0a7d2c2a669efc73d77864d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:373-377 | Example/PaymentSheet Example/PaymentSheet Example/ExampleLinkPaymentCheckoutViewController.swift:210-214 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomerSheet.swift:75-79 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d9ab2ecf0837b46d77b2a7647c5022cb13e6dc159af2b5613e216619d1a7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:248-252 | Example/PaymentSheet Example/PaymentSheet Example/ExampleWalletButtonsView.swift:477-482 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift:248\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleCustomDeferredCheckoutViewController.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d82865c60009162c084db2242d13569b1c3b5fe1ad3892bd777ed2da2c21182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIEmbeddedPaymentElement.swift:40-45 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIEmbeddedPaymentElement.swift:138-143 \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 \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIEmbeddedPaymentElement.swift:40\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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIEmbeddedPaymentElement.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9349bbd4794f3c4ca19811fd39a9964e96d9c3976be1b759dec8f8b691636bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): Example/IdentityVerification Example/IdentityVerification Example/AppDelegate.swift:13-30 | Example/StripeConnectExample/StripeConnectExample/AppDelegate.swift:13-30 | StripePayments/StripePaymentsTestHostApp/AppDelegate.swift:13-30 \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":"Example/IdentityVerification Example/IdentityVerification Example/AppDelegate.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc2fcf26b5ad3dfa0148506d4b0442649bbdf6ff85ddffaaa07c3cd33274113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): Example/CryptoOnramp Example/CryptoOnramp Example/ComplianceIdentifiersEntryView.swift:72-80 | Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampExampleView.swift:33-41 | Example/CryptoOnramp Example/CryptoOnramp Example/IdentityVerificationView.swift:25-33 | Example/CryptoOnramp Example/CryptoOnramp Example/PaymentSummaryView.swift:50-58 | Example/CryptoOnramp Example/CryptoOnramp Example/PaymentView.swift:213-221 | Example/CryptoOnramp Example/CryptoOnramp Example/UserAttestationPresentingView.swift:25-33 | Example/CryptoOnramp Example/CryptoOnramp Example/WalletOwnershipVerificationSheet.swift:33-41 | Example/CryptoOnramp Example/CryptoOnramp Example/WalletSelectionView.swift:32-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 all 8 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, \u0060Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampExampleView.swift:29\u0060 calls \u0060AppStorage\u0060, \u0060Environment\u0060 and \u0060Example/CryptoOnramp Example/CryptoOnramp Example/PaymentSummaryView.swift:48\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":"Example/CryptoOnramp Example/CryptoOnramp Example/ComplianceIdentifiersEntryView.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5d64ad7d09ac8ad2a60f6956bd44bb522a8bdac0e7c803bd7a4d605897e939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift:102-110 | Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift:123-131 | Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift:444-452 \u2014 before extracting anything, compare \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift\u0060 and \u0060Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 113 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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewController.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27305cf0e0b8403e09b2d8019093ee956ab21af0e907a6fb377d159fe32ecda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 18): Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:14-19 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BacsDebitViewController.swift:21-26 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:13-18 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:16-21 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:14-19 | Example/Non-Card Payment Examples/Non-Card Payment Examples/GrabPayExampleViewController.swift:18-23 | Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:14-19 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:13-18 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:13-18 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:14-19 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:15-20 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:14-19 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6135be574715549aec606f561b7d2f597bcae8dcded6219b173f6be25169b899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 16): Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift:52-60 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift:53-61 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AlmaExampleViewController.swift:53-63 | Example/Non-Card Payment Examples/Non-Card Payment Examples/AmazonPayExampleViewController.swift:53-63 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BillieExampleViewController.swift:53-63 | Example/Non-Card Payment Examples/Non-Card Payment Examples/BlikExampleViewController.swift:51-61 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CashAppExampleViewController.swift:54-64 | Example/Non-Card Payment Examples/Non-Card Payment Examples/CryptoExampleViewController.swift:52-62 | Example/Non-Card Payment Examples/Non-Card Payment Examples/KlarnaExampleViewController.swift:52-60 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MobilePayExampleViewController.swift:51-61 | Example/Non-Card Payment Examples/Non-Card Payment Examples/MultibancoExampleViewController.swift:53-63 | Example/Non-Card Payment Examples/Non-Card Payment Examples/RevolutPayExampleViewController.swift:51-61 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SatispayExampleViewController.swift:52-62 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SunbitExampleViewController.swift:53-63 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountConnectionsExampleViewController.swift:129-137 | Example/Non-Card Payment Examples/Non-Card Payment Examples/USBankAccountExampleViewController.swift:124-132 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AfterpayClearpayExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 53 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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AffirmExampleViewController.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5314e4cc360dc469a1522e4f5f06b45bfcfdf9f3339d6c8709bcd82530c96fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift:53-61 | Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift:52-60 \u2014 before extracting anything, compare \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift\u0060 and \u0060Example/Non-Card Payment Examples/Non-Card Payment Examples/SwishExampleViewController.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/AlipayExampleViewController.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab231a22a73ab0edda4031f20a1684c0bcebc0f5dc47b8b7869b54e24db04dfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift:381-390 | Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartViewController.swift:570-579 \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":"Example/PaymentSheet Example/PaymentSheet Example/Checkout Playground/CheckoutCartContentView.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"125d2148d74d39fb10cd3bee6559a3efea5f58db7767a8386a3a7bde6cfa90df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift:181-187 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlayground.swift:373-379 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlayground.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fd815d658f273510d4093e34a1b8de9b339d724d41190f9ea92e2decb8006a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:59-65 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:614-620 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d78a9ecdba21b9f0138faae671a4a6b3202089b25e0ebb55cbc279daabc13a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift:422-426 | Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift:1322-1326 \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6a9c704c7898bd9407fd81b58843d0c093e13d2247d60b83236953e0b7ce02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift:220-224 | Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:908-912 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift:220-224 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:908-912 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/CustomerSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundSettings.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56b1fbc2a61b61001a0f36ad249e60e8deb868330b93cecdc6cb04af6b068b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:48-57 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:48-57 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3bad6966be7000b0f60a227daaeeae45b44535188429a87ead6e4277a3a2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:80-93 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:80-93 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"376c0c2eccea6ac1ae07c34ebf2750b91beb693d1cd0bc4ddada3ad319aff0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:95-102 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:95-102 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f053af606e805a716983a7d8c0119db669fa1422e28c43d0a45c9b8ac5b311e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:135-146 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:135-146 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"096ef72b595cce9facce89826d5bf51eefc0edf074a2cc450f8d54b01f2eb36f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:147-154 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:147-154 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f14830c0be7b748bb00815068fe3585d09b4b866d2e8e0c9ec829045ac22ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:230-239 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:230-239 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd02f13869df85f214ea5d407c41f3e5d245e8e62888e2c0effeff504c8dfe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:540-551 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:540-551 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8997580f6a8d9a6fe393431011edeabc15787cf203138c5cb91e9a9f560288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift:644-653 | Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift:644-653 \u2014 \u0060Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetTestPlaygroundSettings.swift\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 16 separate duplicated blocks between them, totalling at least 255 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/PaymentSheetTestPlaygroundSettings.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ce372f19175ae712cc44e0d26312d77fc7e95a4adc09d9359685431b999ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift:110-118 | Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift:105-113 \u2014 before extracting anything, compare \u0060Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift\u0060 and \u0060Example/FinancialConnections Example/FinancialConnections Example/ConnectAccountViewController.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 65 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":"Example/FinancialConnections Example/FinancialConnections Example/CollectBankAccountTokenViewController.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"39282a1954e98a6d3749ef84cb6c4e9ce7ec94a951bf4eba321d30d102a9ee7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift:130-139 | Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift:82-91 \u2014 before extracting anything, compare \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift\u0060 and \u0060Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUIPaymentSheet.swift\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 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":"Example/PaymentSheet Example/PaymentSheet Example/ExampleSwiftUICustomPaymentFlow.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"433519457f19cbc2b4f5490182a252d407db25f3acb3135f8a370c92b9a8feaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:259-264 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:326-331 \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 \u0060Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:259\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":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eb7e5a8b496dde0a72f6843da16199cf93e61bc065338a693fe199390e0b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:271-275 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:303-307 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:337-341 \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":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"393823ab0913910ff0f3628e5dae623478423735287254ad67e8a3df9a87f613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:280-288 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:311-319 | Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:346-354 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:356\u0060 calls \u0060UIFont\u0060, \u0060monospacedSystemFont\u0060 and \u0060Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift:290\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":"Example/StripeConnectExample/StripeConnectExample/Settings/Appearance/AppSettings\u002BAppearanceInfo.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4553591b9915e5db06bf7b8c0c5ebe1110865457183d7c0e1e4fe58e7c92befc"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project StripePaymentSheet: StripePaymentSheet has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4eed6dbc57bee09096f283fb58619ba66a64118c5c6ab4e8a9107e883eccec72"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: StripeCore: StripeCore: abstractness 0.21, instability 0.00, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 15 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2432331ea720f358a9220ec3a1c28a05eb32c7446ebf0ec1444ce1d611f61223"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: View (LCOM4 20): View\u0027s methods fall into 20 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 20 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":"Example/CryptoOnramp Example/CryptoOnramp Example/View\u002BWalletOwnershipVerification.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0296340d78c938542f66c1cdba7af71116d1ef8999f850ef780a576250ca6f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WalletViewController (LCOM4 16): WalletViewController\u0027s methods fall into 16 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 16 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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController-WalletViewController.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"561f4fab3a77f27170a850902a9f174f340b7ec898288d7b0234b501652ccb6b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 16): String\u0027s methods fall into 16 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 16 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":"Example/FinancialConnections Example/FinancialConnections Example/Playground/PlaygroundViewModel.swift"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b20d6a87feb7548a01109c62af48f6081e21bffbb7dd3b2f54d498791075eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIView (LCOM4 15): UIView\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":"Example/PaymentSheet Example/PaymentSheet Example/AppDelegate\u002BBrokenConstraints.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0f4d46aefc7484e91191a946c8b42870bd52b1952814624388e8bdbffca0a8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Dictionary (LCOM4 13): Dictionary\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":"StripeCore/StripeCore/Source/Categories/Dictionary\u002BStripe.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b795d9ff2cfe4836545b77f9f6368c2879ded992994e01ba5d67e6de1fbb9265"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BottomSheetViewController (LCOM4 13): BottomSheetViewController\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"39731e68031e1b45e181fb6bb05565a9f27a4eb6c8e0783112e639f7026c97ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlaygroundController (LCOM4 12): PlaygroundController\u0027s methods fall into 12 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 12 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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4135421bf87e058410b238e27a3a82865820f691c87566727933b8759a431ce"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPAPIClient (LCOM4 11): STPAPIClient\u0027s methods fall into 11 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 11 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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"983320583b0b7dc2bbca36bd42d1e369f871d3c11398e6fbb34bd0eee44583db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConnectWebViewController (LCOM4 10): ConnectWebViewController\u0027s methods fall into 10 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 10 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":"StripeConnect/StripeConnect/Source/Internal/Webview/ConnectWebViewController.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb1d712f18677ddc3f2b07eddf9dd95a9097b38ee3e66f82b41a8a9772f84a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OneTimeCodeTextField (LCOM4 10): OneTimeCodeTextField\u0027s methods fall into 10 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 10 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":"StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"590a9011d0416d6aa316d6d18aaeb8da61ef26af8def71a011521b1fd1d6aee1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Array (LCOM4 10): Array\u0027s methods fall into 10 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 10 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":"Example/CryptoOnramp Example/CryptoOnramp Example/ComplianceIdentifiersEntryView.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12a61b252138717e036875b180d910bcf4d2f34d172188e6546fb3aa59bc3a5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeSheetContainerViewController (LCOM4 9): NativeSheetContainerViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adb365e512072ec5ea111401bb2ee2c5c1c488e79dafb2dc5a88774eb7b12f9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DocumentCaptureViewController (LCOM4 8): DocumentCaptureViewController\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ce050aa552388341cbf14716602066c9bce487cbc2ad2a914c9f552ff520ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AddressViewController (LCOM4 8): AddressViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/AddressViewController/AddressViewController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8eebed88f28fc43fa5f1175d56c65989dd2159808418ef062ca3fe4fee6a5b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainViewController (LCOM4 8): MainViewController\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":"Example/IdentityVerification Example/IdentityVerification Example/MainViewController.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c12d425320a6d43ea1c2f383326cf2a6dba222450ceed25be0818f08c4cb70"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIViewController (LCOM4 8): UIViewController\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":"Example/PaymentSheet Example/PaymentSheet Example/ViewController.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f7ee130218e161eef7d0f76d0057b82165a9d2be1fb54fba03625ff4c31e98"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VerificationFlowWebViewController (LCOM4 7): VerificationFlowWebViewController\u0027s methods fall into 7 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 7 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":"StripeIdentity/StripeIdentity/Source/WebWrapper/VerificationFlowWebViewController.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a762cb21a8985534f4012e0f01ddc20f9f40d536a904c548b2bd5c3d38da396c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPApplePayContext (LCOM4 6): STPApplePayContext\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":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"646f6acd08751e9886b14bd7b4b8648ee10ec0cd46f3f3b199f9f2d45dd3d80c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SSDOcrOutput (LCOM4 6): SSDOcrOutput\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":"StripeCardScan/StripeCardScan/Source/CardScan/MLModels/SSDOcr.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"352056f8f1250f0133cab3dbc67daaf43e236001e3f2577dc28eb203aef07b7f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SelfieCaptureViewController (LCOM4 6): SelfieCaptureViewController\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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/SelfieCaptureViewController.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"39442f63a3052e23a1c067ec376a57c77752b21771974a0bf1e974bad6a6e03b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AutoCompleteViewController (LCOM4 6): AutoCompleteViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/AutoComplete/AutoCompleteViewController.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f3a81d3a0ac9832882204baa2665936a9ce674f6db4d04a2fd4b22a1803cac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\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":"StripePayments/StripePaymentsTestHostApp/SceneDelegate.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc80b89731790fc651ae0e26b8b8823bc2b8ebd42e277ec38d0b18e09502dcb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\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":"Example/IdentityVerification Example/IdentityVerification Example/SceneDelegate.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb21614fe1ad395383aa6f3305d61761ebc160eeb0f9dd0668bf89a7115224e4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\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":"Example/PaymentSheet Example/PaymentSheet Example/SceneDelegate.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a3fd7fa52f5bebef933436ebc7122baae708aa2a3c4cb5b7bee734c586d24a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MainViewController (LCOM4 6): MainViewController\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":"Example/StripeConnectExample/StripeConnectExample/MainViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f830664854af2ebfdfda5585d000e6a1b6945dddc207116ec1e62a40b885ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneDelegate (LCOM4 6): SceneDelegate\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":"Example/StripeConnectExample/StripeConnectExample/SceneDelegate.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e853114f0674a3a5f9191ebbd33570386813965d15da45f32754aba9019b3d5f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockTestCameraSession (LCOM4 6): MockTestCameraSession\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":"StripeCameraCore/StripeCameraCoreTestUtils/Mocks/MockTestCameraSession.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c74c87c02e8cf797ccae45f0b4fcf59cfbad04b9905ab50a91e111ee45e0158"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UIColor (LCOM4 6): UIColor\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":"Example/PaymentSheet Example/PaymentSheet Example/PMMETestPlayground.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2194a4adf2fcf5a3a95fbfc64371f66089de6013a09e1e96b5c0cb09838cf158"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ThemeViewController (LCOM4 5): ThemeViewController\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":"Example/UI Examples/UI Examples/Source/ThemeViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc68c56cf4dcedc601e4f6c013c9aa15bcae2ee02949658ed801481926db707"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SimpleScanViewController (LCOM4 5): SimpleScanViewController\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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65a73a04e302704260f07e726a2503936a239a004a7382e13bd5232ee9915e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VerifyCardAddViewController (LCOM4 5): VerifyCardAddViewController\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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7116b5e3ae1ad7423d56699b9e77b1e29a5eb9b98ab086da8f94bf699acf1c19"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CustomerAddPaymentMethodViewController (LCOM4 5): CustomerAddPaymentMethodViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerAddPaymentMethodViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b2872152c2e6ed6b62ec5936ce134ee77fc3a9a591b711f65c52853afa1a48"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlowController (LCOM4 5): FlowController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BSwiftUI.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e794390b3c2304901d363d80e10ffdbbd323e16ab0de7f65ea94071bfb8eb720"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CGRect (LCOM4 4): CGRect\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":"StripeCameraCore/StripeCameraCore/Source/Categories/CGRect\u002BStripeCameraCore.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d7d86e27c0eeee456f15dec2719b55cb9e18054971248fec391fbf9762ec98"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockSimulatorCameraSession (LCOM4 4): MockSimulatorCameraSession\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":"StripeCameraCore/StripeCameraCore/Source/Coordinators/MockSimulatorCameraSession.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de44e5b8effb0660243a311156c95fc8126ccc98269d43cb96cf4d0716cb499"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ScanBaseViewController (LCOM4 4): ScanBaseViewController\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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanBaseViewController.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e6946182c02cb4816f42c080fcc2efe471bd9e37fc2f8d15abae766678ab6d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VerifyCardViewController (LCOM4 4): VerifyCardViewController\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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a1d13efda25313c863aed508d7152ed9849b6fae7babc6c893f43c0918bd67"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConnectComponentWebViewController (LCOM4 4): ConnectComponentWebViewController\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":"StripeConnect/StripeConnect/Source/Internal/Webview/ConnectComponentWebViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"700b9318cde750d720a0965aae0c68e2841c051a3ce3a19a6df0cc3fda8db571"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AppleAppAttestService (LCOM4 4): AppleAppAttestService\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":"StripeCore/StripeCore/Source/Attestation/AppAttestService.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c990d00dfefe64be48730f981f70e1c6e8765e1ca1b5b96fb7749211c2a28f0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ErrorView (LCOM4 4): ErrorView\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":"StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Helpers/FCLiteErrorView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b55815bf13103aae206fb3ad658ecd5b948dc9aab9ae8c6399d5ffec5cba9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FinancialConnectionsAsyncAPIClient (LCOM4 4): FinancialConnectionsAsyncAPIClient\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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7711529b7039e25721bbb2bdabd3680660f5b2c8fe071cb4a690c754b928cd7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FinancialConnectionsNavigationController (LCOM4 4): FinancialConnectionsNavigationController\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Common/FinancialConnectionsNavigationController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e302195abd79eb4e55050527e1051523f40009deb5b9dfcc678bf14aa53795ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ErrorViewController (LCOM4 4): ErrorViewController\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Error/ErrorViewController.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"929b82d625d9458a86eb03a646e19a37a236fd01d4d1bcdac9759b6bf4ce8c5c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SuccessViewController (LCOM4 4): SuccessViewController\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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Success/SuccessViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b741364603be8368cd2a9fe88205f8ddd0e5ab43cbd0529b86f98e8381ded09"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPElementsSession (LCOM4 4): STPElementsSession\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2148a62fd9a089f2d9e5a558d39d3afec5f09eb41d0fe8f657c0d6b473e6e46d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HTMLConfirmationContentViewController (LCOM4 4): HTMLConfirmationContentViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/HTML Confirmation/HTMLConfirmationContentViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df1fac8205cc1b68f9e5f9ea94ab01a79166ed9765ac37c6dd7b45cfd0cf3f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LinkSignUpViewController (LCOM4 4): LinkSignUpViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewController.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba535c9c70d20944e548f4eba2b0decf63fb5b9bfb41d36bf8f82da144697dd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VerifyKYCContentViewController (LCOM4 4): VerifyKYCContentViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCContentViewController.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4a771c6f96fa509e13d8284d1b0e08757d89b6bdf9a1a73abcc110c3f5522b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ApplePayContextClosureDelegate (LCOM4 4): ApplePayContextClosureDelegate\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPApplePayContext\u002BPaymentSheet.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5b5303298c53621eae40a46d5c2a290255445051f003e515439d90c3850df0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RowButton (LCOM4 4): RowButton\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd4a59a9263124abb8d717ec2dc3bb7192994e037dde2cfb1ac9b4ba89f5992"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CVCReconfirmationViewController (LCOM4 4): CVCReconfirmationViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aa1064706c9b2770efd4db9dfc3912152530aab2eed7ddb9c26c22df707c05"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentSheetFlowControllerViewController (LCOM4 4): PaymentSheetFlowControllerViewController\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9948e5202fd92a56b60da0a06338a244000a2a4bb30281aa5e7ea3e3cb2b25ac"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CardScanningView (LCOM4 4): CardScanningView\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/CardScanningView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"280920cc1d8835065fe684f8ab47d5ae03288e5140a5b9901adce4e46023984e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CircularButton (LCOM4 4): CircularButton\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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/CircularButton.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"283bd3f135674f244ea778433fd149cf78412b8d6927b5408462cf9e2bc78fc9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPFormTextField (LCOM4 4): STPFormTextField\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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPFormTextField.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8408cfa7c7b05c9d797436b8c074b8ffb3da1940de250a909e122621701b6972"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPPaymentCardTextFieldViewModel (LCOM4 4): STPPaymentCardTextFieldViewModel\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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPPaymentCardTextFieldViewModel.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c7ff685d149e453f3e77a1170e235dd9c1d869f75f8233d92398c8d80a8a01"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPCardFormView (LCOM4 4): STPCardFormView\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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"711b30bca061d6182dc2738788aff3f7b54abf91f78ffdf3c48e3b85f06030e3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPFormView (LCOM4 4): STPFormView\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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFormView.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"023c21829064151b684ab735d701b3034b8ac80e181716111928a72eaf9d17e8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CheckboxButton (LCOM4 4): CheckboxButton\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":"StripeUICore/StripeUICore/Source/Elements/Checkbox/CheckboxButton.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb18213d0000dbd682fb62825b84c83dc42bac2cf10d5580f2a4b5c0af8e24ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MyApplePayBackendModel (LCOM4 4): MyApplePayBackendModel\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":"Testers/IntegrationTester/IntegrationTester/Source/Models/ApplePayModel.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adc2ebf04889478333aaed0dd20f52420449b4bf345d66755653fa7c28df73e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STPSnapshotTestCase (LCOM4 4): STPSnapshotTestCase\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":"StripeCore/StripeCoreTestUtils/STPSnapshotTestCase.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2defbbebf5592961fca5c1ccfbe3ff18e515e786726572c3fd69953da1e84cd2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExampleVerificationViewControllerNativeUI (LCOM4 4): ExampleVerificationViewControllerNativeUI\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":"Example/IdentityVerification Example/IdentityVerification Example/ExampleVerificationViewControllerNativeUI.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"328993b04ad3e18365225459f37c33c8eea5d5439fd511c7e7a248351dd1aca1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PlaygroundViewController (LCOM4 4): PlaygroundViewController\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":"Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2966861798b19ee823dea993eaa54cc15ff5d480767a813befa39bbff4e4dd83"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: URL (LCOM4 4): URL\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":"Example/PaymentSheet Example/PaymentSheet Example/LinkPayoutsDemoView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d9dc0fa91aabb8b750b131f794d88ee320fda57dd562c80b6312600f413af9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testHorizontalNativeSheetSelectionBadgeIsOpaque: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"057982d1509e7161fb01e9a99d03963863aeb5345fbb53cb44c17a7f9f382df5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testShortVerticalFlowControllerUsesFinalHeightDuringPresentation: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf558cfc37d8a30798a3c001e33943ded16e59682d947fcef74a769550932a64"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSheetScrollsBehindTransparentKeyboardToolbar: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b092777809f4d09bdf9f4b34709d5c503506514f95f54b097e32511e5f9bbae"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSheetResizesNestedContentAcrossMaximumHeight: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5e6afdd6dc83918fdb3583e80b634aee65d8ff6ad8f810a3ee486b0ce64be4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSheetResizesToScrollableContentAtRegularWidth: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a66107126ee2d416ac34fae68423c64d66d9f929d36b6656d95ada73e0e1ff"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeGlassPresentationFadesBackground: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6f9df51d681cda9ffe87b51d629b124b19c1913c532912f639bebdc0c250a9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testContentDetentMeasuresSystemNavigationBar: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb2ac282dfb5ed03360d1c4846cbdbcc66040c08b9b3b4bdab579bcf2793096"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeGlassContentScrollsBehindNavigationBarWithDefaultAppearance: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"90013389aadfbed9485bfc9927b3b95859a164215fe62b2d4530e1253f422b68"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSolidNavigationBarShowsShadowOnlyAfterScrolling: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b580353c6fc41e81255958be20b473d14b2af769653334d99e3203b2254b9a9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNativeSheetDoesNotAddBottomSafeAreaPadding: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetPresentationTests.swift"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"71366fe57fc8e43c56261dfe1cc99f096717dcd1a432a7cb41147b4d2c1ad86b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testApplyPromotionCodeSendsCodeAndCommitsReturnedSession: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutUnitTests.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"657f93815a883d0f81ee550df96412f6b3f9d25964955b6863368573bea8d2bf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRemovePromotionCodeSendsEmptyCodeAndCommitsReturnedSession: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutUnitTests.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a644dc2394cf26d78140158ebaee563d2fb65091d331b55e7527f47a35dec0f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testUpdatesSwiftUILayoutWhenDetailsChangeHeight: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CurrencySelectorElementViewTests.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f398ef101371de11553b0190a40fbf3f9b8072cef5f43c865877f05b7f8303"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testWalletPushesConfigureLinkNavigationInBothContainers: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/PayWithLinkViewControllerTests.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedb6af8b37599df6d009bd391057818a90a8eddd92859b02e253f9c50a9af4f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAuthenticationAcceptsInputWhileWalletConfirmsInBothContainers: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/PayWithLinkViewControllerTests.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d436d9c8ac76599b02d8fa69df2209e5448c69ccace71c4d23c957a90153ca5c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateShouldCallTheCompletionBlock: 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":"Stripe/StripeiOSTests/ConfirmButtonTests.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9bacd79a18280c2369284e0f6298dd9bb4a1d87d67ffa89eae00a8667b4d59"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateShouldCallTheCompletionBlockWhenAnimated: 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":"Stripe/StripeiOSTests/ConfirmButtonTests.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfca01eaaeb5d5ba8861f71234c73ae039669503b28a4ed3bf2edaf6daa4afab"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPaymentSheetAnalyticEvents: 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":"Stripe/StripeiOSTests/HostedSurfaceTest.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4d61254d2f115e11fe54411cfc6f4e6387422748d2581253d116e01d25a4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCustomerSheetAnalyticEvents: 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":"Stripe/StripeiOSTests/HostedSurfaceTest.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d565599723e390bc6895078d99363f1553816914c14304942f7b5cd8a848ef9f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEnqueueShouldDebounce: 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":"Stripe/StripeiOSTests/OperationDebouncerTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"df018fb0d5c23e7bfb961c4286c1aa73506cb2249ad59823c2e2abf3b1d1e1ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExpiredCard: 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":"Stripe/StripeiOSTests/STPCardFormViewTests.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4867debc857e484e2f55deec030ae9bf01ac623ff1038b70c41da92386a53da1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIncorrectCVC: 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":"Stripe/StripeiOSTests/STPCardFormViewTests.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ee97fa1a82490079378e188ebfa01aad6eb6271e47da28b87d2cf9acebde84"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testIncorrectCardNumber: 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":"Stripe/StripeiOSTests/STPCardFormViewTests.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40657ad2b3e1d0e9201ddc0e9142731533a300dcd92fdff88d1bde1a82dbb41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCardDeclined: 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":"Stripe/StripeiOSTests/STPCardFormViewTests.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f864ec158a3450f3f4b5a2f1d1418d5ce0221167d213da636ddc9688aed65f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testProcessingError: 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":"Stripe/StripeiOSTests/STPCardFormViewTests.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f25e65f597ee13e2031468b021d0a24899ea5626701664d850919161869a6f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTokenCreation_customer: 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":"Stripe/StripeiOSTests/STPConnectAccountFunctionalTest.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2738396a67881d804cc5575e7437438971f2fc25f541fdf060a41fa0f1f6ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTokenCreation_company: 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":"Stripe/StripeiOSTests/STPConnectAccountFunctionalTest.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a4245a3760c4e5ea17bc1ee7ab761890f98b1e3e7a8d2b2f9e70c634f3b9de"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTokenCreation_empty_init: 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":"Stripe/StripeiOSTests/STPConnectAccountFunctionalTest.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8b6758ee57bf25d83e1c61c8bc18feb844392ed4e7784b5bc0ec811602a4f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCardIconMethods: 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":"Stripe/StripeiOSTests/STPImageLibraryTests.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"87659e87a014e07664b368f340acfb65d7259063d6a4f0c699b4041077974b50"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBrandImageForCardBrand: 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":"Stripe/StripeiOSTests/STPImageLibraryTests.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966e6637f3e218feace01741d2f53846005f1407492076d7414fa39371920cc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCVCImageForCardBrand: 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":"Stripe/StripeiOSTests/STPImageLibraryTests.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7088ec1ec373c6ce89bb7bb5ae4b7e9e30ef0299c0ad671a10b6c3efc6140a47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testErrorImageForCardBrand: 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":"Stripe/StripeiOSTests/STPImageLibraryTests.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b2357c7e837af03917c19d80343e1e1c4a6bd06e04ba3f41fc2a6b06a02c7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdatingObservers: 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":"Stripe/StripeiOSTests/STPInputTextFieldValidatorTests.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e60d007c569e8c11d2e3a48dab0dbeb9a5aa456947498881b8af420dcfc8d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEnterForegroundDoesNotRefreshResourceKeyIfNotExpiring: 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":"StripeIssuing/StripeIssuingTests/STPEphemeralKeyManagerTest.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c4278c84d2d4274c04015c8ec1b6dc2c9bf87049e3374250fd75e265a2280e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testThrottlingEnterForegroundRefreshes: 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":"StripeIssuing/StripeIssuingTests/STPEphemeralKeyManagerTest.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0252c3f7315b526608fe82832db9d7934ce721da3d4c9f4478292dd96ef2f8d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testForeignChallengeDocumentCannotCompleteChallenge: 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":"StripePayments/StripePaymentsTests/IntentConfirmationChallengeViewControllerTests.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bf484cc71c63e2ea2d9d48f8a3713a7ff8e07258ab0af858178c735768dd8c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testForeignChallengeDocumentCannotReportWebError: 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":"StripePayments/StripePaymentsTests/IntentConfirmationChallengeViewControllerTests.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df3272fc432fc433ad7ca68e6c35fcb6c78de49c94ebca09c1d2366cdf3f6f1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNewInstancesReportShownIndependently: 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":"StripePaymentsUI/StripePaymentsUITests/CardElementAnalyticsTests.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"421db1db9a16a49a8e89e5a8b8af9c26b8cb5377a7b28d9199340307d97783e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTextChangesReportInteractionWithoutFocus: 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":"StripePaymentsUI/StripePaymentsUITests/CardElementAnalyticsTests.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6467df1847773cf7a04495b023fb60f941ac9927d977345dff98e0fc1e0a2018"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidationChangesAloneDoNotReportInteraction: 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":"StripePaymentsUI/StripePaymentsUITests/CardElementAnalyticsTests.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a6929096408ec8d8f10d596494260e964acc7b87339307a7942e749d307fd8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunchPerformance: 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":"Example/CardImageVerification Example/CardImageVerification ExampleUITests/CardImageVerification_ExampleUITests.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a522c20a69bca2bb99f4337d2a4091f544063a4215865562d8ad69c3e4143f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeNetworkingTestMode: 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":"Example/FinancialConnections Example/FinancialConnectionsUITests/FinancialConnectionsNetworkingUITests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b328bfa05908b2e8f95440a98ac7aea9bfae0b29165ecd3c3368411cbd21508"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoveLastSavedPaymentMethod_clientConfig: 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":"Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6236090bc1b409746c222cbf05536b1668017c9dbf2bc608c86fe9ed34aa4032"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRemoveLastSavedPaymentMethod_customerSession: 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":"Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fc028e6febfa359d3c3a5c525b6d2f1f2cd663e559c3c8ca2ac293c2397866"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeserialization_WithoutLine1: 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":"StripeApplePay/StripeApplePayTests/PaymentsCore/PaymentIntentCodableTest.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58929e1b7fb8089525d1f284c892478113d39b43bd36d58315c596f704624ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitComponentProps: 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":"StripeConnect/StripeConnectTests/Components/AccountManagementViewControllerTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3114fe57f83431a190fa7d3760eaeca05c403f2c6f98d7a43be651fbc9d73dff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitComponentProps: 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":"StripeConnect/StripeConnectTests/Components/AccountOnboardingControllerTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b3b38d94fcbc5a6fae1725dd5f9a0c8dacc3a024a2a36915f8acb13e656e5d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExitNotifiesDelegateExactlyOnceAcrossExitAndDismiss: 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":"StripeConnect/StripeConnectTests/Components/AccountOnboardingControllerTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf32fda91a87c826073a0ee777de400880665e66e7ec00cab8c4417bdaf6f1d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitComponentProps: 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":"StripeConnect/StripeConnectTests/Components/CheckScanningControllerTests.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cbc16b5002a9e5c46c7928026452bd2ab2e5bcdb669304abcb48e5c5ccaa69"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCallbackError: 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":"StripeConnect/StripeConnectTests/Components/CheckScanningControllerTests.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48201a1dd6ca162a3e4bf7a230f2274a70c6bf451dbdf869cd404aaa091453a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitComponentProps: 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":"StripeConnect/StripeConnectTests/Components/NotificationBannerViewControllerTests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff55318b7eec4c3263eab660cd32bb78eed7b610dab5972ad8c7b4f4f3a00b77"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetPayment: 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":"StripeConnect/StripeConnectTests/Components/PaymentDetailsViewControllerTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3252a11916ce60be6626c9d8f93bdf234f33f2cbf1f55cb9c3dd81f428f67014"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSheetPresentation: 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":"StripeCore/StripeCoreTests/Analytics/STPAnalyticsTranslatedEventTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a7faea490ee482e3fd1d9df235890429cb2270f03e396f4f5b98eb689b3f17"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTapPaymentMethodType: 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":"StripeCore/StripeCoreTests/Analytics/STPAnalyticsTranslatedEventTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"457e9e2d6d028d89011b05bacc0d94fc8e116effec56b62f6008e749fe2d9a16"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFormInteractions: 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":"StripeCore/StripeCoreTests/Analytics/STPAnalyticsTranslatedEventTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88efe1d8fa14631b76ee0a9b0549c818afe8d1cd7935f2eea8ec17b8d66521"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSavedPaymentMethods: 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":"StripeCore/StripeCoreTests/Analytics/STPAnalyticsTranslatedEventTests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a4c2a5bfc7e5b2b243b3ccae01032c172edeb8900ce7d74e4b0054a08d97f8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExpressButtonTaps: 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":"StripeCore/StripeCoreTests/Analytics/STPAnalyticsTranslatedEventTests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b765027877a1cf4d38f6c70f963bfa010c837a4be04e4994f6a65ff0bd88aef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAppAttestService: 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":"StripeCore/StripeCoreTests/Attestation/StripeAttestTest.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c585b2bbd47067d7ed69d17565565177a9e889f0959ac833afdbec75d092392"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCanAssertWithoutAttestation: 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":"StripeCore/StripeCoreTests/Attestation/StripeAttestTest.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"833e15835ebf87612ff175648a4c034af18033988681af5933f5330e926d779f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testConcurrentAssertionsOccurSequentially: 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":"StripeCore/StripeCoreTests/Attestation/StripeAttestTest.swift"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c054b46fa84cf54317e399e18fc434cd3df2610c50068778904d112587795a57"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelEmptyStruct: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c46e1eebe0aeb94beaa2f782a1782034732d070727927b2349c6c66bdabdc2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelEmptyClass: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8acad891f2b0bb9a4c1f112062018a2be23ca51f581511a02c39d1e5fac7db5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelSingleValueEnum: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a90307d512214d8c97b6a235281cec787257252b6356797c40621b86e6efb2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelSingleValueStruct: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f1de6f280bd74c8a915c3aa83ed1e5c0398643acffb46eb7fb093e96a26d32"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelSingleValueClass: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"308cc8cb67e492606c7c60cb3e0c39e832d3542974e82618ac5fbed21bc8c463"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelStructuredStruct: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d7e1a359f724ba10f380081e7fa91148562707b601212f546e376eecf0dcfe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelStructuredClass: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e68a64fd106508d17fdd9b6139d201b6d6adccb7e3805fa793c85a4ef082b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelStructuredSingleStruct: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0484198d432355901c7d16dada9b2fd43f38700f9f52a2246f6200a63777d8c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelStructuredSingleClass: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"335aa5afea85b0f90de2a093dbe04d017cdca8452803cd54903abb46e8eda6e2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingTopLevelDeepStructuredType: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b43fbc510bdf318cadd9685bfe16e48d81dbd71ff50c2839bec25a3b5e68b1c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingOutputFormattingDefault: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bea7498f1ea2b500ffd73f41fdcf2098b2d1b370b0cb20ebc476c3e5f5f057"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingOutputFormattingSortedKeys: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b820923d6dbdc7db258c0be9062e565ee69f1b37098889e1b4a8a52891d43757"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingOutputFormattingPrettyPrintedSortedKeys: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a80327016c9c8775da240c399502a9071e47ad57f25353605a630863e32879"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingDate: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2ca28d07030dbbd3e6bfc438698353dddd5c01b6720c0e006f219f0e1237c8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingDateSecondsSince1970: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"576bf570228760eda571478a13cbc9147b4af1c657b3d08e69e830e4c00d4bc1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingBase64Data: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3587fb3ff1c93d6313133f67e7cd4f3f3cc21ba78479a816a052f917233c1f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_encodingNonConformingFloatStrings: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"371486319ede1bedb2ca3f480c43504445afff55603283acb79e376e609958f4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfNil: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5089612a9fafcb2e967b37c7526886ac16f3a59a4e7398d4a43e436028a41"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfInt8: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d976037d3a7d52213bc0d1561cf26ced2e70eec55c289bb1bcfd660ad184fa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfUInt8: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"543aafa4ae7a359530f3602ed74ff8381873319ddacb20a4cb688950c1984eac"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfInt16: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"046fcf2438c1361e6dba28ff39d92e256174e432a697e485353aa7847499c8e7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfUInt16: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d4f332fbd81d5b6c17c52a29f7598964b87cc3b986af19cdd0a9d46022c32a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfInt32: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a0960766cc37b12250f15fdf39184c5934fff28e4484f707d45c92aa26dfd0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfUInt32: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"521aaef0e6d050c67498aa8caaaa8c40c749dddd948d06d4ac3d26a643816ffa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfInt64: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee13c137bc59ff55e68953b7ddf820a18664486effa2f6e93e915b07a1ca8ee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfUInt64: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"721cf79acbeea9555bc67cade66b4afd1c16f35db53f794029dc1cb632f35fd4"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: test_codingOfDecimal: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"359f94a2490f8385c09d95a22e64ffaf8d4489d7a453eaa2d41edf4e0d4d2b49"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfString: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d319602d481c24591390eb009946bef302523a970b7f144f50340e1c124030"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: test_codingOfURL: No conventional assertion call was detected, and 29 of 44 tests in \u0060External\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce856a3c1c0c7ba251b3447ede51db22a99d3ccb58b5cdf6888d36130ebfc535"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidSecrets: 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":"StripeIdentity/StripeIdentityTests/Unit/VerificationClientSecretTest.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade3f5b23319b589c0d7086179b6488f0a7a48c7115eb7f433b383031331fcfd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDidScanCardShowsFundingWarningAfterMetadataLoads: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/CardSectionElementTest.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"30820b035b7eadf134e2e34c3abbf9d6b2c7c586f3768f5dfee252741f3800f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testManualEntryShowsFundingWarningAfterMetadataLoads: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/CardSectionElementTest.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a9ed61aa030f9144167273bd92a847dd0e4d4c69cdb2283e0f6a67914b72f4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testImmediateActionIsCalledWhenSelectingSamePaymentMethodMultipleTimes: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/EmbeddedPaymentElementTest.swift"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3adabb3e1fdd3e7de8069a7950dd19753d31ba7f26e15255e40d28e067d75d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCancelingPaymentOptionsRestoresPreviousSavedPaymentMethod: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/FlowControllerSelectionRestorationTests.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b38bfe2ecbef5227b5cd9eba86f8036127c3c12507253eb82de35fb04eefc6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCancelingHorizontalPaymentOptionsRestoresPreviousSavedPaymentMethod: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/FlowControllerSelectionRestorationTests.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"358e5dc7096d528b608668805a4eed2bb23616dfaa308bcfe8c38225653c6906"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddPaymentMethodViewControllerDelegate: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/FlowControllerStateTests.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a478a91c26734293d7dcd9590b7b448b1d8e3b4b7aa892cc29738919b3129"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDetachPaymentMethod_legacy: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/SavedPaymentMethodManagerTests.swift"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ffa83124e01fcd24fe33509bb5bf471fd1d6bf755df501c33e21eff1affccf"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDetachPaymentMethod_customerSessions: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/SavedPaymentMethodManagerTests.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8da934436a2defb59c4bed104866d76bfb5b3c65c8829d98ced229ff06416b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDetachPaymentMethod_customerSessions_customerAccount: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/SavedPaymentMethodManagerTests.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a700883d4f16b8d997bb5dac6ea28203d79dac1c7c8628b5c7dc6fce7a16147"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDetachPaymentMethod_checkoutSession: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/SavedPaymentMethodManagerTests.swift"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88e46d186943aa83e41c1775a7150980de68eb12699e55375bf3b3dd7d56979"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoClickHandlerAllowsNormalCheckout: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/WalletButtonsViewTests.swift"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5085ee49647e23289beb51dd4efe9810a3fc89fd1c6097640914b8ef30b19b50"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test__Did_Finish_Loading__Immediate: 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":"StripePayments/StripePaymentsTests/Captcha/HCaptchaWebViewManager__Tests.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef95922088cc48866b52782d759b1705b556cc0377f3d0e893fa8cac607aaab9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test__Open_External_Link: 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":"StripePayments/StripePaymentsTests/Captcha/HCaptchaWebViewManager__Tests.swift"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e278d2fcdff5fe786f10e6c6492e01061e91fb96026955659265576736fe53c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBenchInit: 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":"StripePayments/StripePaymentsTests/Captcha/HCaptcha__Bench.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"81addab19e6b1ef34909318288eb19fb6361937723b748664a26a0c01d8f3b39"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBenchColdrun: 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":"StripePayments/StripePaymentsTests/Captcha/HCaptcha__Bench.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ea4b5addfbd038869fb9809c1aa165dd1d6d981ce683f347ea2a9ffd758845"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): testNull: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Testers/IntegrationTester/IntegrationTesterUITests/IntegrationTesterUITests.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d28d07cfe7127f92593a79cd62ba7344bb17b635e5e8fb8ffefaebc508d30dc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsCustomSchemeBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9b7acf68f91c7f40e23a077752f9ec22d8758401c96d60b23be8881ed5f5c9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsSDKReturnSchemeBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3046c9dab0d57344f0e0b4e461ae436cd4ca7ce794a257652377ce8294425165"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsJavaScriptURLBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a248237f9a66bc1c952530f00c4d7e3992b9b08142a346a6d7bea4048542f36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsDataURLBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0df28198d67f72c28c90b7944e1b4b1f7d88423797986204346e10ea0fd0f2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsFileURLBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"211c41c4b6e45d5cfa2c1964794581de184687d5b604a9199e384111ed99b7aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsAboutURLBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d81f185c2a259984304e5a8deca07edef13354ddd18c9374d8149ffae9aa3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPresent_rejectsRelativeURLBeforeCreatingSession: 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":"StripeConnect/StripeConnectTests/Internal/AuthenticatedWebView/AuthenticatedWebViewManagerTests.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb34f615a5da870b39bfe9f9739486937a2325bf930c78a2f57ef0b713274e0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAbsoluteStringRemovingParams: 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":"StripeConnect/StripeConnectTests/Internal/Extensions/URL\u002BExtensionTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"55da5ab3be889844316abc5397b1730f3016340ba9537fbe03c27c74b56c2433"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testForeignMainDocumentCannotInvokeOnExitCallback: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectBridgeSourceValidationTests.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb90a8354079335708226fa33892dd934925bf69bfaf64bb9ed03c2acfd9db4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrustedMainDocumentCanInvokeOnExitCallback: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectBridgeSourceValidationTests.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b404c082a046decca396d8a761998d86ad3930b138e8defec760c47ac9896e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchClientSecret: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8594099b4041a918e15be81dd1ef0ce0c0ab721a26f7a431e5a9a2ee617492"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitParams: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7595ca9109380a667a78b35c7cd8258dc8fe875a176fca95eb6aba9ce700e3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchAppInfo: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2fb0a5a577cc9472a2b4e2827c139f79fba08f182f03bd51dbc297d1347978"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchAppInfoWithNilAppId: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2150ffcc1507efeb3db9efe715aa5bbf858338a4755567b5852065b7586f578a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitParamsTraitCollection: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44aa0dd93a8165ddaea75956af2bd6b74cb884ce2910de627c8c6338d698417"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitComponentPropsMessageHandler: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca9ce7cc2c4ca489a62373d5a45c4300694be4af44cf27e552c511ef6e7bd44"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFetchInitComponentPropsWithFunction: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3293c0004580d269b3ee6e7c839d7566633025db049a9810e7b9935795234ca2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUpdateTraitCollection: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"16837d13c02ac99efc44ed52f222f32446cb051b40dc0999ae68f116993d4823"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLocale: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ac49fa2c48401ea1c76e24c09863e286d455537d0d8307eac7ee799fc471da"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDispatchSupplementalFunction_notRegistered: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"256cdf28504242b5cc8bab4d47009e55a32dc8e3b4f317fdbade5403274ae3ee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDispatchSupplementalFunction_callError: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"95875f93350313df602bf5914de93dc890ae35beb43a96ac7f3e0c3411780d99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOpenFinancialConnections_canceled: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c090d507eb8fd6bae217ac2fd2e77159119c88148bc4763af68cf3d75c74af5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOpenFinancialConnections_error: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectComponentWebViewControllerTests.swift"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bca4a86fc9d17bf1110c0a29843c6ca53d7ba13b36c71e4fd7c802447c58062"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPendingTrustedAuthorityDeliversAfterRelease: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundDocumentAuthorityTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fadf904d7e6213625bc864cd00fda68b3a17d524d3d165ced4540ebfadd7b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPendingForeignAuthorityCannotDeliverWithArraySetterTamper: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundDocumentAuthorityTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c0f3d413c857173ab74a9ebb944f27b65b4c107134075e7692a7a84a202e58"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNavigationBeforeTrustedAuthorityReleaseDoesNotDeliver: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundDocumentAuthorityTests.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d664f212088316f00e6e1593fe5ff00d4dd0fb913cf5997f968526f13e40ae91"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMissingAuthorityHandlerDoesNotPermitFakeDispatcher: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundDocumentAuthorityTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"356a865de540a08c9eef634dfd0b46989d2894feb4a7df13bfdb8340d529df74"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMissingCallbackRefusesSensitiveDelivery: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundDocumentAuthorityTests.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a5207d993a71427af9043b61f06b5cb13fc76e33797156d8ff35c0f3a3bf6d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testMissingDispatcherRefusesSensitiveDelivery: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundDocumentAuthorityTests.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cf824c1d6f1c9ef05898109de88c446b6f6ab4c2c0c4bdde0e5ec2b416abef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFinancialConnectionsResultDoesNotReachForeignDocumentAfterNavigation: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundFinancialAndSupplementalTests.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c84308bceb4a90d1935d5e17e991938505b5a56ac40f550f24623f71f2b8f6c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFinancialConnectionsResultDoesNotReachReplacementTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundFinancialAndSupplementalTests.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8503316c41a7cd4e7076318fb78c48e7f27813f27121b715b198169ff4f2f8c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFinancialConnectionsResultDoesNotReachReloadedTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundFinancialAndSupplementalTests.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bc0aac6779b9f9012df000de7c84bb2166a23f47fc98bb19ad181da7f04c77"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSupplementalResultDoesNotReachForeignDocumentAfterNavigation: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundFinancialAndSupplementalTests.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"250470ecc3c0295ba47abac4e78ab23a5dbbb069c9593163a1f618102d8a36ea"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSupplementalResultDoesNotReachReplacementTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundFinancialAndSupplementalTests.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b7c7506e6d57d32afa63e69c3e0a2f8d352bf0a8111627415cb376f004b3d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSupplementalResultDoesNotReachReloadedTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundFinancialAndSupplementalTests.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5f946f85062d99cbe8a561c33fcaee5a9efa208200dd99c98001f37ebf9638"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAuthenticationResultReachesOriginalTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cdc48426de1c15f671103cdd2bfcf4ac10845f94a81ba5ae9877662f16ab89"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrustedChildAuthenticationResultReachesContainingDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"318e540efe77e4c89960a4c551242f1f12df28f78ac740548773429ba924b968"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAuthenticationResultDoesNotReachReplacementTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d506dcb43fb91a30d472a34fe29a0b934e6e74a8b8eb6d8416e197d1d429bc21"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAuthenticationResultDoesNotReachReloadedTrustedDocument: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ad366d089e98834985e9700a1a822ad92c371318b1e38e4dbfa79bb16eeff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAuthenticationResultSurvivesProtectedDispatcherAndBuiltinTampering: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a82603249cf8a0dbaad99a770519aaf32d1c50b28e72f84a9fad6a950ceb3b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOpaqueChildFrameCannotAuthorizeSensitiveDelivery: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e69a017114fa5d7ceb46fa4ed64b172f519deb843910dfcd6b303936d2bd124"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTrustedChildFrameCannotAuthorizeSensitiveDelivery: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectOutboundSourceValidationTests.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a92f8c4209e825f3c230f26ecef6e3119d612db9111f6e0ec62696f974b9e74"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStandardAlertOkPressed: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectWebViewControllerTests.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"838c0fd7dd9d6f48ea9002ddcc7589fffb2950b9251582396a6e827232fc8980"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStandardAlert: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectWebViewControllerTests.swift"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a6b974d1e43f3b2d04b336bfc93b51148388054bee32a49c7351e6af6979a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStandardAlertStringMessage: 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":"StripeConnect/StripeConnectTests/Internal/Webview/ConnectWebViewControllerTests.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2022f7018bdc279b10c13a8dbc21d1ffbbba8e53d3ceec54d94a13b583f45249"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTwoDigitDecimal: 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":"StripeIdentity/StripeIdentityTests/Unit/API Bindings/TruncatedDecimalTest.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f190fe8df4c5262ad58ac042e4735edd61e0b26d202435ab64c354883364866"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAuthorizationConfirmsWithPaymentElementSource: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutApplePayContextTests.swift"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"e733cc2e1f015c808186a3157016164cb72b4699945ea1e07f69245f98926160"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAuthorizationConfirmsWithExpressCheckoutElementSource: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutApplePayContextTests.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bd6e3e094eb1b00f2828ca40b7d5541b4876de026020027d95462434993d1e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInitSkipsLinkLookupWhenBothElementsDisableLink: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutDefaultsInitializationTests.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"243249a00c61a7463c1ce793139218d0a6bb85123cf7ae252f689f182ee5dd88"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSwiftUIViewUpdatesHeightWhenEmbeddedPaymentElementHeightChanges: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/PaymentElementViewTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdc8dccb0f9fac234d6dbb239a9aa8b56eee0cb22cd6fac636eb5119a920d90"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPreviewSPISurfaceCompiles: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/LinkControllerPreviewAPITests.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"884e3140ea1ac90ffc6a9c9b16bc1ccd953a20b70d0f840e4c27dbe3072c08b2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testURLCreationRegularUnicode: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/LinkURLGeneratorTests.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbfb3596c127b4e4e308025914166548ee5993cd4cf55ca8eb6e437492ff819"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testURLParamsUsesConfirmationSourcePaymentUserAgent: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/LinkURLGeneratorTests.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a54a8425d79a7d27e2264b81c66fd7a52d42edb3fee27b74dc15b94cfcdd08"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testURLParamsUsesConfirmationSourcePaymentUserAgent_expressCheckoutElement: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/LinkURLGeneratorTests.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe12473f2f01b6e584f1e6f7b8639667d99b5d4c3a4aaaf137962d191980e77"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBailsToWebFlowWhenAttestationFails: 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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/PayWithLinkViewControllerTests.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb22a01bd7dc4285d4ef860902459215f1bcdb45bf47c41deaf37d7a51ba4554"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidationBR_CPF_CNPJ: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/IDNumberTextFieldConfigurationTest.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaab1b9c3f56fff66ca57dd41af836d05d34d388fbc2fb3892f33cc9dbdacdb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidationUnspecifiedType: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/IDNumberTextFieldConfigurationTest.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d1e8b664b12aabedad5494be7038fc36070f71e8ce643bebe800bfa1891125"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBSBConfiguration_validBSB: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAccountFactoryTest.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"241331c2018193f74203ee8f775904f5e3aaaa74b0b09884b1b16aeaab58792f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBSBConfiguration_empty: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAccountFactoryTest.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3f200b69fcafcf42189126b9cf105fbfa6f0208a083651ac76ad7292043092"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBSBConfiguration_incomplete: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAccountFactoryTest.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"68260eedfb55f9c31ad1c2ac805680e92949efb94d1eac66ee9bdd175bb866f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAUBECSAccountNumberConfiguration_validAccountNumber: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAccountFactoryTest.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8152a1885b80aaa71bff46bfd890f5b5e30314e77fc1dd75e32766a4df7da45"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAUBECSAccountNumberConfiguration_empty: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAccountFactoryTest.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"183f79302fd36cb040087a85be800109540e9a1c8b0aa4a6f66a0e5bf8afccfa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAUBECSAccountNumberConfiguration_incomplete: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAccountFactoryTest.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b18bc176f20ba212882cad42af78078c59fd26230ed47b1f1b9b1e9f4cc2960"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNameConfigurationValidation: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAddressFactoryTest.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e67c18aa83751f1f4ddb3fc33773eca00005565f3ed2d1f1a3e34d17da1e923"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmailConfigurationValidation: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAddressFactoryTest.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a86917ef9c014fa59d3f6f3e3a3d7e11f7cd8492e6b3f6c90d8440f4c395411"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPhoneNumberConfigurationValidation: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAddressFactoryTest.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad87ec4171e90950150707bf13c2da1fc31f6a742d810b662826709ea2c2ec40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testApplyFormat: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldFormatterTest.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c829778e063060e0fd1c6f4322f999f5927e4bc49259ab6eb22661b5d4f0f6fc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoLaggingFormatCharacters: 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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldFormatterTest.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52de5e6ffd9fe3d4915c058e8dd2ec4130ecfffb0b4c1916de250c80305ba87"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: testExample: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/installation_tests/size_test/SPMTestUITests/SPMTestUITests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca460589c0122d72bc135555012643b0de32040af7d98480a7e9de1620ea5ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLaunchPerformance: 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/installation_tests/size_test/SPMTestUITests/SPMTestUITests.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b995c40f7f571ce4a20ea2cdf41758ae5b9f8e1e69bc7ce87392c373e673867"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUploadImagesForFrontSide: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/Coordinators/DocumentUploaderTest.swift"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa44687c4f22b1de89d6e3fdebfd646bcac38163697d376654dc2d0e30300f3e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUploadImagesForBackSide: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/Coordinators/DocumentUploaderTest.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29c2bda05f6dc967426768ea26088c8c6f70d904c6e6d71a6cc67b106cb2bd1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testWebDelegateCallsCompletion: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/Coordinators/IdentityVerificationSheetTest.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3436efa9def6cdcfe550e282f2d262cc956bdac5453540da7625269c283eeb1f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNativeDelegateCallsCompletion: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/Coordinators/IdentityVerificationSheetTest.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77dab0c7e69eff84a5ef007c5e9f30c9d740fc55fd1e5589c549b2668a72ad3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNextViewControllerIndividualFields: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/Coordinators/VerificationSheetFlowControllerTest.swift"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8914cbc19b722617f6626ff230eb118b397563a2e7a9b42c680ee10a1b7cab56"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNextViewControllerIndividualWelcome: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/Coordinators/VerificationSheetFlowControllerTest.swift"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3d11cff34881fec67ac8a1c7fe7fb241de5b82ab7ffe88fb6b5764dbe8e138"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInitialState: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/ViewControllers/DocumentCaptureViewControllerTest.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e997bbc1286712cff82833125a0de1cc94a442c4ad6d784331da267b3463359"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransitionFromInitialCardFront: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/ViewControllers/DocumentCaptureViewControllerTest.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6364aa1a7f7dbe5bd6291fe9dc0ce06eba2588e471cf952e1a266fd58cdd6d40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransitionFromTimeoutCardFront: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/ViewControllers/DocumentCaptureViewControllerTest.swift"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b292f5d2c921f32f9eacc4960d89ecbc9b474d67cdbd18fcaa438325c26deb39"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransitionFromTimeoutCardBack: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/ViewControllers/DocumentCaptureViewControllerTest.swift"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b12dee25558f9bbcdfdbc1d0721ff16eecf285951cc5c76e5a5ad267eb19c60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransitionFromInitialPassport: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/ViewControllers/DocumentCaptureViewControllerTest.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1156ad1af5641f2d43f3f6342b112ce9c7cd48e12e821c49aa2e8dc870617"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransitionFromTimeoutPassport: 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":"StripeIdentity/StripeIdentityTests/Unit/NativeComponents/ViewControllers/DocumentCaptureViewControllerTest.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5dc87df10850141776a36b18e1bee11812fd7e3f655a351f5b02015a7161c2"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: Extensions: No conventional assertion call was detected in 1 of 1 tests in \u0060Extensions\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":"StripeConnect/StripeConnectTests/Internal/Extensions/URL\u002BExtensionTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c84768fff9f8660b8ca77671cb3d5a6be0bd6d02f638639c114ad919b8a5537"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: IntegrationTesterUITests: No conventional assertion call was detected in 1 of 1 tests in \u0060IntegrationTesterUITests\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":"Testers/IntegrationTester/IntegrationTesterUITests/IntegrationTesterUITests.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0517e211e083c9501dcf64a4a67ee0977fa74e9bc300cd4c4765a4c9c5ec2445"}},{"ruleId":"D10","level":"warning","message":{"text":"Test project verifies nothing: PaymentsCore: No conventional assertion call was detected in 1 of 1 tests in \u0060PaymentsCore\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":"StripeApplePay/StripeApplePayTests/PaymentsCore/PaymentIntentCodableTest.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d856ab1d5cff0f0fbb77e6a68096599e110b88134599fb5f430f227e061533e"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating branch dependency: ohhttpstubs: Dependency \u0060ohhttpstubs\u0060 is resolved in Stripe.xcworkspace/xcshareddata/swiftpm/Package.resolved against branch \u0060stripe-mock\u0060 rather than a released version \u2014 the project pins no immutable point, so resolving the packages again moves this dependency to whatever that branch holds at the time. Change the dependency rule in Xcode to a version requirement, or to an exact commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2bb714cd6fd2bee9efe8e9cd2401454a0987b52cd49b92533d80d4df5eb0bab6"}},{"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: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in STPPaymentMethodType.makeImage at line 219. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c251d0c811f8e74e60bc4c5a222b3de8020c44e2a1fc5a865ce3e8fddd3de8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CheckoutElementsController.confirmCheckoutSession at line 525. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e3b92c3a44e6dc323c0569c147c3fd349a2446dba37630837ed05ff6d4d06d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in PaymentSheet.confirmAfterHandlingLocalActions at line 248. 2 of those changes were fix/bug commits, and the other 14 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"429a1fc0a640aae2795386eeab190f29051d09da4d8d254b9434acd6337c4f31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift: StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PayWithLinkViewController.launchFinancialConnections at line 642. 4 of those changes were fix/bug commits, and the other 11 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f76e531509f03af607e8e5e61e3aa3c26cd57a4ad5dcad545c5a966cb647b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift: StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in NativeFlowController.swift.CreatePaneViewController at line 1476. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcaa1d657d28d59f67e9bcc31ac4194c6bad7f3ddabdbdf1190626f04161373"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PaymentSheetFlowControllerViewController.init at line 183. 3 of those changes were fix/bug commits, and the other 12 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2492b335fee6e1b4a6d0645118ec4bcb58c98d4b3b82c4dc1636c5eab64469c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PaymentMethodFormViewController.handleCollectBankAccount at line 471. 2 of those changes were fix/bug commits, and the other 7 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.swift"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cfea79f9dd5da6abed1dc16ab3675db4d691de4891acb93962f4bf799187f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripeCore/StripeCore/Source/Connections Bindings/HostedAuthUrlBuilder.swift: StripeCore/StripeCore/Source/Connections Bindings/HostedAuthUrlBuilder.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in HostedAuthUrlBuilder.build at line 12. 1 of those changes was a fix/bug commit, and the other 2 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripeCore/StripeCore/Source/Connections Bindings/HostedAuthUrlBuilder.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":"StripeCore/StripeCore/Source/Connections Bindings/HostedAuthUrlBuilder.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"919ef8a8897da68bcb8b9fee5b5a811955ab98f43360722cfc74859669bfcc54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift: Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PlaygroundViewController.requestVerificationSession at line 217. 2 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.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":"Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1351d4a14a1dbfdfd30313b0f1896fc106b826fe797b681e7bacf1704947e896"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift: StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in STPAPIClient.makeElementsSessionsParams at line 16. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BPaymentSheet.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"81470920525c10575db27b4038daa00f4f57503f7df9724f57d769d96e5e8ccc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripeCore/StripeCore/Source/Helpers/STPError.swift: StripeCore/StripeCore/Source/Helpers/STPError.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NSError.stp_error at line 164. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripeCore/StripeCore/Source/Helpers/STPError.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":"StripeCore/StripeCore/Source/Helpers/STPError.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bde451e7c3b0d4b3fd3f279383063f3e3743cb6dbd79b86adf656c958e3b227"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift: StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FinancialConnectionsWebFlowViewController.startAuthenticationSession at line 153. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"700f40b5f3174a9f19182e1174f1811a015d835caca6a731024eec953b747425"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift: StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AccountPickerViewController.pollAuthSessionAccounts at line 146. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6d46e8eeb2ed7136c0cf07a7ffb08849b2674f9569735d200649dbe6e7909a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift: StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in STPElementsSession.decodedObject at line 172. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e98eedde2a15694686eacade9d4188a3ff57022b196c22bd2d3e2f1fe5e90"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampExampleView.swift: Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampExampleView.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CryptoOnrampExampleView.body at line 53. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampExampleView.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":"Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampExampleView.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1bfbcb1fe490346be0cf6ff85dfeefc9492f66ba41b1af321e5027b99edde7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampFlowCoordinator.swift: Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampFlowCoordinator.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CryptoOnrampFlowCoordinator.advanceToNextStep at line 244. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampFlowCoordinator.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":"Example/CryptoOnramp Example/CryptoOnramp Example/CryptoOnrampFlowCoordinator.swift"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"138521d7b67fec44b66ee2391c9c68cf7bb6e3545850d91c990c3585ce5fe341"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Example/CryptoOnramp Example/CryptoOnramp Example/KYCInfoView.swift: Example/CryptoOnramp Example/CryptoOnramp Example/KYCInfoView.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in KYCInfoView.body at line 186. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 17:34:32 -08:00\u0027 --until=\u00272026-11-13 17:34:32 -08:00\u0027 --full-history --no-merges -- Example/CryptoOnramp Example/CryptoOnramp Example/KYCInfoView.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":"Example/CryptoOnramp Example/CryptoOnramp Example/KYCInfoView.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9617481c4bf0d6af984f97d690e45e065a8bf69f2bdeb736d18e766f970510"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 27 significant file(s) lose their only recent owner: StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/AdditionalKYCFlowCoordinator.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/ProofOfAddressView.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/View\u002BDocumentSelection.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/DocumentPicker.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/CryptoOnrampAnalyticsEvent.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/SourceOfFundsDocumentView.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/DocumentCollectionConfiguration.swift, StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/DocumentUploadModel.swift (\u002B19 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"28906e7441de7b39a7a681237ec6f01e16e479518d6ebbcd29382c39d35fde15"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 14 significant file(s) lose their only recent owner: StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentAction.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/TwoOptionSelectorView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Currency Selector Element/CurrencySelectorElementUIView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/ExpandableDetailView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerPaymentOption.swift, StripePayments/StripePayments/Source/API Bindings/Models/ConfirmationTokens/STPConfirmationTokenParams.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/FlowControllerSelectionSnapshot.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Currency Selector Element/CurrencySelectorElement\u002BAppearance.swift (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ffdab9634bb8543adabde0ad773d55ffd9e5caed9492ba82542af58a676a6696"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 14 significant file(s) lose their only recent owner: ci_scripts/record_snapshots.rb, ci_scripts/build_documentation.rb, ci_scripts/snapshot_test_selection.rb, ci_scripts/dead_code/run_scan.rb, ci_scripts/size_report_cache.rb, ci_scripts/test.rb, StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift, ci_scripts/check_paymentsheet_test_sharding.rb (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"653d79a2243d751f0085e1464192cce9ae1e1bdb2737e344c19f410d1b11b2ce"}},{"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: StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift, StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PaymentMethodMessagingElement.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/RowButton\u002BPaymentMethodMessagingSublabelView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEUIView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/BNPLFormHeaderView.swift, ci_scripts/changelog_utils.rb, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BAPI.swift (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"237cefe00ce32551664959badef7e4db6d9447c7af2c3ad12e6d928790db30ce"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 5 significant file(s) lose their only recent owner: StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift, StripeCameraCore/StripeCameraCore/Source/Coordinators/CameraSession.swift, StripeIdentity/StripeIdentity/Source/API Bindings/SelfieUploader\u002BAPI.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageUploaders/SelfieUploader.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageScanner/FaceScanner/FaceScanner.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"04992cac55d71b3ba00b26354989a42d4642b9d216549613132e4275c18ceb12"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 4 significant file(s) lose their only recent owner: ci_scripts/measure_latency_difference.rb, StripePayments/StripePayments/Source/PaymentHandler/STPAnalyticsClient\u002BSTPPaymentHandler.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutSessionPoller.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/AutoComplete/String\u002BAutoComplete.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8028abb9a96249382929966a5d585df96daaddb1a801b2d101535c9aaaa303e7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 4 significant file(s) lose their only recent owner: StripeUICore/StripeUICore/Source/Elements/SegmentedSelectorElement.swift, StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Address/AddressAutocompleteModels.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Express Checkout Element/ExpressCheckoutElementUtilities.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Express Checkout Element/ExpressCheckoutElement\u002BConfiguration.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3590a0496720063e59ebe8d20a12d4f8eb7f477fad26120dc1388c4490fc4ed1"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #8: If anonymized user #8 becomes unavailable, 4 significant file(s) lose their only recent owner: StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentLogoView.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/GenericError/GenericErrorViewController.swift, StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Controllers/FCLiteAuthFlowViewController.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Common/FlowRouter.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ef9270cb21a8a97481dffa4f48fe93aefe34ce335f67b3f7437f13cce81ff043"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 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 (89 single-owned of 847 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; 847 of the 1673 production source files in this repository met that bar). They are anonymized user #9 (2 file(s)), anonymized user #10 (2 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: StripeIdentity/StripeIdentity/Source/NativeComponents/Views/BottomSheetView.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/BottomSheetViewController.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BLocalized.swift, StripeCore/StripeCore/Source/Connections Bindings/LinkBrand.swift, StripeConnect/StripeConnect/Source/Components/CheckScanningController.swift, StripePaymentSheet/StripePaymentSheet/Source/Helpers/UIImageView\u002BExtensions.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: AU BECS Debit is broken in testmode. \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":"Testers/IntegrationTester/IntegrationTesterUITests/IntegrationTesterUIPMTests.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc92a14dcdb329d1f8242e844bc87a4e88a66c2e85c17e10186726cd66bd2f4"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to switch the country \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":"StripeUICore/StripeUICoreTests/Unit/Elements/AddressSectionElementTest.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca33621d2431f81720187bdd3a3523a4067452f8f42d706ac32374d5a8952f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mludowise): These should get migrated to a shared StripeUICoreTestUtils target \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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldElement\u002BAddressFactoryTest.swift"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd56551124d4deb9b85bb69a3ca40ad965ed77765776350185560eea00c937f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mludowise): These should get migrated to a shared StripeUICoreTestUtils target \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":"Stripe/StripeiOSTests/TextFieldElement\u002BIBANTest.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596a767d0449f43e180ed20c13fe58311a6cfc3cfec0250e78e100e0c08b633"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test that we don\u0027t get lagging characters (e.g. \u0060###-##-\u0060 should always drop the last \u0060-\u0060 when formatted \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":"StripeUICore/StripeUICoreTests/Unit/Elements/TextFieldFormatterTest.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a890e50a828d3f700acf2925f34facec2c40f0f959c4706091925a54230862bd"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: To tell if the touch is inside a button vs. the background, look at the touched view\u0027s width. The button is observed to be 38 points wide. \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":"StripeUICore/StripeUICore/Source/Views/DoneButtonToolbar.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac24758f40e31b346d68b8d90bd12cb8078545f42fcc49efd34b6a6f791f868"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack, disable the ability for the picker to take focus while it\u0027s being added as a sub view \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":"StripeUICore/StripeUICore/Source/Elements/TextField/TextFieldView.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda942d7f23bb3b8cca65ff006eeedc0c9cf712feb98bf37153e699d34dd07b7"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Give the new stack view a dummy view with the same height as the current stack view\u0027s first view \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":"StripeUICore/StripeUICore/Source/Elements/Section/SectionContainerView.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad93348d22f347e0246edc8be41b53bc11d35ef3c9263dbbc3ec3abb5093f545"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Swap the dummy first view and real first view \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":"StripeUICore/StripeUICore/Source/Elements/Section/SectionContainerView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acd6e6b2b4899f68fb0a0c30fc1f4c57bf4fba2a94e3af2c6670bfd7d89e902"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(iOS 26): Does this need to respect corner radius = nil? \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":"StripeUICore/StripeUICore/Source/Elements/Form/FormView.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3025eabb8d89f9f156174cba0e7d71eb5945a20407952cec9b32ee3648e21d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mludowise|IDPROD-2596): Check if these are the formats needed to support IDV."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeUICore/StripeUICore/Source/Elements/Factories/IDNumberTextFieldConfiguration.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59dbc234b10c6a4049face15cb9f35e2d5ca6309d8e2a492cca53b39d973f33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): move to \u0060Configuration\u0060 \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":"StripeUICore/StripeUICore/Source/Controls/Button.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afb0ffacf2148af1957d475fe0511421184f16d5033910b5f0374cc1cefb68f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): Move this to DigitView \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":"StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField.swift"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"498e56677a3b7bc72e29b088408ea11bc0b1a84bd93f89eb8dd063c0e7f220dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out actual padding\u00A0(not 14px) \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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPPaymentCardTextField.swift"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25f00428d046aa3c07f8bc0d969923faeb58d15cc496a5cb14ce20f720848f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): unify icon sizes. \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/CardBrandView.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ed45d2c21f525b4773a9f6ccb0d766d617322ee0669509760797224ffcc268"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(ramont): remove baked-in padding and perform alignment in code. \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/CardBrandView.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e85d91bd2cb130f3c88635aa98e157e9b39b46f3339cf7b49785b85d9cf6ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: BIN retrieval is broken if you don\u0027t use STPAPIClient.shared (https://jira.corp.stripe.com/browse/MOBILESDK-4322)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPPaymentCardTextFieldViewModel.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddab609916f187f42ba72a1e23cfa981dbd12c848bb5d4c112294de801960f2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: BIN retrieval is broken if you don\u0027t use STPAPIClient.shared (https://jira.corp.stripe.com/browse/MOBILESDK-4322)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextFieldValidator.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf513d2ad81c89aa4765d24ef7945bb44823c5be0dd49f561b13c7f42bdf152"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: BIN retrieval is broken if you don\u0027t use STPAPIClient.shared (https://jira.corp.stripe.com/browse/MOBILESDK-4322)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPBINController.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1041d53ee926225c8ea87203657e605f2e303af3198b952a8f3f20dd30cc4e7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: BIN retrieval is broken if you don\u0027t use STPAPIClient.shared (https://jira.corp.stripe.com/browse/MOBILESDK-4322)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Helpers/STPCardValidator.swift"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b12172e6d154c3a00223159f050c8058ebdc14134e774ee895de0d529c52ae9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: BIN retrieval is broken if you don\u0027t use STPAPIClient.shared (https://jira.corp.stripe.com/browse/MOBILESDK-4322)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/TextField/TextFieldElement\u002BCard.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"010bdc518a2995c5523864f807c7f6f7db9b2bf93cda0f8d86fae1fa34b020e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: BIN retrieval is broken if you don\u0027t use STPAPIClient.shared (https://jira.corp.stripe.com/browse/MOBILESDK-4322)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ac8c7a918888003a128a9f3b7069a96d593b2413ccc6a24528bddecf00c66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should be more specific here e.g. \u0022Your card\u0027s expiration year is in the past.\u0022 \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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldValidator.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d37316369952096e621cef6fac472a93a734f5e7b4250cc42c5bc7e096da77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is broken for integrations that don\u0027t use STPAPIClient.shared \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":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPBSBNumberValidator.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"179409068ca92bc7ed1976a3d71ad9595fdf1a8ee932b19bce812ae6ba32516d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make currentAction an enum, stop optionally casting it \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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"65707ba9580d8e33716173dd8b6349fa6a75287df99fe5564ac93c3fb0175394"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make currentAction an enum, stop optionally casting it \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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7f0d827d629c3d7d7d03dd4d25fce4968157797619949e68771b6d4b357ddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make currentAction an enum, stop optionally casting it \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":"StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd45b0cb0851c2a892188bdab8df5a75c535d07f8ab1d0aa20fc9c38198c699"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove \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":"StripePayments/StripePayments/Source/Internal/API Bindings/STPFormEncoder.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3bd8ebe944c70eb5badd68f20356aa713081904da8df33563b0d0585ef84ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove \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":"StripePayments/StripePayments/Source/Internal/API Bindings/STPFormEncoder.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"95609e0be81362b463f5c2dec7e1ec7ee51d9360edb64c1fd187852cc488c651"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this logic when we stand up an endpoint to do this \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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1850a8a2f1632dd48e74fdbcb2818842cc636ffd94e5677a8c29b4d1ebe50d3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this logic when we stand up an endpoint to do this \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":"StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BPayments.swift"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3350509b5318632189ae6c46bc0998f550d18e65b11c51ffc2d4b3b7d5f9fe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(swift): Figure out deprecation strategy \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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardChecks.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ef51e3762b664bb4b5b711f3ae2690d1a6d7c0ed9bf5fac37cc36f3f31ddc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: AnalyticsClientV2 \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/MPELatencyTest.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d7d43079686f3ec78867d767473fa5212431c3cb8fbcc74df1ed5093e87b7b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Use contains b/c the test backend prepends \u0022Error creating PaymentIntent:\u0022 and appends \u0022(request_id: ...)\u0022 to its returned error string \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheet\u002BAPITest.swift"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f47ba7a3d9b2eee46e161411c103d69c87f16e06182b670e618011706d46a21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Update:) Change this to validate it preserves the paymentOption \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheet\u002BAPITest.swift"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00cbeebaa40eaedc4b4fa47fe6cf1d91751ca82270840530fb5e9a65a58c790"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Update:) Change this to validate it preserves the paymentOption \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheet\u002BAPITest.swift"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a852275aa437f460fc2abf2e2b31025405886f8b005b4e2de7e52983f2a78b33"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hacky way to differentiate the save checkbox from other checkboxes \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetFormFactoryTest.swift"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"452e679c9108a7ca74422022f05aa33ac32c2266335edb83c3f3761daf80469b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hacky way to differentiate the save checkbox from other checkboxes \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetFormFactoryTest.swift"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc00b0483f208f2b6db41f0b343ce21190cf467542c7ee365e775d723b49a13b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): Add \u0060.paymentIntentWithPMOSetupFutureUsage\u0060 once Confirmation Tokens \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17f0398341542c655a868a5fda492dfe5a8ea192ab9747e0b481a8fcadeb8db"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to PaymentSheet-specific local actions that happen before control is handed over to STPPaymentHandler. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"712f9aff472e7ca07bddcd1fd20cbe7e851ae9c639251dc0811cd6818573b466"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) BLIK: CheckoutClient /confirm rejects BLIK\u0027s blik_code. Re-enable this Checkout Session flow when supported. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d25b50d6a9524084d98617fe41f7f06b6500ab153309eb704fca1afcefad2af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) Vipps: Re-enable Vipps Checkout Session coverage when CheckoutClient accepts inline Vipps data. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f4b29c57bc54a265564946af9d3fef2027fea17551a257ffa4bbe377a6987f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): Checkout rejects \u0060payment_intent_data\u0060 (and thus \u0060setup_future_usage\u0060) \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc3de6c04598bea468427f0d10cea3203319c95c25c5bd7f87226bb5971d16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): Checkout rejects \u0060payment_intent_data\u0060/\u0060payment_method_options\u0060 \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d72a94b3a6f837d1c4b4b105cd4185dc0cba5bce0de99281a76da5bbf3f7662"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): Setup mode is out of scope for unified-mode private preview. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7e59e0afb60d511aa378e02fb4fe6093da9cab73382bf35a9d2e88663f2128"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): Setup mode is out of scope for unified-mode private preview. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/STPAPIClient\u002BCheckoutSessionTest.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ff1eb73c8b47d676600a96cfadc51f43a6692cb626978d470c21aeff412e8b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to compare \u0060paymentMethodParams\u0060 objects; consider them equal if their serialized versions are the same \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetLPMConfirmFlowTests.swift"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f752ef3e4dcd3a6dc3d26468b84eca0480f217c97919712a4c353e5ac72ad3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Assert paymentOption exactly equal \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetVerticalViewControllerSnapshotTest.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0061bfa4765dd1c54d24db279259be8e3404e4c413a21aa08af307f26619d381"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test other things like \u0060selectedPaymentOption\u0060 \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/PaymentSheetVerticalViewControllerTest.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a99e3bdaa1c8f86c2bcee72aab071f9155b7460dac99cf0bf3083c36de9644"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): see disabled_testInitCheckoutSessionSetup above. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/STPAPIClient\u002BCheckoutSessionTest.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8019ac26028d33945c4a012c94a1fc7fa6ce251436e2a9c8a51afe72b1d6f30e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to let STPBINRange finish network calls before running another test \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/TextFieldElement\u002BCardTest.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9cab237ebe747639c4a59de5f700991f803baf3e1ea51131b2b866c276ebb5"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to let STPBINRange finish network calls before running another test \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/TextFieldElement\u002BCardTest.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6874e3e01a7180362c3358c7c80680a0945440d1bb68c78e1c891773677eea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(link): Fully mock \u0060PaymentSheetLinkAccount and remove this. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Link/PayWithLinkViewController-WalletViewModelTests.swift"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"91395d92c00969df97623234c6ad1ba88349be1e72288426aa41448c1ec8ba76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): unified mode does not yet support promo codes. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bd79264a3251b44a7f9b259f26cd2c0b697ee7f154c0cbeb3d972143174666"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): see disabled_testPromotionCodeApplyEmitsSessionUpdates above. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutTests.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea82d3d89fa684bea5f57389f0bca1ae677d87f74db26a0ca5c733f4ef8fc96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): see disabled_testPromotionCodeApplyEmitsSessionUpdates above. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutTests.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5c00629ea368c72baac06e97c8c8a0df00898e033dc021c06bcb91253a16ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): see disabled_testPromotionCodeApplyEmitsSessionUpdates above. \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":"StripePaymentSheet/StripePaymentSheetTests/PaymentSheet/Checkout/CheckoutTests.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1170aab0762581ba5bc04643ade45d8bb094e114c0aa2effb0ab07261b96ae1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rework - it\u0027s super confusing that PaymentElement.Configuration dooesn\u0027t conform to this \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentElementConfiguration.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d09ecff81271fd78a32c6a82a3ba63b6ce7813dfb3e1dffbc61222bc69d02c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RUN_MOBILESDK-3167): Make this return a dynamic UIImage \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodType.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa6ffc6919f5c4b38e9d48063497e3351e709e78954610601b9673afd10c769"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor this out of PaymentMethodType. Users shouldn\u0027t have to convert STPPaymentMethodType to PaymentMethodType in order to get its image. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodType.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a609271231791b3d7329dcd70d92a1373fa9ef362f7c2c0bf1f5291d9ac5cb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor this out of PaymentMethodType. Users shouldn\u0027t have to convert STPPaymentMethodType to PaymentMethodType in order to get its image. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d12bf9b0b533d4df5944c87447e8ef4f239bbe725d81d9a14a631b0b5ee784"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once PaymentSheet can render arbitrary payment method types from the server. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodType.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac0bd8def9a1934d8215bc1d7c99d269e2efd618dded518f480ce08d670366d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) Vipps: CheckoutClient rejects inline Vipps confirmation. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodType.swift"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"03839cdc134c1533aeebf96c167a00315eea9d4d6289376142732456842708fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) BLIK: CheckoutClient does not support BLIK codes yet. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodType.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e1a9e82af3440be49241a172dcdd66d305d73311e0a309155a3188c0c8b896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This only looks at client-side assets! \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d352a0ce3caec82df485d4dcb9f14cbe64e60634fecf07b8f9f1ae79f20fcf21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make default param \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d430c0277cb2d9069f5f772f6ff7dcb85998af83d906dbf1a52853fbd8369"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: intentConfirmParamsForDeferredIntent is bad: \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d393cf3918c7e4e443ffda473e6a1481ad5c85179ccfac3987e40329836199ff"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: \u0060ElementsAppearance\u0060 doesn\u0027t have a primary button corner radius. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetAppearance\u002BHelpers.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f3a65caf74c5cd89f514559bd3aba39d37622ba418d8a62f73794774baa349"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter): Remove assumeIsolated once presentPaymentOptions is @MainActor (blocked on new FC API designs) \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0759a977a78ad6e620bfdae3e3757b64214d8b4356e0025ace49d264599a25ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MOBILESDK-864): didCancelNative3DS2 is not used in FlowController"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f36acb0e393e04c3d78aa73154c9fed6e9a9825f0262492ed2c429df1114b59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MOBILESDK-864): didCancelNative3DS2 is not used in FlowController"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad89ae0b557f756603baa4dc2a354fda7a007386e0c8769ccd3ad442cc785e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MOBILESDK-864): Refactor this out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFlowController.swift"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"8807525a2908a92e510e327827aff58862abe597d1875c1b7593b2e41d9c7226"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Revisit overall pre-loading approach to make this work for other payment methods \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4661ee159f60a843774e1ab25776c1b8d3262e1583e5e6d29221228822a53093"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u26A0\uFE0F Do not use global singletons or assume only one integration loads at a time. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"52108165ec29b8ee6c837a22b2a22cea92b3702e2380692b1277b33945282dfc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Localize \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/WalletButtonsView/LinkInlineVerificationView.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"299d8cdf85bc3ff29bf97196ff56d69d10c7e4aea0425f095b6afb27749166bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Localize \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/WalletButtonsView/LinkInlineVerificationView.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef38ae52eba63fbe847c9079741dca4ff52d157f25b353b62edc988f7aa534e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(iOS 26): Is this supposed to apply a Liquid Glass style? \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/WalletButtonsView/LinkInlineVerificationView.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcfbb458a6dd0304cd872d5cd4195d2365a48eadbb622d5260091be55bdda84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecate? \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/WalletButtonsView/WalletButtonsView.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89430f89ff549910bad033752260af93b199328128f267091492dce84cd10cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (iOS 26): Respect cornerRadius = nil \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/WalletButtonsView/WalletButtonsView.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"813a3425cf75ee2d1495e986bd01269300cacd7a4cbf68c2995c272807acbbf3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (iOS 26): Respect cornerRadius = nil \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/WalletButtonsView/WalletButtonsView.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b8a05a57698e569b6d113f8817ebc84e4e13dcb427b7d54de0ae9e9088d0a4"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: This line causes PaymentSheetSnapshotTests to fail on iOS 26 - the sheet becomes transparent. I can\u0027t figure out a fix, so just remove it out for tests. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"da272ac4dd85a9c72e4fbd42135f1523870da4a15e030f0a85ee977a2f2ee481"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these three methods! BottomSheetVC shouldn\u0027t be aware of any of these specific VCs; it should expose generic present/dismiss methods \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.swift"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4fe1cb486edf2f4ee9b8d15218fae4d8fb06ad922efa6205f5f56493acbd05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these three methods! BottomSheetVC shouldn\u0027t be aware of any of these specific VCs; it should expose generic present/dismiss methods \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"823ad992875111f8264a5ecaf16d8b00739eee9cc3ba1986a818e59482b7e9dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Analytics \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/CVCReconfirmationViewController.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"08728c109b424ed05308358cb49a1b18ec670dabd548b78af21604ca169a8213"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When we drop iOS 16 support, set keyboardLayoutGuide.usesBottomSafeArea = false here. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ae52326e6d1c57c5bde855e95180d5ef3ac83ddbcdb9d54ffce366a76a1e5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When we drop iOS 16 support, remove this compensation after setting usesBottomSafeArea = false. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/NativeSheetContainerViewController.swift"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"346ce4482c223f2ab2441866fe9f9c01832731f1f133f312d501bb0b3fa17151"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Payment container needs to extend to the edges, so we\u0027ll \u0027cancel out\u0027 the layout margins with negative padding \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d08424e757881abfd38f61dc57b8b24ce84908539e4498999ba714d7b0b08b4"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Payment container needs to extend to the edges, so we\u0027ll \u0027cancel out\u0027 the layout margins with negative padding \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"de35724456397f96046cd28d275b7075d5bba46ef5ef7ab852d1e08b8eedd48f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove probably? \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetFlowControllerViewController.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"32079122d7723ba5f2ac8b7282e2d4d89fe9b9433d303e886e480c99935dc5ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This self.view call should be moved to viewDidLoad \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"879d94ea2269c7165932d64a1568e5f8839b7d049cc8a234e2d8a9646e02256d"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: PaymentHandler calls the completion block while SafariVC is still being dismissed - \u0022wait\u0022 until it\u0027s finished before updating UI \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetViewController.swift"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dc8c5ebc9a07a8f8978d6ecc710c5118e3440a91cc9be26862a2f65f9e6237"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: PaymentHandler calls the completion block while SafariVC is still being dismissed - \u0022wait\u0022 until it\u0027s finished before updating UI \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.swift"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7f33514f49666b8eef3132471864b22289a255ff97d1dfd85892bead138379"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: PaymentHandler calls the completion block while SafariVC is still being dismissed - \u0022wait\u0022 until it\u0027s finished before updating UI \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68ac4f2d41426df89ba8ad152edd7a0250e3e0bc9fafc80f046e4e933d405d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (cleanup) - get this from PaymentOptionDisplayData? \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentMethodCollectionView.swift"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e49a990504fb9374b26c213807da0b48f9a12f74f805c54c602cfde8e509bc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (cleanup) Replace this with didSelectX delegate methods. Turn this into a private ViewModel class \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6d34a2e762cba326d8a2396f39d7db16ef515470b6714561bcce7fef3095e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (cleanup) Replace this with didSelectX delegate methods. Turn this into a private ViewModel class \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72fb87429587b398313d8260c985d5a50412f6d569e07eedca1d171d9c52c87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ocs-mobile): Make this not a singleton \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMME\u002BInternal.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb418abf5468618359d5373713391eebb12573506f7527746ed0ab859970b422"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(gbirch): add appearance customization for legal text \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentMethodMessagingElement/PMMEUIView.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1bc46745ffe37cd49b76420a320e7c66aed84568ba2f4f0ff1f53c700a6964"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hacky workaround: If we update unconditionally, we\u0027ll overwrite the current PM\u0027s valid image with a 1x1 placeholder here \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/New Payment Method Screen/PaymentMethodTypeCollectionView.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af2f2624f02f4a894e143497cf798c262fee8eb198b8eb33a8bbbf5c5f4bb45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(gbirch): align Apple Pay button liquid glass styling with other elements \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/New Payment Method Screen/WalletHeaderView.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb887d24160572473bdc8db0d3c3b8c5b97c24228d5cc0fec2f01627bdc97ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We need a way to override Link\u0027s default primary button label, since we don\u0027t want to show \u0022Pay $xx.xx\u0022 even for payment mode. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a58b492e476dce834b02df623428462d4b7e4c1b25db0ad77df1cd52ddd5238"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These parameters aren\u0027t 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f59b63b5835cd7a676f39babb44c57961cda69a3d3d4c0ee61bea06d0a4246"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These parameters aren\u0027t 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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"763ce95fb77fdc8037022499ee34b87ac27ab2b116aef4aa8a5bcaf78348775e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a non-logging integration shape or something \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"765988ae6a559f37f347f168eafbe8ddfab4de96c2fb49052ca82355ee392c37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check that this is the right email source to pass in \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aa7b5bcb42a4f389988cf60eeb746eb24039f3d35b3767ebcc080ce82fac57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Confirm which value to pass here to not cause experiment issues \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/LinkController.swift"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9712e1ed3363bb8d65e525a741d80b0672ddb5b72b32263fdd9d4d152fe8f5ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wooj) Log an error here that is not specific to PaymentSheetViewController \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedFormViewController.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3a4e66914fd8a5d5c54020886010007e29556537ca7e360d4179f0abedeca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://jira.corp.stripe.com/browse/MOBILESDK-2604 Refactor this!"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02f4ac7a48de519def99fe4b3cb224e27c77e341510df39e7f52bf212f13338"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://jira.corp.stripe.com/browse/MOBILESDK-2604 Refactor this!"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/DownloadManager.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1932c48e185baf02336d24812948b66ef4af48681b37f96003daa73919e51856"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider opting Embedded SwiftUI into EmbeddedPaymentElement\u0027s initial height notification and removing this load-time height calculation. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BSwiftUI.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3875deaaf8197db609f635471a33aafd30d3729e2414a4afdbb366117a3806a3"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: If Embedded has not been presented yet, we may not have a VC. If that\u0027s the case, populate it with the default VC for the window. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BSwiftUI.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f8fbb1dfcb13bbf041f5d03fb78c09c3821f14b57e651c6eab1b70c56b47b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(https://jira.corp.stripe.com/browse/MOBILESDK-3079): Make \u0060load\u0060 respect task cancellation to reduce network consumption"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8ded8e59f613fff1544037fce22f77fbec0ea68e97504344ff02b507f23ca3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: stpAssert \u002B log error if resolvedPresentingViewController == nil when this is called from Checkout SDK. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement.swift"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"59425a0bf5e4c4828a9caee106809ae2916350e6e0e603a1e0867b03c0ec5a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hacky - ideally we have a RowButtonViewModel type of object that keeps track of this state. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e085d9758b6bc33b2c047f2aec085bf63d457a276beeb6332fcd69d02766cd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pass in the selection state (eg selectedWithChangeButton) so it\u0027s retained \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ab4d6577d5eb393a75b2f95d2aa16d576aa41a7cb9b038ab462de15927c694"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: We assume the accessory view is \u0022Change \u003E\u0022 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"623539e295568cdfcd9a291a210780b20b3569c8ee99ff2e0f06c18c296a20fc"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: We assume the accessory view is \u0022Change \u003E\u0022 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentMethodsView.swift"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"9761f63a549005dabeca2f3e33242181d342655e8dc4a9955db5fb9ed9c99cad"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to get the accessory view to update \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcd1bc8c63b96292e084892211e66c09824487bcefaa3b176d04c18a580019b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to get the accessory view to update \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3c9dccfa0642bfb15b2a94cd1b121b365d46e9e4659d94f34d1a22da892879"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make a better default error \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5749c7b3d4a09d07864b900a76a30055090a1da9b460229948d914621ccf93a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a programming error, setupIntentClientSecretForCustomerAttach should not be called if canCreateSetupIntents is false \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerAdapter/CustomerAdapter.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"179d92247f37700f036957c2628d89b28768d5f12d88ec91dbec974d39f7cf11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle multiple shipping rates from the session. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ee3d923afbbd323fb369997a09220abb2ae2a2322a2270b89438b19d495571"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Wire up coupon code handling. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae89911e61fe57c207a2647b7eaea2026a6f74c6a1cb310872264b1c8b86ce6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Product Usage \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutApplePayContext.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9318387b316ae0ea7daa8cb7103aea5112cb4e5c68cdb75b061fb5ef8d699c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Have the Link confirmation callback return InternalConfirmResult for Checkout so the \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm\u002BLink.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74b0563e35088473cdf601849266b52ff4246d458f8fe0e5218ef53f4411164"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should probably live with the other methods that delegate to CheckoutElementsController \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff7fe650ce6e26c05948c370d452a34b32d4e9b3eb6d04576a39fb7dc8930e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Lots of stuff in here because current Link code nominally requires it but it may not all really be necessary. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea59d10cdb0626506e0372607a81385dd4473d344c17d39b643ee1c429dd75b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fatal error here so we can not reutrn nil \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c7a6da362f4b45727a1827e3f25a182763aae61480c8f6230683f14144f5e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once no-PM confirmation can use the Checkout Session\u0027s server email without \u0060customer_data\u0060. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee10cf954058db4ac3bddab0ac598c046e413517082ff7902613c50d3bac354"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Scope Radar option creation and this request with confirmationChallenge.withRadarOptions(for:). \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BConfirm.swift"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e7e562b620471033a2f30cd6f587f1740ed1dfda6d612402c3b997bfbdf932"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should next actions use an authentication context tied to \u0060presentationWindow\u0060 \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BInternal.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a92bb23671f4cb9f8ca1bccd24d6be1f39c0640cf5f6d726c6c81b3c1190a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe add Link-specific configuration \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BInternal.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69e3cddfcaa77bf4412f9b49f3ed4420fd5001c6abfd219e33c17e0c5c380f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe separate out a LinkAnalyticsHelper \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BInternal.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f4e8143ff17d710f6a82f624ec653d69badfd077db25745b5547f8d7215315"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) promo codes: CheckoutClient does not expose promotion code discounts yet. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController\u002BSession.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"995e9d5c721587c3844db387096217d46a72d9011c70ac60ab18a3c7bb7ba0fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(MOBILESDK-5054): Own the analytics session in the surface\u0027s analytics helper and pass it to other consumers"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb21d1da44c9dbd4fa13ef6ee082904825227da288900390baa0b69436a96171"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refresh Link account lookup when the email changes. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeecf3bd0ca71f1f93fcbd7c8d57d692d889ff2b4401cd42bdca68ff41f6a49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Rename to \u0060setSession\u0060 or delete this and just inline, it\u0027s unnecessarily complex. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsController.swift"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e6361c2f2cb3a82ac386e80947b5cf0c010ba8756b9645b3c66049c8d6a094"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: Link experiment exposures send default billing details \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e6e86d6545188bff3739229d25033cf8651046deaff55dc4ddb01a5b720ad0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Define PaymentElement behavior when no supported payment methods remain. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3346311eea74e50b99a8c63d03e6403fe696698fa1b658e8e94b87f0eea9c132"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this logic should live on the server \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutElementsControllerLoader.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d440a7ab2f1a68407610e913165fdbfa5d85058bfe944b781052f4dacd00f9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Have both configuration conversion methods accept Checkout configuration and session, \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement\u002BConfiguration.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe750fa2d08c703d727390728add25cb0c77af88f54099743109be39f2957e7"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hacky solution: We determine which one to pick based on which one last reported a payment option update. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/Payment Element/PaymentElement.swift"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b58c707b30a180368866cb33390ac6046812bda99323000ce23249f4487eba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Have Checkout Client return Session.Amount-shaped values so clients don\u0027t duplicate \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/API Models/CheckoutClientAPIResponse\u002BSession.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bdb7de03a0610f7396064cb3e66ab8880b28dd1ded66f180ac00bf1b0a3719"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this Decodable instead, we don\u0027t need _allResponseFieldStorage. \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/API Models/CheckoutClientAPIResponse.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8975ece48dd816e27d8831c5ab1646beef362787c629722bc6cfe845b68b23d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This should depend on height so that velocity is constant \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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/BottomSheet/BottomSheetPresentationAnimator.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebff3e62f2406eac5b4747951e7d7e45d94603cbe331918ce4afb1fd9d12708"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): extract common code with \u0060LinkLegalTermsView\u0060. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Views/LinkMandateView.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d8642224287e015d17de254f7958f0437dd8b840dd2e2fff60298cd855d8f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Since success can include cases where we *don\u0027t* look up, we log \u0022look up complete\u0022 even when no lookup was performed - is this intentional or desired? \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Services/LinkAccountService.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"379c4f4d68f45e04a5ba488e3002662509721374237a9bc6b4808a7fde6ea9aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): Graduate to StripeUICore. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/FormElement\u002BLink.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2546bc1d0865579f70e88f56c5b0345943c9304257a80198b5189f7443b9985a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider adding the activity indicator to TextFieldView \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/LinkEmailElement.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83292106ae6ea350f3dd74fc0b27699b0656549b7bcbe8a4f2e596745793a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(link): Replace \u0060STPPaymentMethodBillingDetails\u0060 with a custom struct for Link. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/LinkPaymentMethodFormElement.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"673e2a3ef7763556d0ba355400aa7c200c793dfad473113a18866c32720f1db3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(link): Not yet implemented. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/PayWithLinkViewController.swift"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a32706f3bc0d546ce236c16e26fdfd35ba91cd82d2356cb9b3121792a206c23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(link): revise layout margin placement and remove conditional \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Components/PaymentMethodPicker/LinkPaymentMethodPicker.swift"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"28db643aa0c1119fe65f66832805dd8c8693feb687cdb76addbf123d1662a189"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this once the server can construct no-PaymentMethod CustomerInfo from \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8868d825902509a557358b44bfeeb7d65e3f7a4358fcbff5e08ddf62a663d3f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) BLIK: CheckoutClient /confirm does not support BLIK\u0027s blik_code yet. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9fe73a90211052e7e93ad2547dfa5134512621f9626c4ffb4323b3ce7193ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(porter) promo codes: CheckoutClient update does not support promotion codes yet. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/STPAPIClient\u002BCheckoutSession.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2c59e541a442e855736b3c90584509d18717ffd2dad9ca80a1aa338e89fff5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(joyceqin) Re-enable as part of the ECE workstream \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2901c620bd07902a029e52fdb4aaac7bf133c2d70b6e6c31cfeb7a90f0a79609"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): investigate why this returns optional \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/PaymentDetails.swift"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b2545f03db792d0ea8c3b6115713b102f2f7b21ee4122e4f0d30ea6a280bca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ramont): Remove this after switching to modern bindings. \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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/STPAPIClient\u002BLink.swift"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cd23ac9b7b37dace7670d39fb478669426520da53548adb047235900aeb110"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(yuki|https://jira.corp.stripe.com/browse/MOBILESDK-309): Refactor STPImageLibrary\u0027s images to live here as well"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/Images.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac4ba878d689aa0ff2cf553cbc54019df1bc82d2f8204d397e68e61920daca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //                TODO(link): Fix instant debits \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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/PaymentSheetLinkAccount.swift"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdf948ab8c2e66084bd6509476d178596c599099816fe8320aa20cd7e93863e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mludowise|IDPROD-2542): Make non-optional when native component"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/IdentityVerificationSheet.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cf22ccdc23107d2b77c1a0682a7f5c44aa9ea2a49575832fe8b4ce5fd93fcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(mludowise|IDPROD-2542): Delete when deprecating web experience"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/IdentityVerificationSheet.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"da16835402853088b3046540509cacc0250e8b5b37368c4d1446849857c7a083"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// - Note: TODO(IDPROD-2542): Delete this when when native component experience"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/WebWrapper/VerifyWebURLHelper.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"95779e892d7e18ee3f6c1f3077a8e4237ecf1bf067ff73159a01192b3cc86c20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: collect historical data and update the threshold from server. \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":"StripeIdentity/StripeIdentity/Source/API Bindings/DocumentScanner\u002BAPI.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7396e735b84423609cc421d7c80659065ba3379caa5c32e38445477de250ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mludowise|IDPROD-3269): Encode additional properties from scanner output"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/API Bindings/DocumentUploader\u002BAPI.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2d88f9aa17967e8b70970d0c8df5620ff1035656f683d7163d5b362326c1ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mats): Add support for instant debits. \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":"StripeFinancialConnections/StripeFinancialConnections/Source/FinancialConnectionsSheet.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa6336c8fe70424e563d0f4d3e2dbd0d6ac6e4f1feb7f23d4d3746def4ad1e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once we localize use String.Localized.close \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/TerminalError/TerminalErrorView.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2721fc8eabdbed5c615b6e3c94656ff419a642860aebf8bba79f1cafc0515e3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with UIButton.doneButtonTitle once the SDK is localized \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Success/SuccessFooterView.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cde938891d87b2229d56c271364090222f1147167f6f40b99c9e515069644b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kgaidis): discuss this logic w/ team; Stripe.js is constant 0.3 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/LinkSignupFormView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc7de10f41d32d6c643418a1666000932376e7387b094e2096990c568a3a7fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kgaidis): check whether its fair to assume that we will always have a consumer sesion here \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupViewController.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebb873879c929fb31d35fe7c0e8c5870e942ea7ef7aeb9e864b9cf7d37eb074"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once we localize, pull in the string from StripeCore \u0060String.Localized.tryAgain\u0060 \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerAccountLoadErrorView.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45b101cd9b7620da98066d855c4cbd03936cfe14a89859eca07a4edc6db85dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kgaidis): move this to StripeCore \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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerHelpers.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54426d576f5731f281741c4e1572dbeb0e7b30f7cce8827ca5f6f3677a1f10c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(davide): This doesn\u0027t pass on Darwin Foundation, and I\u0027m not sure if it\u0027s necessary here \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":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a0fdb9731909140d0ed905d48d7e7bc03fe6116fbd1ad1e13412f5dfbcd447"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Import from %S/Inputs/Coding/SharedTypes.swift somehow. \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":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2a9e2d76c177ce98a54ff65a140cd549e04d87f2edb6a1defe5af4c9555164"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This property is present only in order to test the expected result of Codable synthesis in the compiler. \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":"StripeCore/StripeCoreTests/External/TestJSONEncoder.swift"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a833cf430db042e57399e053f23d2dec165175931e8242c2cf37d955d30c8fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://jira.corp.stripe.com/browse/MOBILESDK-3965 We\u0027re dropping some info in this conversion w/o http response"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/Helpers/STPError.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e68ac5fc27e257f20846e57292e242bd41ff8d34d07be02082c1c626fc77e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor. A lot of this can be replaced by a lookup/decision table. Check Android implementation for cues. \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":"StripeCore/StripeCore/Source/Helpers/STPError.swift"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"df94993d2b67d48ef488e082549c77c889951e7b1d0a56b2f37a3e56bde54dca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(davide): We\u0027ll want to move these into StripePayments, once it exists. \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":"StripeCore/StripeCore/Source/Categories/NSError\u002BStripe.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ecef305b7eb24b5ab00427641f7b97a4c0f80748fc1df8eea13625b463c820"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Delete this, dead code \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":"StripeCore/StripeCore/Source/API Bindings/STPAPIClient.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ba8e642b44efe4cc4dd264d2261c50fb7356152e6621acb3c1a2572018f645"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CAUI-2844 Move to encoding FontSource directly instead of using a string."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/CustomFontSource.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"099757cae856b747b47594c5d2ee86a870da9d072d84cd66be331b8e201cef63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MXMOBILE-2753 Move this to StripeCore."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Helpers/CSSHelpers.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1c73e75894d4d7ca1b5579655df769b510082ce8fa2a4e10609bd1afc5f222"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Run verification pipeline and report back \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":"StripeCardScan/StripeCardScan/Source/CardVerify/CardScanFraudData.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"97716cb2d0049387ba0c9ca7a23dc89c2cee502724335028ce3863737abc316a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jaimepark): Remove on consolidation \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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0356f58e8f79111cd4ddeec1b6f6a11ab14f3fa096dbd050ec4cc9e53447df7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): Consolidate both add flow and card-set flow into a single view controller. \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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4719bf12a3db60e844cc31f8e352a45551f72b392c2ded89f42c8ddbeeb9436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): Change view controller type after consolidation \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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"34afa60ca4d4951bbf42f940fc2b324f6ef47cd892c9012d82aa84945b33a63d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jaimepark): Put card brands  from \u0060Stripe\u0060 into \u0060StripeCore\u0060 \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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d183ebf70445a7242f19176d3cbb3c91815120cc6db21e2d84a0f2835c1c708"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jaimepark): Update text ui with viewmodel \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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e8bf267539dc91e2b2d5bf79dd73fd8e1eefaa5b6aeaafad2a0108fc5860d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jaimepark): Create controller that has configurable view and handles coordination / business logic \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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/CardImageVerificationController.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1c86fd1dceb870d0491c99a7c3bb47e5101d1502eae04852530de9b7a878d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jaimepark): Add api analytics client as a param when integrating Stripe analytics \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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/CardImageVerificationSheet.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"490cc9fe8891800bd6b870c11656adcede50f0bf926a81cc80d8a0b3eaf5f5f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jaimepark): Link public documentation for CIV intent when ready \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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/CardImageVerificationSheet.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fdc423195a8b9605510271f71b9cd8e4fb57dc943b50cf9e3e62c32bf28211"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): Resize with aspect ratio maintained if image is bigger than 1080 x 1920 \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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/ScannedCardImageData\u002BVerification.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33790c7446cdc2cbe434dc0d2118f8c2f357d1c6bcca6bd4075ee3716997b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): Update conversion methods to calculate based on only AVCaputureSessionPreviewLayer. \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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/ScannedCardImageData.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c96a6dfa8783f681870e4b224bac8fd0694ab4e445d0ea92c162846cc6ca67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Replace this with writing the JSON to a string instead of a data \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":"StripeCardScan/StripeCardScan/Source/CardVerify/Api/STPAPIClient\u002BCardImageVerification.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8b68347bae79eee3903aee0111670d99f7cf5813bb5d249e08b50baaadea50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this and just use stripe\u0027s main configuration path \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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanBaseViewController.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"661b3b723d2a0e3c2017dc7fc86d40484e6aed9b48904248ef04c3eebebc4bad"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to work around having to change our  interface \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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanBaseViewController.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dafb2dea04a05f593f3c868f37cb080bb5412d76c6075577183ccae0bd7f8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): Refactor \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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/Torch.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49bacee323848855cc8009e3eac729ba7047bc3a9c18debad0f126bee5ebe9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Fix This \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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/NMS.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc869f263a6f933ace1c9af8caf297afe39bceb0d22138d656cc18dedcd8f95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): make sure this works \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":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/Image\u002Butils.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb00e2083ab91d15f334da15d362159ad28920d5af1a1d50e80d0dc28a15f383"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stk): this is a hack to deal with the case where we are finished \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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/ErrorCorrection.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a467cb1044c7b2d73271d0812073758ef16ebdb8cedd6553a5ee00ac6b7eb68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stk): Implement this later \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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/OcrMainLoop.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"73abfe50867b7f0f90bdbe957f59b316025cfd19d7e3d751f272b27e83872cac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Will be replaced with \u0060formatCardNumber\u0060 in future version \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":"StripeCardScan/StripeCardScan/Source/CardScan/CardUtils/CreditCardUtils.swift"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9b15464270fe16a8bdf9709cae8d56de3b8be72b310169e6837066b8b504e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Added extension to make older network changes available, will remove in future version \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":"StripeCardScan/StripeCardScan/Source/CardScan/CardUtils/CreditCardUtils.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41fead95953ce503f638c332314f24a8805294f7f8fce091c1bca8910777cb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (MOBILESDK-468) Add modern bindings for more PaymentIntent fields"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb713b249c1427b09953e9921bf99ba8d3e3501e3ecfe18f5522b7b3258f164"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c8ff67d467201ea26030917180ae81b101514524a1189af95abaa05feac9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1328d54612c66cd8c5da96b59f6b3ed6d3722c0e0aab2920931b72745de1dbd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc178aab0a2451e8df6b3057d40c0d532cdafb8bc02fb7de2d59f94be40a803f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntentParams.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3352801ff7757e27c3d4fed0d385e25f60830390fc89716ac1d847918307ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethod.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc09ec97034bec73253974ad6cfbd3aa4be2c3bf8dc5db9b86eabd2667955ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethod.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8a485e8d49e5d2e8e57e28645a8d04ead796ccc2550c7e5e9d3652e7cc13d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentMethod.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4e6ca748289a83a4d036f4825fd9997da67b224cb16a44289cdddcee72c6ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is @frozen because of a bug in the Xcode 12.2 Swift compiler. \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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"67984eb93cbb25b91eac411025ff50a08699f8a5b141f742447e083666a42e65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (MOBILESDK-467) Add modern bindings for more SetupIntent fields"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c5c5812f642a24e989f9ec844550f105c44d6a3659e93f63efb536fbb45f2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (MOBILESDK-467) Grab the actual error from the SetupIntent"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3156c8c289348fa440cdfd2b51beeb6a57d8d1bdeca3b6b3c3259a4cc55100"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (MOBILESDK-467) Grab the actual error from the PaymentIntent"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeApplePay/StripeApplePay/Source/ApplePayContext/STPApplePayContext.swift"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1ffbf764167e3be3e818c9ace1bdb1b2036f3d2cd55da5c3f9c790745191d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO(RUN_MOBILESDK-1848): This test is broken on iOS 16, as it invokes the pasteboard permission dialog \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":"Stripe/StripeiOSTests/OneTimeCodeTextFieldTests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f932574d8ed5b3deeef1646397a3c7d63e9cd2f5d6a76689c702f28e4a8a9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: regenerate these fixtures with a fresh/real PKPayment \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":"Stripe/StripeiOSTests/STPApplePayFunctionalTest.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"51036f8b2157724de66c384f3afa2ece76819f826da9243787138b6dbd5a5500"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack - we do this twice since the first tap only dismisses the keyboard \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":"Example/PaymentSheet Example/PaymentSheetUITest/CustomerSheetUITest.swift"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e947e977fe36d01036b24596cb123c5958e4f707ab39039b8475d26981b527d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //    TODO: This is disabled until the Link team adds some hooks for testing. \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":"Example/PaymentSheet Example/PaymentSheetUITest/PaymentSheetLinkUITests.swift"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de0890d22b6d1037f9abe2fe8dfdb0d5fb3d8211942faf111931bb07f20f14f"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hacky to double tap but fixes transition if software keyboard is enabled \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":"Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetLocalizationScreenshotGenerator.swift"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6b5f4111f0206e0daab61402fc424a2bb2e5fc6087e82181914078114fd9f2"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hacky to double tap but fixes transition if software keyboard is enabled \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":"Example/PaymentSheet Example/PaymentSheetLocalizationScreenshotGenerator/PaymentSheetLocalizationScreenshotGenerator.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb36943c446c20cded5934f010fae9b7b85bd4a3acfc3109f7d1f5ffbd47862"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to ensure we don\u0027t force the native flow unless we\u0027re in a UI test \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"90362d8046e78ce5d1f922e7cffd25a1f792f72c021948c51a3a7e66b37a5efb"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to ensure we don\u0027t force the native flow unless we\u0027re in a UI test \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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"21333cba58090ff584a7a3f4a1056108ee80847d8337c4dcc4306d7f535edd26"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack, should do this in SwiftUI \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea3fa51589fcaace73385274af5c3ffb6f6cfeb0c25e14056ca3e79b8ec1acc"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack, should do this in SwiftUI \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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee4702038ea81cd06f2e15568b6ece032547af3f3ac95094aabc7fb938cb840"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack, should do this in SwiftUI \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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c8012989ffa4137d10e9312007b05a1d9f4ae7cfd1c08c14dc7e5430704421"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor this to make the ephemeral key and customerId fetching async \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":"Example/PaymentSheet Example/PaymentSheet Example/CustomerSheetTestPlaygroundController.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bbae1601aaf7fefd109b326feacbb5bffd888fd2f669a8afe9a3521950a892"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(https://jira.corp.stripe.com/browse/MOBILESDK-2577) Show client-side confirm, not server-side confirm."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Example/PaymentSheet Example/PaymentSheet Example/ExampleEmbeddedElementCheckoutViewController.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3ec0a746c86e75cd2deff4b946ee328ecf41edf840d98be7780152b773946f"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to enable incentives in Instant Debits \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":"Example/PaymentSheet Example/PaymentSheet Example/PlaygroundController.swift"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc02031c4ff1e4731d56fe58c648fba2fffe48ab724efc3cd855988ed4540ad2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract animation curve from \u0060keyboardAnimationCurveUserInfoKey\u0060 \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":"Example/Non-Card Payment Examples/Non-Card Payment Examples/KeyboardAvoidingScrollView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b4c078666522223e25e31761b92c19fd851e59d83bb4c5a64bda2e86f0f7fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccen) enable phoneOtpContainerView when backend adds support to PII \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":"Example/IdentityVerification Example/IdentityVerification Example/PlaygroundViewController.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10fac0914f485436c7dbfd90c74374577eb2bb9536d2d9f175639b514aa46b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mats): Investigate failure and reenable. \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":"Example/FinancialConnections Example/FinancialConnectionsUITests/FinancialConnectionsUITests.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b389259222a1104d33f9fb840882b657c6d30eecc4b20e7fcb6e05b9cee00b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark): Make CTAButton with activity indicator an encapsulated object instead of extending uibutton. \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":"Example/CardImageVerification Example/CardImageVerification Example/Views/CTAButton.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1a8595ebd910ba0589039ca5b49231afbfc612b3b7ea783a30f68059a684bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jaimepark) Internal structs. Find better place \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":"Example/CardImageVerification Example/CardImageVerification Example/View Controllers/VerificationExplanationViewController.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2acfb74ae97439d7be238b2a4273515af5e949ce139a50082ce211a5899504"}},{"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. ADRs are expected here because \u0060Testers/IntegrationTester/IntegrationTester.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Testers/IntegrationTester/IntegrationTester.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a950f842eb02aee559e036010909a79e16d29ede839f425d51bacfd9c300ca7"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tellUsAboutYourSourceOfFunds\u0060 spells \u0060Us\u0060 where 15 names in the project spell it \u0060US\u0060: 15 of 16 names in project Example~UI Examples~UI Examples spell the token \u0060US\u0060 (15 of 16; unit: names in project Example~UI Examples~UI Examples containing \u0060US\u0060). Peers: ManualEntryValidator.isUSRoutingNumber (StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryValidator.swift:93); PaymentSheetFormFactory.makeUSBankAccount (StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:796); PaymentSheetFormFactory.makeUSBankAccountCopyLabel (StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory.swift:1103); SavedPaymentMethodFormFactory.makeUSBankAccount (StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/SavedPaymentMethodFormFactory/SavedPaymentMethodFormFactory\u002BUSBankAccount.swift:13); STPCollectBankAccountParams.collectUSBankAccountParams (StripePayments/StripePayments/Source/API Bindings/Models/ACH/STPCollectBankAccountParams.swift:25). Rename to \u0060tellUSAboutYourSourceOfFunds\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/String\u002BLocalized.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf9b35dd92e1f7450914dd5f35bcc4eab66a071062c63ef5d49a1ab3ffd597"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060sanitizedExpirationDateFromOCRString\u0060 spells \u0060OCR\u0060 where 34 names in the project spell it \u0060Ocr\u0060: 34 of 35 names in project Example~UI Examples~UI Examples spell the token \u0060Ocr\u0060 (34 of 35; unit: names in project Example~UI Examples~UI Examples containing \u0060Ocr\u0060). Peers: StripeCardScan~StripeCardScan~CardScan.AppleOcr (StripeCardScan/StripeCardScan/Source/CardScan/AppleOcr/AppleOcr.swift:4); AppleOcr.performOcr (StripeCardScan/StripeCardScan/Source/CardScan/AppleOcr/AppleOcr.swift:31); StripeCardScan~StripeCardScan~CardScan.AppleCreditCardOcr (StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/AppleCreditCardOcr.swift:10); StripeCardScan~StripeCardScan~CardScan.CreditCardOcrImplementation (StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/CreditCardOcrImplementation.swift:13); UxFrameConfidenceValues.hasOcr (StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/CreditCardOcrPrediction.swift:13). Rename to \u0060sanitizedExpirationDateFromOcrString\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPStringUtils.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a109fafcfc4a2336303ff09c4e2cefabfc1c1df4a795bc1740616790411f4076"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 9 of 18 project(s) overshoot their size bounds, lowering Project Cohesion to 1.2/10. The most over is \u0060StripePaymentSheet\u0060 (72517 LoC, 587 module-visible types across 62 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":"D28","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":"4eacb7061592a60d1279d64af79e58f508b691ab58215f9ad75aa6e45dc4f284"},"properties":{"commitSha":"49406c2a2754fe6921a4138a289fa97225866dc9"}},{"ruleId":"D28","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":"f563186a78d353a6bd3828c79c6e711a22ef8aec93e98912a0018e2a34dea046"},"properties":{"commitSha":"49406c2a2754fe6921a4138a289fa97225866dc9"}},{"ruleId":"D28","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":"c725d3d3d1b339417160e4c5c23fb3f3efa93bd492105843f009f394f074b1ca"},"properties":{"commitSha":"49406c2a2754fe6921a4138a289fa97225866dc9"}},{"ruleId":"D28","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":"9c976bec3fc30cc96053df4a792c1366803b1d6dc088c48907ae0d16dfede766"},"properties":{"commitSha":"49406c2a2754fe6921a4138a289fa97225866dc9"}},{"ruleId":"D28","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":"5d33f1828f3f38234708b65fe05fb871d0c82ea27d8e902f8f9c7730293609b3"},"properties":{"commitSha":"49406c2a2754fe6921a4138a289fa97225866dc9"}},{"ruleId":"D28","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":"568b39782d2276b2a87fc302e4bb226095b08cfaea27a61687c5b85d18ebdc75"},"properties":{"commitSha":"49406c2a2754fe6921a4138a289fa97225866dc9"}},{"ruleId":"D28","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":"cbd137543d0ce1ea0bc0c560fa048bb46c399447b53b78a0e1974c0bcf746541"},"properties":{"commitSha":"2fde479ab32bd6d9e43d51e7ce7ee052cd0995b7"}},{"ruleId":"D28","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":"79bded35bf9fcc24e4c478c0c2dd387ec15fb2bbcf99d14ef1f966560f0d8749"},"properties":{"commitSha":"39b88565043e20bf83c973024b1580f9a10501aa"}},{"ruleId":"D28","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":"d1f13f26919d9316dcf755b1f709818e93126c2a1175fdfd2e592d55bfcb6e6a"},"properties":{"commitSha":"8feb5adecbb4043b089a72b8f9d6d597d100362b"}},{"ruleId":"D28","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":"6354dc9fedd1ed88bf0de322cc792e4175e1830780fcba56f3c596747b831e1a"},"properties":{"commitSha":"bc5ba118ad50c5607baad1ceaf23a63cb16f3c4a"}},{"ruleId":"D28","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":"3b3682c5f58c6a1b19dcf5f454f8803062a04e461a71865b3095b03e0c83a88c"},"properties":{"commitSha":"e43c9f929ee09a9adcb3ab7fa4293fc6051ccda4"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"cc6d8efbb43c2514bb56bd057fd424395fe01b51cac51ba52dd66cf555b0505e"},"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":"7d07ed198cd2499042e18a2902174358377c34c13f3a695fed24b26d562a3cb0"},"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":"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":"b95a2d12e27c41669d47dc30163b776699ff59223369b073929f40b910eb75de"},"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":"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":"f21c2f595954f65d526fb6ae434a1eca9609c5652822f1b9af0bb326676245b7"},"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":"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":"6e5e9cf0cb1a51d415a8a399511d737f70f9dbf1a1c6d1b554b6c325795bdb0e"},"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":"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":"1ab31379b7fc6107c32f589b80779c3582eca7abb3bcf88c79b8c735d5f115a2"},"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":"d3930658b785d6beb289ff3d8f0fac55872a00f0f7d5d5c0ca69a5a476def425"},"taxa":[{"id":"CWE-79","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":"6c8db309d894156f31df3816e5ecfffb327a0caa2c26315fdc6eb020b84b2bb2"},"taxa":[{"id":"CWE-79","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":"2b7cee934e4f59a0afac24659662e173232421720f8a970c7e696a8c4369ca16"},"taxa":[{"id":"CWE-79","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":"b428ebbd1863b79349411b22618bbfe42fcda94c349429dcf6dcb3f7e8aca4b9"},"taxa":[{"id":"CWE-79","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":"7847f22b61437f3907513b276c0d890a8a1213fa42f4bbf50dcee1af80e902d0"},"taxa":[{"id":"CWE-79","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":"2de423e4272af4b320749972291f82c0c9acd40797d302e002abad1c04e846db"},"taxa":[{"id":"CWE-79","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":"bc80edb8c0a802e16e4df1ef3b36ee36a90393f651207b5315775dd3b96bac34"},"taxa":[{"id":"CWE-79","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":"b658740d0b5338391933682e104b7a635cc4f90f9a03a96e126a2e0e988bb428"},"taxa":[{"id":"CWE-79","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":"47c54f19142d04443593b9e73a76a52489438846ee6ae8463d90ad8921b168c4"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","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":"672e4dac98b3ef61ad41b4a765805650e5bdda51802e2d66be9785b264cbefc5"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","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":"f3536273dedf90e5ac3c3691402816a45e839434ed4d192aa1a26fa305180903"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","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":"128b3d2d9404c37c8aae9b5e10e2f21a9663c16b4839db338ae5d887cd260439"},"taxa":[{"id":"CWE-134","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-943","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"dbee7604abc096b8a66e5e87632765ee2922e5b89c9e8409db574d99565e0e6a"},"properties":{"dependency":{"package":"activesupport","version":"7.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"833a7185174858706a151949e08a56b5367b07ea17a6c5b8941f64f85991be16"},"properties":{"dependency":{"package":"concurrent-ruby","version":"1.3.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"9e842a8521a9d898666a1d5a419a43a27e416322915c05bcbc38ca2d85f70dcd"},"properties":{"dependency":{"package":"faraday","version":"1.10.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"cdd0a7ecc16332535f869a4c0d6fabd5d6770567695cd122fe55c8e4fc586bae"},"properties":{"dependency":{"package":"rubyzip","version":"2.4.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"8cdd8a98a0e758eac9997544059125ca142fff958616149e29b36438bc8d4125"},"properties":{"dependency":{"package":"activesupport","version":"4.2.11.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"65635171040b6c278b4380ec181ba6c8c1badcab8ca1bda022f32287d963426d"},"properties":{"dependency":{"package":"concurrent-ruby","version":"1.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"0315af054fa8f18bd487f27d5c8fc133b31ce09b32d849266e9299d0bb0a1b86"},"properties":{"dependency":{"package":"addressable","version":"2.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"3acf461327c8d5eb139fb28055eb092d4d60f44d473a75aff035039585d5f410"},"properties":{"dependency":{"package":"excon","version":"0.112.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"96451b363cfd080aa2bc1287f88cdf7656fc30267aa0b034ef2fd01fc430ec81"},"properties":{"dependency":{"package":"mail","version":"2.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c041d7831dc14980a25059d0d85cf2ed35c0c797d4623c60e04330dabde6bdf2"},"properties":{"dependency":{"package":"net-imap","version":"0.3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D32","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":"77a2f7eea87eccf4325816eba1313c14c606d047c576ec91e6d7a0e29dc4c2a5"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9d665bb36daf7d0d10ff74b8c19ed463586f57f6db4259233b71931fb5936d"}},{"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":"StripeIdentity/StripeIdentity/Source/Analytics/IdentityAnalyticsClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe49e29a22d906be826843e4a5c79d72df9943888cfcec6ef8b2d88c902401b"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SheetViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a20ecf76e5eff2baa2210c59ef84c252c44f4ca7103cbf92f18f4f13fe01c07"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/ScanBaseViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7cd0a25ea5688937281be2b5725dae7102c06275bc0164b4a412587f7e414b"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/SimpleScanViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0f247b666c722ae16ac5d52468fa50e498fca951b9ed3c16bdba36fbe57727"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 190 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: StripeUICore/StripeUICore/Source/Controls/Button.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableView.swift, StripeConnect/StripeConnect/Source/Internal/Webview/ConnectWebViewController.swift, StripeConnect/StripeConnect/Source/EmbeddedComponentManager\u002BAppearance.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerNoAccountEligibleErrorView.swift, StripeCardScan/StripeCardScan/Source/CardScan/CardUtils/CreditCardUtils.swift, StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/OcrMainLoop.swift, StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.swift (and 182 more) (195 orphaned of 848 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; 848 of the 1673 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":"StripeUICore/StripeUICore/Source/Controls/Button.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a26eb98423cc490dddb1f05bbb53351b7ea0a8abb4cff63581527880b53fd8"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ff22a85113fd706da0f554919cd171a3c63c21606f139805b04a5476d4ca15"}},{"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":"StripeConnect/StripeConnect/Source/Internal/Webview/ConnectWebViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d522300267547b3e6b61c646a62c5d5940b024a7bae0deb681ddfbe47a7d0e04"}},{"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":"StripeConnect/StripeConnect/Source/EmbeddedComponentManager\u002BAppearance.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"776d6de61d0d7cd3cf4ed8a9a947ac8c3653c5434cce7da10b4ef7f3b65c9b02"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerNoAccountEligibleErrorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f710e86457ed0f564b29d2e35a729f91c48edb8e6ae77d19e2c3303eca867006"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/CardUtils/CreditCardUtils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f4de4c8bc38bdebdacc8adcb00ae0e7b152702fdd434200ccb024fdc976cee"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/OcrMainLoop.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1018206e556e48a873c28077476f19a2de76c6717b76f9bca86bca772d466d83"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea48500bf163a58e9b389ef301e66fc393462314b8b82651e5d25d4cc24a489c"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DebugView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"867f70c256d9cf23dbd1fa0150a4419eaa72a2e22ae234115ee95c4d045cc0b4"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/GenericInfoScreen/GenericInfoBodyView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d189284e01e2dc08de486f77e121b8df781170161dcfaabcc4829cdd48a86e6"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/DataAccessNoticeViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f32b5f5a1898dbe3b3f24414412e05bc8682b8a098cc0d08c4bfef51bcf6d5d"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Error/ErrorViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05f3f88d0684932fa91e2d7e7408abb4b141ca31173b44ca2fd5d0d5adad7df"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerBodyView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b054df806ba43ab88ab1836d23c137774bbe9006b3cab6acba66bec3c9293a"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8facf3fdab91f45bfbeefd46ad8551e106d286fd81fd4a7b6b12db849841512"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/STPAddress.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc40150da66f9d9dfb35c7d6e78c791fbf7309e17bf9e19ee89455c50e8eacb0"}},{"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":"fastlane/SnapshotHelper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d5cb5a8d4d5a24dadb08215eb18d8a56b24ed344101b48322377e210ab0f79"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionSearchBar.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139017246f35dc958889e2b14aa0857165d9e0dd7af1365f49a513ab26d617cc"}},{"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":"StripeConnect/StripeConnect/Source/Internal/Analytics/ComponentAnalyticsClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d55c56271d258dead99178400c0c9d13bf31f0177f57e44f5302e1698e5f117"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/Image\u002Butils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e735e882c6a2c32f649dc023fed4eea41bb1a4ba1edd1593e09aa2fbb331a20"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PrepaneViews.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92057978e60c10df3c17d24e9ee1cda46e8ba5903179b02023eb71f53bc18b56"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/IDDetector/IDDetectorOutput.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65478051e2bcd7908de8a866fe38f9ed05a13b8dbb8fab8cf4b94cb47c570855"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryFormView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c49aa5ea8ba9eb7c90b1b39f5d1003edc2edf732278fad8df0d82dc0036628"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AttributedTextView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25006b2d475f86d196114ea982854f017b9c27384f31bf452cd876383c5069fa"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageScanningSession/ImageScanningSessionDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"690eb6d6b977364cb07039d5de5602bc3b961c5b1c734ffd0ecc43905c7013ee"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageUploaders/IdentityImageUploader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4863ba6d067ee7a040d78e16cef2867988ff7983227daeedc575ff9945de69"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PostDetectionAlgorithm.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4b17fd21a6a0a828e0f91330dde43a943d748adc9e17de7cc271eb4ca0a1b5"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cecdbb98c6dff4c7670697fbe989b6f1d360836666311fc47adc0be989996c0"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/PhoneTextField.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee10dd46320061530f5dd280112eef55381b5033e3e4b63874352bf6a8299172"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/Extensions/UIImage\u002BpixelBuffer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb9463ca26103a2313f3064d31216ab8b075259325292f9b614bbea6c852e01"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/VideoFeed.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fa0128696b699055c739e6aab7424f6fd37457874f4f5ef32b56b9684abdbf"}},{"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":"StripePayments/StripePayments/Source/Internal/Analytics/STPAnalyticsClient\u002BPayments.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d4a8ef06ffc027d96238b780d93ae8127d973859060a29e6ee448ca2aa6850"}},{"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":"StripeIdentity/StripeIdentity/Source/Categories/NSAttributedString\u002BHTML.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f6c7a318937d35cecd059fed94e08dc41b58b1c32765498c4ac3fb531ab0d6"}},{"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":"StripeIdentity/StripeIdentity/Source/WebWrapper/VerificationFlowWebViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67672aff2761d57f600e569a6ff0afdf9e1a288ef79ffcf74e94d3697fd96ca1"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/VerifyCardAddViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d910b3097d68118449da318a3b7102c7a1b05b8bf03386b1c6308a6e81b379c6"}},{"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":"StripePayments/StripePayments/Source/Helpers/STPBlocks.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c8e43a6fe91a06971df3a23fbbd5c5cb18b9255ccd35353eb9f89e334be88"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/ErrorViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea2c33ea945cc259f1f9d39ed5e4e16744b28f831082d84bcf9104f58342163"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/LinkSignupFormView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc82309a37a31808ee4c3897ef2d6984bd83d14cda767a22e0e69ee841ddd10"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/CardScanFraudData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac62df8ee8ce564955e8d00106756cb042216fa57169a1d26ff6fcc3d41a408d"}},{"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":"StripeCore/StripeCore/Source/Categories/UIImage\u002BStripeCore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6862c8ef30af6d2af2987c6372ea8b482a431f70aa56c283303c3ab3f82c5ec5"}},{"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":"StripeUICore/StripeUICore/Source/Controls/ActivityIndicator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb945f2dcff660040dbfc56d29d13a8c8c13993bec08fad0cc79e6b22fe1bd9"}},{"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":"StripeConnect/StripeConnect/Source/Helpers/Appearance\u002BEncoding.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9a7a41be16bc4dc3479465035e53d5deee14a08c6acc3606b9650ef825a26"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ML/Helpers/NonMaxSuppression.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bfbde3bf4f7b291ad811471eeae6d9b3fdea4b7aac5478e569f81be9415d64"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageScanner/DocumentScanner/DocumentScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a6fc34a77803ba0d66b24e0c171c19780be21bd4c98c2c28cf690f5e1a3d8"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/ListView/ListItemView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed1e952345a72a878a8619e6a0cebc4134ff775653c40522a67ec02fd0706f1"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/HeaderIconView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7652e1b21b9fb38ed118ee357d7a5ecd6a409ae2e55f9b6be7132107d80e6c5"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodUSBankAccount.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a780a284a0dbb787e8bf4881c306d6d5807484af7d02a004b74c780d5626a5a"}},{"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":"StripeIdentity/StripeIdentity/Source/Elements/IndividualFormElement.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f081f2badae26bc0fe50472cc285335c4adc01fe99365b8e74d42a0ebedfe8b"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DocumentCapture/DocumentScanningView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b3be2cd5583aacff937ade9f1f287dc2e34d49a866957860037ca15322ba0b"}},{"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":"StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a6c7a73b473cf880a5e7e86a653d3c4c3430fd44fbf03eb79ba317c59e4c6c"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ML/Helpers/MLModelLoader.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ea6a7ece6d9ec1f01de27228a890d7234c2520b6f102bef122e8c8b107423"}},{"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":"StripeIdentity/StripeIdentity/Source/Elements/IdentityElementsFactory.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc904373d801f708c1007aa761ec0acc3d9aa4929f9c38ba45e24e77e20a4c5"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/PhoneCountryCodeSelectorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"685ae15c5c5cec2d80b47224a0211da6182ff29b06e61e9cb9d8e74ba48c30eb"}},{"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":"StripeCameraCore/StripeCameraCore/Source/Coordinators/MockSimulatorCameraSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8388dce6093e2bc8b06e2d01fbca8bcb1d035a43549c79694360d44c05531bfb"}},{"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":"StripeUICore/StripeUICore/Source/Controls/OneTimeCodeTextField-TextStorage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee74822b151fe91d137139aa3648246f9d9846247ab26c6d05f7928b0ab54360"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/FaceDetector/FaceDetectorOutput.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c1ffaa3e1976d6b47337c7d1c9108a979cb83a1d6466453afc268debd5c349"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/Models/FinancialConnectionsAccount.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69009831af9061a89ab50fdc0fe7f8b8f2607851e38d654da296e96578f024d"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerAccountLoadErrorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb144547230f7e0c87f45f9df449e3902a3d227cee110df7f6e85082de9356"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/Models/FinancialConnectionsSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce21b0bf391ce9f79c3e7a9f7c809fab0f5d2a453fdf0c89e9cfb616d33c7809"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/EmailTextField.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f991647684ef35ed48778f459f9d7d448f2b10b4d03f91b63f49290eada8a1f1"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/OcrDDUtils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37758585df6d00f53eb8e3d21da1280b31f2e3ef5c30d8fe782cc148b0ef3bf"}},{"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":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPImageLibrary.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73bf9b97bda2166c5721eed4d45e897b637f912a9fa1bade0028965aba65a8b"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/SSDOcrDetect.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00006c95238f914f7c63c3181d0152452c7799d3fcd2bb22d4540083feae5641"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/FinancialConnectionsFont.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b82ba7e3280f0ac1bbcb28dbfe37431fba5b8faf5357cb06eb486006d828a"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d9e42f1bce0ecfafddff9e5110930264af2deeb260918ab389a121804b6ca"}},{"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":"StripeConnect/StripeConnect/Source/Components/CheckScanningController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4d12ad9ce773a94debaead02f4a67d503be0f3d6b87aaeac77c39e8053c92c"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7555458b6eef227bd79c986a2e8e4d335a6675363c28c34be868f1b9d6f5de7a"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/CardImageVerificationController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cf0c0085c5751af041bee041844b0c7a7935b3217b93fb9b22277333783f01"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/PhoneCountryCodePickerView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3259b79b924db87dd7248b5332d9aff7ca2be6a39bb220f5419c9a246c12171e"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/OcrPriorsGen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cd7218596f0ef5858524e11cc6c725bab4762d027b1a9897f93caa458c27d4"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/AuthenticationSessionManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"751f7b37401d659333b5343818e6a52cba7894a38b1ba5a2a7f4268c4e987efa"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/SSDOcrOutputExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed77208d947a7b476f17c23992708de58392add28018b6f467ba914f36f80ab3"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/ZoomedInCGImage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5a5f22bda639ab24bad68199fb742adef9206d511ba53f720f2267dabd29e1"}},{"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":"ci_scripts/pod_tools.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f47dd46407b3491165ed71ec9c6904622b8ac8a574a54e1e2c51a389bc8c9"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ACH/InstantDebitsOnlyFinancialConnectionsAuthManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a09b8e304dbb927731655d42acfee9d918d3c986d2ea3d313f7c434d6c387a"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/ScanAnalyticsManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"614f00f943a1773165e48c6ce86911c655a036968c2ccfdd843d5f3f8e3ace87"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityHTMLView/HTMLTextView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9032d5df2b29b379f4479e07ae236154fe7f75ca3a3f86477d3e6b6c3c74d58"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/PhoneOtpView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65d4874e67b29441e2b2b3ff978aa27f9fcc716fe747c809a70298ad59aebd3"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/PhoneOtpViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce7265744ed31186d85d884a56590705364c4ae6675797a3008c1a82c54cabc"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/PartnerAuth/PrepaneImageView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7b8e21b3d67f2dfc291ac07a82a7aafde494f3663c1f0a14be629255f4015c"}},{"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":"StripeIdentity/StripeIdentity/Source/API Bindings/Models/VerificationPageDataUpdate/VerificationPageCollectedData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ec044f674a7ba45a31d292ac4da3c01f7548f12902999e86b33df056e874e2"}},{"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":"Testers/IntegrationTester/Common/IntegrationMethods.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb491dd2d183038e156fafe9766a56142401442fe616891707fbd86189a430"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentBodyView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8a641c14e3b38ef272a4863b10421a2fda32cf9473bc1093a6e8fe3e66dc90"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkSignupPane/NetworkingLinkSignupBodyView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff3bdd94d6b6565ccb19b7e9d44ce4024684432ca9fff05caf139276060082f"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionCellView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8bf773cdd4a2881bff794931217b55097f6321522ca9dd50109ddcdeea9f4e"}},{"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":"StripeCameraCore/StripeCameraCoreTestUtils/Mocks/MockTestCameraSession.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3f306077d0230912fd55fb86decb763fd78b5289f30b0e0cd22c3c89ac54d9"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/CompleteOptionView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f973849a7fcd738a701e13cac2c8854e7630e5df8299cdea9de0954c632500f"}},{"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":"StripeCore/StripeCore/Source/Helpers/URLEncoder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31368cbd88ec1f38e041cf06cce75e16a37a777484ff61014fb96f50ad62325"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/CardImageVerificationSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf1dbb7d49615cc55a531ab32d729b169678c6b6aaf3ff9ae16eaa31615fda2"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AuthFlowHelpers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137e7ade4726d0a6318d293cfbeea3573659c34a93b1c1b6828147914d4df1f"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionTableLoadingView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e66cad3a6f429c48494a47aebb7ff583c8852203cc48fd2fccc5d4d7d2c3e2"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/ManualEntry/ManualEntryValidator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6acc010250283e5d51b6f143464c744f75941be7767f13f4e282a76c9527de"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/ScannedCardImageData\u002BVerification.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e66e29e0582d5079d94c469e5b91a453349b3c2f30f5e045687560e4d573920"}},{"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":"StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/SetCollectMobileFinancialConnectionsResultSender.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa19f7a82021956316d3bbc6162f5dd27235c7b4dbc000c06945d4851d1ffd"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DocumentCapture/AnimatedBorderView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b94f869c2c4a05a4e7bfb596500fc65b4a2c7038072c3ada6eb4678d31f0cd"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionNoResultsView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"960d897dfbe534e85946b16e8505f75b34763a26440d3f56b7030b418a726be7"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodAddress.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bba8a8c05ea536aa556051336029725629a4ed1200609c0e2d74f9500b0aad"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerSelectionListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345e7db68b88bb3decd79422e3972f8e73e1b2c98ecbfcc2f5cc7a937859b969"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AccountNumberRetrievalErrorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f387cac61ba89d2497940e8a6754656b3b4a8c44b9cf96a7cfa259879dc537"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/IdentityHTMLView/IconLabelHTMLView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6030ea5dd3369910f705ec247a367436c8158e524f78c33be8f65e1c0eaccafb"}},{"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":"Stripe/StripeiOS/Source/STPApplePayContextDelegate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d711ec6c868e0ede9eddcb43a43e2d6af5eb7f991e8c167394b19bec5ad3653"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/BottomAlignedLabel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7937ecf8b47b00c154f895d4ad1ed67119c0f42690e7a116ce08fced9f9e45c5"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentFooterView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a600efd5ce3381d9bee8862d1f25bdc2805fdb0ede441cb5977f89f8f2a958"}},{"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":"StripeUICore/StripeUICore/Source/Categories/UIStackView\u002BStripeUICore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbe66ce187f95fa3350149b24d95ce61e5679e26d347b4b2b9d049b1c063583"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodCardParams.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a1559f306cde153a09b367a1953a6b5580beb5b9aeceb59fbc3c72e1f39686"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/String\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86e3e479894e92d5dd809f35d2a77a90ace2276f65e4aaf8fcc9584891e9f74"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/IdentityFlowNavigationController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aa6a0e45b4cdbeecb604e4675e706c4119de59e1eb78860c2c4b82e5067328"}},{"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":"StripeUICore/StripeUICore/Source/Elements/Factories/IDNumberTextFieldConfiguration.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc1cb5139a1fde5c2991d201acde48e0b40e27a7d023ebf191205c56f77cea"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/GenericInfoScreen/GenericInfoViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"966e5b160c7dd967b0fd070df9254b5de935b2ada5ffc7cdcf5e65ffdfe0a4b9"}},{"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":"StripeIdentity/StripeIdentity/Source/Categories/CGImage\u002BStripeIdentity.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24320cab7b886c20afa0e81348b296a071454d5829cdb7e6b673be9bd78056a"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerHelpers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e5c83370b65a0ef7b8822eeb766511a81aa3951210b6cbd3a3f1c0cbf8b75e"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageScanner/DocumentScanner/DocumentScannerOutput.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf5d01e0ac42bea557d68934c8dfaa7f531e665585319b244f0cd1ffd5b1795"}},{"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":"StripeCameraCore/StripeCameraCore/Source/Categories/UIImage\u002BBuffer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d8bf90f6a0ee5bd32d0156bb0e0324b9edbce47e0d811c5774af3c4e24e8d5"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/VisionBasedDetector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"351e368aab6dd487bf74d68266c0b4f7b0d5d6941622000652c9e1951a7cb5e9"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/LaplacianBlurDetector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426bdc15149ff387bed0d4a2239307f38d25e7b58c934d452fbb60c5adab818"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/UxAnalyzer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b39f6f8cb872d9ed5019a715ba0e86a10e414fe10415a740191e45599b43527"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionAlipayHandleRedirect.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d920c8a4ce50428e1000a225dd8f6d22672b23981b3e9000aad7e48d32ed675b"}},{"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":"StripeCore/StripeCore/Source/Localization/STPLocalizationUtils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31f9f70a547e783f1e1c4f43a0374ebb574bf79ab40c2bb51de503ddfb3ebb0"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/ActiveStateComputation.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed3d5aacbcbf2a5eba69cf550e1ed59092fd6b990c32ec6ed11c51784361a47"}},{"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":"Testers/IntegrationTester/IntegrationTester/Source/Models/ApplePayModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81eb75de574eb67cb73040fcc5b901349a66732331f9c90a251be643d926c9c"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/ListView/ListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a63f0c269163eb54e571805f56b7324a227ebc6c3b55f949db111eb0d40cfd"}},{"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":"StripeUICore/StripeUICore/Source/Elements/TextField/TextFieldFormatter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc0c4e126bbea9196e36f6109eb5dc6347841c54b9002ecf3ad5dce0de0c421"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/CountryNotListedViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a197a21c0fcd503a50148b967eab44910dd7a488530c0550658fe434fc0cf5c9"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AttributedLabel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fd15b80ba1bbaf7573f06d26d90e5953e61bd733a6bdca3d30c30cb20c9e2e"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/IdentityUI.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"082ff1a3e9cfe489bb4b78bbdf50fe311ea43ab186e365ee9cc67160777bfae3"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/Models/FinancialConnectionsGenericInfoScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e162e93bf7d0e11ad9ed46a29f0e14ea7c469706a9885154ab3fe5b970f37402"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/Api/STPAPIClient\u002BCardImageVerification.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc4be1cd14b475392def51cfbdea2207ddf85a40924d0f0764a063aab9bc386"}},{"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":"StripePaymentsUI/StripePaymentsUI/Source/Helpers/STPStringUtils.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee59d99e503e31ffade59ba0d796c57435d0fbce7c2755e11b15155d5e49bdb"}},{"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":"Testers/IntegrationTester/IntegrationTester/Source/Models/BackendModel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae62fd4f3f3dc2901ccd0f7c64f125a2f2d38d1b6affa46bcbf30f27bde2ca48"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/PreviewView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c014a935e7f04fa24677a399d095ab94ae19043a930701041029f75b7bfdf0a"}},{"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":"Testers/IntegrationTester/IntegrationTester/Source/HelperViews/PaymentButton.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c123e9a5707561fe4f84ec77346bd74a823026fedb681bc4bc7ea4e1f47295ec"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/AccountPickerRowLabelView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4699762c10c594b0cc1f28d01c09a82ebeb8d2ad4cf6dc2d1a8a032ef0976a6b"}},{"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":"ci_scripts/objc_bridging_checker.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f075ee1b6151383a0c4db246b38890a4f2705af011c4b4a5aa2782f412814d4d"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Basic UI/SeparatorLabel.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"632ec961134270f3901d102baea69d04ffdccc4d3f181a1700d51062b410b056"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/MainLoopStateMachine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab34b2288d4d8c5f810d4ed5b501c203ab4e05c8c466118a1810ff4f3b75b3bb"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/LinkAccountPicker/LinkAccountPickerFooterView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96948cd6f01fbc271dacd76c7e02994f755b41b2e87b29becbd6574a70bf850f"}},{"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":"ci_scripts/generate_objc_enum_string_values.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d818a70adf71a57e218783e1915c63560d41bef180a0b8f2e1c0c25998380fd"}},{"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":"StripeIdentity/StripeIdentity/Source/Categories/VNBarcodeSymbology\u002BStripeIdentity.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe04fcb6c3fc1a2b8edb45d9b7b5f1feda5390680762a46ecb144158392f13a1"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae98583aa62c625e68cfa45d3fbc7d69f972adc1b7ed680fc105dfc63d7a481f"}},{"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":"Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4334a4c49edc15d984925abdb877bdcaccd11ebec381a34a0ce1972269f045d"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/Card Image Verification/ScannedCardImageData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcc00fc5b36163b591a2539c9cc67577190512a1ad8d81742ce913f4dcd0b16"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/ErrorCorrection.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0527b3941407edb5615a594c7edb83f9101a6dc939450c6bcef07f2650743b2c"}},{"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":"StripeConnect/StripeConnect/Source/Internal/AuthenticatedWebView/AuthenticatedWebViewManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56425ec241fd5d6a3c844b21d57d03aaf8f4d73971375369bd8d85cfd837126"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DocumentWarmupView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef055180a8829304118eede889f3f177e12e00f0cddeb038e5f3e93801acd460"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupBodyView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fba8ff41be4150361ae7fc9f6f22637177b89252ca0375bc72d5b348971d0d1"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/IndividualViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a668f71b5caaa63bc98bf2cef34bfb0d333690a70a20093da3c12a753057014a"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/Selfie/SelfieCaptureView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e41ffc1f8165e9a2afd8183b4bf83b086ad4a376e8dc0b953986499ca4031f"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/BarcodeDetector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa75870dd0a0931b174888b7fc8a5ca10e218c2a265a72891fa72db9a8701ae"}},{"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":"StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/Helpers/OnSetterFunctionCalledMessageHandler.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c173bbcc18cec422dbbc45aba95c376f8441d1953a44a519d3aae8b7b14e5e73"}},{"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":"StripeConnect/StripeConnect/Source/Internal/Webview/SupplementalFunctions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fafdf48c5d1534e321a12318cda2eb6f578ac9cc5c55e83b0acbdb965431b87"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Extensions/FormElement\u002BLink.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608b87da346df45855c30c94c432c2aab3c01d1d1e18a6594d9f242495b86dab"}},{"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":"StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyFraudData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b592ada7b33dd3681c98609153bbc8296bd80616ee5b5e10ad2c9451132037bc"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/MotionBlurDetector.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beacdc835386277da1548ef49d734b759da64267a3c0f156cf5945eb49f6d03"}},{"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":"StripeIdentity/StripeIdentity/Source/API Bindings/DocumentUploader\u002BAPI.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63794816daed8163b54a5fde360eb9a71749b5cf58224fe1c41a687d05798eca"}},{"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":"StripeIdentity/StripeIdentity/Source/Elements/IdNumberElement.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"004bdf68d85668e4315a379843a544b696a29c611fbe844f3c4f919223b09865"}},{"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":"StripeIdentity/StripeIdentity/Source/VerificationSheetAnalytics.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c1fc16c99aa896f7d79191a4264202a6414afb6160d0d6a4c428ed550eed51"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowControllerError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268eb1c95af04656030bb0d629955aa6acbfde0859f19c5e5d0b52dd19c8dff"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/Types/STPPaymentMethodUSBankAccountParams.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71cd29e058b3e67fea36fee145d4da110f0516d8b434d1a77371118b8fa9f75"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Common/LoadingView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"134c86411fc1f999af122b000dab466b08936558b62473171d7843ec91ba4a24"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/ErrorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32ff3ba53e6b432825a781733a657d92be3ac668962ed7be3f6c4d6685c6b01"}},{"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":"Testers/IntegrationTester/IntegrationTester/Source/Views/SEPADebitView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5382259f9b5ccb4261620a287c419749f8f8a70c981cf61c635525812cce9956"}},{"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":"StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPCardFormView\u002BSwiftUI.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"039508583ae7db93d1cb43949c530b7fe05df35f8b4f22a7dbd8467b64383819"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/IndividualWelcomeViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78be5a801a1199681e81e27cad045e09af79c8afb25fd516843cae8e7c2dbcd3"}},{"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":"StripePayments/StripePayments/Source/API Bindings/Models/Shared/STPIntentActionVerifyWithMicrodeposits.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"208ebf547333f65eaedbcb8299e5949c679bf466accfecd6a0753e2fdd7bc4e2"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/CardScanSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84dd4c65844dcdfe9c9c37004964e71bcd2ae3b4b9608dc5f47c476fb91f5a6"}},{"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":"StripeCameraCore/StripeCameraCore/Source/Coordinators/CameraPermissionsManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43489a1eb5181b658ab266e7cb70cd9a158af8f6e937c00f5cdfc3409a6515ce"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Helpers/NSAttributedString\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c214d96a061b38dfe2c11e0ad6270f636070afb7f85b1752a7d5d9c4c6307fda"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/InstitutionPicker/InstitutionDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ccec42ffaea42b01d5c8c876884f98e5eb5b5216027f44d21e004fb0ef7ad9"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/UI/CornerView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea10573dc671b972f63cfab7a13de23562a462d02559af0ffa7db89b94ddd9e"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/InstructionListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea00ea772344e0431e87d0a0233cb08781a761549aa6c1b2b0ccf3f5b6032a8"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/LoadingViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe7f3ed7c18f3e65c2002d493aa8f085ddec212d64e6fca4b915030c399f78f"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/AppleOcr/AppleOcr.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08226d8e5f01fdd89d52142f7db3e19210efc744067b50412a20b62f750a4e36"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Views/DocumentCapture/InstructionalDocumentScanningView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"874fb77c1076ea6bd6c927c220d65caf61232a4cdc3a0e509bef3bfb4e83e37d"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DebugViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0a93f2468a5220683594c0980e90485473a38d4c887a194165fd1ec9fd34e0"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/ConsumerSession\u002BLookupResponse.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fcb4ddf236dedf5c78bba633e4b5ca9eb372ff5c7813422d65ea750744f33b"}},{"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":"StripeIdentity/StripeIdentity/Source/NativeComponents/Detectors/MLDetectorMetricsTracker.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da499b2690ce797945c11379f134738711cd548602b263e52dc5204c5284e001"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/RetrieveAccountsLoadingView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ba5c66392b3a75dda1bb9730b7a240c3090ec5a63e7a66c83f66cfe3aed452"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/UIImageView\u002BExtensions.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97661216624d18efd93a902ad97238890d9fcce2d7e4db37f2ee62e3f0e56f69"}},{"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":"StripeCameraCore/StripeCameraCore/Source/Categories/CGRect\u002BStripeCameraCore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea0a1548d86799abd5e3429c289e8a2de6a08af34935a5614df8842dc021821"}},{"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":"Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbc835d542838361501eefa2f61a1376aa70e29e056fb5126bb09afc1a25e16"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/ContinueStateView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"131849c7b7e732a6841bb70b9aa78737decaaf5f7f72a834734fa6595089028d"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/VO/CardExpiryDate.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1e836ddb29921411a58a0fdd585f97fcec912e8807595dbc04995a8a329196"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/PredictionResult.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9ccb37fd329cf9e56967126cd0cea122544ad840ca16c1a9a924239826b781"}},{"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":"StripeCore/StripeCore/Source/Helpers/BundleLocatorProtocol.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef804c5800183977a9c8b5a42f51784e84bd99e93f1659f96cf5803cbb96897c"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/TerminalError/TerminalErrorView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d947edd0474a5e974dbd9c2860006709b1488c82e5dc61fbd296197352b164f4"}},{"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":"StripeConnect/StripeConnect/Source/Internal/Webview/WebViewErrorScreen.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abf8e7c42499ab3ee176814b5d57377dd9e52044783bdef9cc3e68b26e6ea41"}},{"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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AttachLinkedPaymentAccountDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed1ced8f792265d07fbd4005ba5805753028a0e0d9d9a16bc5a53d92cd3ec26"}},{"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":"StripeConnect/StripeConnect/Source/CustomFontSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f178d2994bb56c46c31f11d3a308a50eda6038a5251099af7214979e59459c72"}},{"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":"StripeCardScan/StripeCardScan/Source/CardScan/MLRuntime/SoftNMS.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e840eb7d2941317b43611f91929638bdbf0f2885422a87ce1007a4947c3334"}},{"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":"StripeIdentity/StripeIdentity/Source/API Bindings/Models/VerificationPageDataUpdate/VerificationPageDataDocumentFileData.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6543422f1574fe6701387604877dac9494a2b5e2d1cd53c8b824a2bdba7d43"}},{"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":"StripeCore/StripeCore/Source/Helpers/PaymentsSDKVariant.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375cc07a5782018cc01f74783c696931821c7babbeec3f8fac97355b3331aca3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DocumentScanner.swift \u2194 DocumentCaptureViewController.swift: \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageScanner/DocumentScanner/DocumentScanner.swift\u0060 and \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController.swift\u0060 change together 80% of the time (16 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 16 shared commits counted here, the most recent 3 are \u0060c8d7c3d0\u0060 Remove CaptureCore dependency (#3702); \u006049cf867d\u0060 [Identity] Add blur detector for document scanner (#2873); \u0060d5b7e12c\u0060 Log analytics to track image scanning performance (#1250) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/ImageScanner/DocumentScanner/DocumentScanner.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae540a3a12f6101d04716706ad810b96f2ee87308a0ea3b4cc9c7783c4e71f55"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: STPPaymentIntent.swift \u2194 STPSetupIntent.swift: \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift\u0060 and \u0060StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.swift\u0060 change together 80% of the time (12 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 12 shared commits counted here, the most recent 3 are \u0060e3ceaf35\u0060 Fix more NSNumber? to Bool? in API Bindings (#5771); \u0060b3a233e0\u0060 Replace optional NSNumber with Bool (#4735); \u0060ceaca9de\u0060 Revert \u0022Bindings and update CS \u0026 PS to get SPMS from elements/session\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bbaa0f3d43d6dc853434301e12f7e2def71565a8aab4ad6c097e78567fdc58"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: STPPaymentIntentConfirmParams.swift \u2194 STPSetupIntentConfirmParams.swift: \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift\u0060 and \u0060StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntentConfirmParams.swift\u0060 change together 74% of the time (14 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 14 shared commits counted here, the most recent 3 are \u006079686d93\u0060 Add Kakao Pay API bindings (#7052); \u006038a76509\u0060 Add Korean cards API bindings (#7053); \u00608e9fd1d8\u0060 Add Naver Pay API bindings (#7051) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntentConfirmParams.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc41c6e43fad720cc14e2b6364c0331a444e5e8a8bf4f7c386dff1db4b7891e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: HostViewController.swift \u2192 FinancialConnectionsSheet.swift, NativeFlowController.swift, FinancialConnectionsWebFlowViewController.swift: \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Common/HostViewController.swift\u0060 changes together with 3 other files \u2014 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/FinancialConnectionsSheet.swift\u0060, \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift\u0060, \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Common/HostViewController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0036011cbfc586c60b6cee092dcfaf64a10d202acb571e8e234800b71aa2175d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: STPPaymentMethodParams.swift \u2194 STPPaymentHandler.swift: \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift\u0060 and \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift\u0060 change together 65% of the time (30 of the 46 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 30 shared commits counted here, the most recent 3 are \u0060923bbeb3\u0060 Add the Stripe balance payment method type (#7639); \u00602d72f6b4\u0060 Add Scalapay API bindings (#7124); \u006079686d93\u0060 Add Kakao Pay API bindings (#7052) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethodParams.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62059a6cbe666f7321475cd52f1bd47bf48bf586c306fcd859b0f18a7d20be8d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FinancialConnectionsSheet.swift \u2194 FinancialConnectionsSessionFetcher.swift: \u0060StripeFinancialConnections/StripeFinancialConnections/Source/FinancialConnectionsSheet.swift\u0060 and \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsSessionFetcher.swift\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u0060f13aff64\u0060 [BANKCON-11476] Refactor FinancialConnectionsAPIClient to support usi\u2026; \u00609c97eab2\u0060 Renames Host View Controller (#1156); \u0060514d3455\u0060 Adds FinancialConnections iOS docs (#1056) (at that commit the file was still \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Host/FinancialConnectionsSessionFetcher.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/FinancialConnectionsSheet.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c32cc0c732a9b1ef6ee0df30b27c3f491559b084a79c587df920256c5f3d02a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StripeServiceError.swift \u2194 STPError.swift: \u0060StripeCore/StripeCore/Source/API Bindings/StripeServiceError.swift\u0060 and \u0060StripeCore/StripeCore/Source/Helpers/STPError.swift\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u0060211f966f\u0060 CS \u2014\u00A0add generic fallback text when server error messages are missing\u2026; \u0060554b579f\u0060 CS \u2014\u00A0implement private preview error handling (#7408); \u006056e65857\u0060 Include request IDs in live-mode API error descriptions (#7404) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCore/StripeCore/Source/API Bindings/StripeServiceError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37617159c7485d34f55e24e1b6da7330b3dbbc10f07e3d07e75942d8e43d1e3e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PaymentSheetFormFactory\u002BCard.swift \u2194 PaymentSheetFormFactoryConfig.swift: \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BCard.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactoryConfig.swift\u0060 change together 61% of the time (14 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 14 shared commits counted here, the most recent 3 are \u0060ea332fb3\u0060 Require flag for funding filter (#5895); \u0060df72a2a2\u0060 Filtering funding type in card field (#5880); \u0060a47b7642\u0060 opensCardScannerAutomatically implementation (#5431) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetFormFactory/PaymentSheetFormFactory\u002BCard.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccea4348c6a2c9518adfc3c5d7b908299cf69eaa9ae9badb98169e9c73f73042"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CryptoOnrampCoordinator.swift \u2194 STPAPIClient\u002BCryptoOnramp.swift: \u0060StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift\u0060 and \u0060StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/API Bindings/STPAPIClient\u002BCryptoOnramp.swift\u0060 change together 59% of the time (13 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 13 shared commits counted here, the most recent 3 are \u00609b60765a\u0060 Thread a country hint through crypto onramp platform settings and pay\u2026; \u006082f6ebd5\u0060 Allow crypto onramp Apple Pay before Link authentication (#7183); \u0060eec2c28b\u0060 CryptoOnramp SDK: Swapped Terms and Conditions \u002B Terms of Service (#7\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Components/CryptoOnrampCoordinator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"201616d77a8f72153cba8e175e2672526fdee1f8a2c6c0bcacf94e80386623c7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: STPPaymentMethod.swift \u2194 STPPaymentHandler.swift: \u0060StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethod.swift\u0060 and \u0060StripePayments/StripePayments/Source/PaymentHandler/STPPaymentHandler.swift\u0060 change together 55% of the time (23 of the 42 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 23 shared commits counted here, the most recent 3 are \u00602d72f6b4\u0060 Add Scalapay API bindings (#7124); \u006079686d93\u0060 Add Kakao Pay API bindings (#7052); \u00609e45cce1\u0060 Add SeQura API bindings (#7070) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/API Bindings/Models/PaymentMethods/STPPaymentMethod.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f622b701a7e9c3d9a9e648a5f77042147b42a9cddfee0e19436aaf44549911"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: NetworkingLinkVerificationDataSource.swift, NetworkingSaveToLinkVerificationDataSource.swift, NetworkingOTPView.swift: 3 files \u2014 \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationDataSource.swift\u0060, \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingSaveToLinkVerification/NetworkingSaveToLinkVerificationDataSource.swift\u0060, \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/NetworkingOTPView/NetworkingOTPView.swift\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkVerification/NetworkingLinkVerificationDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2564db9ea25a968b19c34c68f94622f26e9857514aa47655ca138a38016066df"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CustomerSheetDataSource.swift \u2194 PaymentSheetLoader.swift: \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheetDataSource.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheetLoader.swift\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060b9ef40c4\u0060 [Customer Refactor] Authenticate Elements Sessions through the custom\u2026; \u00607dcc2002\u0060 Make API calls to internal endpoint to set defaults (#4588); \u0060171edb3d\u0060 Read the default_payment_method field from elements session and use t\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheetDataSource.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80528e627e43503b64d790487659c1b5f6516b2d3327746a280f75b347f3e4d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FinancialConnectionsAsyncAPIClient.swift \u2194 NativeFlowController.swift: \u0060StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift\u0060 and \u0060StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u006073c091ba\u0060 Add generic error pane for FC SDK (#6900); \u0060a6405f19\u0060 [link] Refactor FC link brand resolution (#6489); \u00603a8f641f\u0060 Add client_attribution_metadata to payment details and adjust for Lin\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca794d46a7a0dc86c06276f3d70534c6662e370a391f40d63961da57e16e9fa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: PayWithLinkController.swift \u2194 PayWithNativeLinkController.swift: \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithNativeLinkController.swift\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 8 shared commits counted here, the most recent 3 are \u0060c5d12f59\u0060 Set Checkout\u0027s payment_user_agent with the confirming Checkout Elemen\u2026; \u00603a5d9b8e\u0060 [Native sheets] Enable native sheets for FlowController and Embedded \u2026; \u0060f4d8cc5c\u0060 PS MainActor Isolate Link coordinators (#6950) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Link/PayWithLinkController.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791049d036f47b50825f194a1541a5b6ff31f263f0a9bb31b698c2934aabdc8a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CustomerSheet\u002BAPI.swift \u2194 PaymentSheet\u002BAPI.swift: \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheet\u002BAPI.swift\u0060 and \u0060StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentSheet\u002BAPI.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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060dc3f8c99\u0060 Only attach tokens for card pms (#5846); \u00600097be55\u0060 [v25] Async everywhere pt 2.1 - STPPaymentHandler (#5293); \u00607399be71\u0060 Send top-level in addition to under payment_method_data or payment_me\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSheet\u002BAPI.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93523616e210cd3322732420b875b70f58551abb61f0d811bac4447543336800"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: IdentityAPIClient.swift \u2194 VerificationSheetFlowController.swift: \u0060StripeIdentity/StripeIdentity/Source/API Bindings/IdentityAPIClient.swift\u0060 and \u0060StripeIdentity/StripeIdentity/Source/NativeComponents/Coordinators/VerificationSheetFlowController.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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060b4ed817d\u0060 [Identity] Implementing \u0060is_stripe\u0060 and \u0060skip_success_page\u0060 functiona\u2026; \u0060179cbba4\u0060 [Identity] Support phone number collection; \u00609b8696ad\u0060 [Identity] Image upload analytic (#1271) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeIdentity/StripeIdentity/Source/API Bindings/IdentityAPIClient.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c383c0c74865fbaf2c759fd90f751e54b0a66ed613f9f2c4f836701d658004"}},{"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":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".jazzy/theme/templates/task.mustache"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b13abcde68a1086f1d37ba907d6f6cd471f2b0ac3e1aa9e414fc98efc24eb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Stripe3DS2/Stripe3DS2DemoUI/Resources/acs_challenge.html"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e47351912c1c3da1d8ac3dd8ceee56afd0506b4bfe71aa5d9505eee15c4372c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".jazzy/theme/templates/doc.mustache"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e85d73663e70358e4fce193dfc20a569156950a584de4c3d3b40caad37fb228"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h4: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".jazzy/theme/templates/doc.mustache"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae25a8ea9e404b5f84275b032edbb772fd4bab0a9a93e46d9db1d8a9f0d482b4"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Stripe3DS2/Stripe3DS2DemoUI/Resources/acs_challenge.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b6e0e99edcfd5ea0d2da8daa3a6fcd8a61d13cb782e9e4159ac851a8525dfe"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Stripe3DS2/Stripe3DS2DemoUI/Resources/acs_challenge.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c2cb84149321f9186bf3ca6cc237fdbbc91ac2f73e7fdf6a4e190e08ca9ad"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".jazzy/theme/templates/doc.mustache"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8c982bee0262f643dd67f87e66950424111d3a262af18756343bdbdee6d38d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.input-field\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Stripe3DS2/Stripe3DS2DemoUI/Resources/acs_challenge.html"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e326febbe8252f2d7d26429d71477712a14321ca2cfd0b13ddf4c5cacc07fef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.method-title\u0060 moves (\u0060transition: margin-left .3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stripe3ds2-support/doc/html/css/style.css"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf650b4b7a92d77e239f585ae25dcfeb9fef6b83aa1896078a90c3e43816ff7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.method-info\u0060 moves (\u0060transition: height .3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stripe3ds2-support/doc/html/css/style.css"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bd15fa3e4aa4d6656f6531ec384be63f0b5e557d93f3e566e104c98895cced"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.method-title\u0060 moves (\u0060transition: margin-left .3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stripe3ds2-support/doc/html/css/scss/_object.scss"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6d9a352f43d6c68885d40004a11738a02cefc50356ee3f8b0b7b09fbb1745f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.method-info\u0060 moves (\u0060transition: height .3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stripe3ds2-support/doc/html/css/scss/_object.scss"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"240a24d21813cf0e6055216d998e1da37f1d8aaf699906d1100cb38479633833"}},{"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":"M4","level":"note","message":{"text":"README/code drift: stripe3ds2-support/Pods/iOSSnapshotTestCase/README.md links to \u0060FBSnapshotTestCaseDemo/Scheme_FB_REFERENCE_IMAGE_DIR.png\u0060, but \u0060stripe3ds2-support/Pods/iOSSnapshotTestCase/FBSnapshotTestCaseDemo/Scheme_FB_REFERENCE_IMAGE_DIR.png\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"stripe3ds2-support/Pods/iOSSnapshotTestCase/README.md"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3c2663bf3503ed7a768598a1bea3db32d2b01503ad7206171db399e5ff63f8"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060StripeConnect~StripeConnect~Internal\u0060 is marked as implementation by its own namespace, folder or name: \u0060ConnectActivityIndicator\u0060 (StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift:14, \u0060Internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeConnect/StripeConnect/Source/Internal/ConnectActivityIndicator.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e0858e323787e26f76f3a2380d4a87c1a7f070bcc33c65b4b91df0da3bd7d3"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060StripeCryptoOnramp~StripeCryptoOnramp~Internal\u0060 is marked as implementation by its own namespace, folder or name: \u0060StripeCryptoOnrampBundleLocator\u0060 (StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/StripeCryptoOnrampBundleLocator.swift:11, \u0060Internal\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/StripeCryptoOnrampBundleLocator.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9273cf45e23519b5888415709bdd804ccc13b7ab758e40c62f34556f4a1ee8e2"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 5 public types in \u0060StripePaymentSheet~StripePaymentSheet~Internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060LinkPaymentMethodType\u0060 (StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/LinkPaymentMethodType.swift:13, \u0060Internal\u0060), \u0060LinkRequestSurface\u0060 (StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/LinkRequestSurface.swift:10, \u0060Internal\u0060), \u0060STPElementsSession\u0060 (StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/STPElementsSession.swift:13, \u0060Internal\u0060), \u0060VerifyKYCInfo\u0060 (StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCInfo.swift:11, \u0060Internal\u0060), \u0060VerifyKYCResult\u0060 (StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Verify KYC/VerifyKYCResult.swift:11, \u0060Internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/Link/LinkPaymentMethodType.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb14c715d91aee1dde0dcededadeae0e979974ff6deacf5a0f0ab0ea20a8edb"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 10 public types in \u0060StripePayments~StripePayments~Internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060APIRequest\u0060 (StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift:19, \u0060Internal\u0060), \u0060STPEmptyStripeResponse\u0060 (StripePayments/StripePayments/Source/Internal/API Bindings/STPEmptyStripeResponse.swift:13, \u0060Internal\u0060), \u0060STPFormEncoder\u0060 (StripePayments/StripePayments/Source/Internal/API Bindings/STPFormEncoder.swift:11, \u0060Internal\u0060), \u0060STPPaymentMethodListDeserializer\u0060 (StripePayments/StripePayments/Source/Internal/API Bindings/STPPaymentMethodListDeserializer.swift:12, \u0060Internal\u0060), \u0060PaymentAnalytic\u0060 (StripePayments/StripePayments/Source/Internal/Analytics/STPAnalyticsClient\u002BPayments.swift:310, \u0060Internal\u0060), \u0060FinancialConnectionsSDKAvailability\u0060 (StripePayments/StripePayments/Source/Internal/Helpers/ConnectionsSDKAvailability.swift:13, \u0060Internal\u0060), \u0060STPPaymentHandlerPollingStatus\u0060 (StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:19, \u0060Internal\u0060), \u0060STPPaymentHandlerPollingResult\u0060 (StripePayments/StripePayments/Source/Internal/STPPaymentHandlerActionParams.swift:26, \u0060Internal\u0060), and 2 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc092ca8e9798c0637522868f8bdfd49703a795f43b5944a4319267a718607"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 12 public types in \u0060StripePaymentsUI~StripePaymentsUI~Internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060CardBrandView\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/CardBrandView.swift:16, \u0060Internal\u0060), \u0060STPCardCVCInputTextField\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardCVCInputTextField.swift:14, \u0060Internal\u0060), \u0060STPCardNumberInputTextField\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextField.swift:14, \u0060Internal\u0060), \u0060InputMode\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardNumberInputTextField.swift:17, \u0060Internal\u0060), \u0060STPPostalCodeInputTextField\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPPostalCodeInputTextField.swift:13, \u0060Internal\u0060), \u0060STPCountryPickerInputField\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPCountryPickerInputField.swift:12, \u0060Internal\u0060), \u0060STPGenericInputPickerFieldDataSource\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPGenericInputPickerField.swift:12, \u0060Internal\u0060), \u0060STPGenericInputPickerField\u0060 (StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/STPGenericInputPickerField.swift:26, \u0060Internal\u0060), and 4 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/CardBrandView.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d582807a52246bf43ddd7c862e7e9ca265c1bb9f8d16b40c4e679b722bd5b4"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 5/7 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060Stripe\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 4 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/check-translations.yml"},"region":{"startLine":3}}}],"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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Checkout/CheckoutSessionPoller.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca6f832ce63f93d72cccecc4f890669d5326fa8e6505590204f17fad03e3491"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!env_sdk_failure_notif_endpoint || !env_sdk_failure_notif_endpoint_hmac_key\u0060 appears character-identically in 2 files \u2014 ci_scripts/notify.rb, ci_scripts/notify_ci.rb. 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":"ci_scripts/notify.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5846381f32e76b82221f83a7daa0305b52383e079ff64fc7f87cd8ef433deae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ENV[\u0027BITRISE_GIT_BRANCH\u0027] || \u0060git rev-parse --abbrev-ref HEAD\u0060.strip\u0060 appears character-identically in 2 files \u2014 ci_scripts/push_snapshots.rb, ci_scripts/trigger_react_native_ci_for_release.rb. 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":"ci_scripts/push_snapshots.rb"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"698b950586cb5837e8949d2a0dc91bd8c5b3f02999276f100427375e818ce9de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env[\u0027BITRISE_PULL_REQUEST\u0027].to_s.empty? || env[\u0027BITRISE_GIT_BRANCH\u0027].to_s.start_with?(\u0027releases/\u0027)\u0060 appears character-identically in 2 files \u2014 ci_scripts/size_report_modules.rb, ci_scripts/snapshot_test_selection.rb. 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":"ci_scripts/size_report_modules.rb"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ed065d1fce00baaa6f5ff1e51337e586470baa7eda634533be69e2d67420e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!linkAccount.isRegistered \u0026\u0026 requiresNameCollection\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewModel.swift, StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/SignUp/LinkSignUpViewModel.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c334780c82db177885c27d3e3efee53b47296cf5b1fb4d9a2738a5888cb0221"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!session.accounts.data.isEmpty || session.paymentAccount != nil || session.bankAccountToken != nil\u0060 appears character-identically in 2 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b970765dc90d6590956fe91d37a6b88d3943c42850b0f2f18c4bc93651031943"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LiquidGlassDetector.isEnabledInMerchantApp \u0026\u0026 theme.cornerRadius == nil\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift, StripeUICore/StripeUICore/Source/Elements/SegmentedSelectorElement.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Elements/CardSection/CardSectionElement.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"782dfb06a848974d1a2a732602cb5e66cdfdd2e8d9911e3c24aed766cab258b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060NSClassFromString(\u0022XCTest\u0022) != nil || ProcessInfo.processInfo.environment[\u0022UITesting\u0022] != nil\u0060 appears character-identically in 2 files \u2014 StripeCore/StripeCore/Source/Analytics/STPAnalyticsClient.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/RotatingCardBrandsView.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":"StripeCore/StripeCore/Source/Analytics/STPAnalyticsClient.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c435f73290f4e4e0a5f7b14a571f7c7e6ffe6f2b951712053fd61300b4be0611"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060SheetImplementationResolver.isRequiredForDevice || usesNativeSheet\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/LinkSheetContainer.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentSheetContainer.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Controllers/LinkSheetContainer.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e875c34714e4676224059b595505a2e19cf365847c54483ce8360667ac366d3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060UIDevice.current.userInterfaceIdiom == .pad || UIDevice.current.userInterfaceIdiom == .mac\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/New Payment Method Screen/PaymentMethodTypeCollectionView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/BottomSheetViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/New Payment Method Screen/PaymentMethodTypeCollectionView.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6861160d10f97538b0d9f43bea9a54007a13fe0336dc3550f7d9a6886b30b4d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060billingDetails?.email == nil \u0026\u0026 shippingAddress?.email != nil\u0060 appears character-identically in 2 files \u2014 StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift, StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.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":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c59015a0ee743405a791e43e0ef93ab929213ccfa1a5fd9de2d3c49479b3d1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060billingDetails?.phone == nil \u0026\u0026 shippingAddress?.phone != nil\u0060 appears character-identically in 2 files \u2014 StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift, StripePayments/StripePayments/Source/API Bindings/STPAPIClient\u002BApplePay.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":"StripeApplePay/StripeApplePay/Source/Extensions/BillingDetails\u002BApplePay.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b50268e4cfc1d926067ceae7f815c005a70147d14f87053c68da73ece6910cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060components.count \u003E= 2 \u0026\u0026 components[0].hasPrefix(\u0022seti_\u0022)\u0060 appears character-identically in 2 files \u2014 StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift, StripePayments/StripePayments/Source/API Bindings/Models/SetupIntents/STPSetupIntent.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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/SetupIntent.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e00dd04b50cb54b8dc5fb1dc1dfab5463926fff7e8516deaaa86d7d0988d469"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configuration.appearance.cornerRadius == nil \u0026\u0026 LiquidGlassDetector.isEnabledInMerchantApp\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/LinkUI.swift, StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/ViewModels/LinkInlineSignupViewModel.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/LinkUI.swift"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d67d87a8776095f4a7976f9271b353530b8f513be0d3c5ab37c7fad3468cc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060consumerPublishableKey == nil \u0026\u0026 oldValue != nil\u0060 appears character-identically in 2 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowDataManager.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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f5c5e104042e5dcdc10a21a6101a243b3681d87fb3519a0583e7d065407a18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060consumerSession == nil \u0026\u0026 oldValue != nil\u0060 appears character-identically in 2 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowDataManager.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":"StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAsyncAPIClient.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f5d99e4464d25dde45ccd0e8c70e440abd2562857898e790e4bc8415bb87d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataSource.manifest.allowManualEntry \u0026\u0026 !dataSource.reduceManualEntryProminenceInErrors\u0060 appears character-identically in 3 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/AttachLinkedPaymentAccount/AttachLinkedPaymentAccountViewController.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Native/Error/ErrorViewController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/AccountPicker/AccountPickerViewController.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac3f4a5e00114c57ad920a0144162a50694772c45a54785bac18b2d7774652c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elementsSession.paymentMethodRemoveLast(configuration: configuration) \u0026\u0026 loadResult.customerProvider.allowsPaymentMethodRemoval(elementsSess\u2026\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"da73c3ba7b70ec6f2d7baa8c9dcea8815e7548c868292fe6fb604f5786ebbb3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasExpiryPrediction || prediction.expiryForDisplay != nil\u0060 appears character-identically in 2 files \u2014 StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/MainLoopStateMachine.swift, StripeCardScan/StripeCardScan/Source/CardVerify/CardVerifyStateMachine.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":"StripeCardScan/StripeCardScan/Source/CardScan/CreditCardOcr/MainLoopStateMachine.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f06e6a681e0262e0a2a214fcb86e504d9091c55f93d328e7ed22099326883c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isConfirmingPayment || name.isEmpty || email.isEmpty\u0060 appears character-identically in 3 files \u2014 Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift, Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithShippingInfoView.swift, Testers/IntegrationTester/IntegrationTester/Source/Views/SEPADebitView.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":"Testers/IntegrationTester/IntegrationTester/Source/Views/PaymentMethodWithContactInfoView.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e386eed77363dce410be271fafb886f271d56641b3e1c66e861fbd8548ece4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isConfirmingPayment || paymentMethodParams == nil\u0060 appears character-identically in 2 files \u2014 Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift, Testers/IntegrationTester/IntegrationTester/Source/Views/CardView.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":"Testers/IntegrationTester/IntegrationTester/Source/Views/AUBECSDebitView.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09171120e5968d6b6b83af78a379498b70c15bdf0246b9b5d389bd11bb82192"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLinkPaymentMethod || isLinkPassthroughMode\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/Categories/STPPaymentMethod\u002BPaymentSheet.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/PaymentOption\u002BImages.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":"StripePaymentSheet/StripePaymentSheet/Source/Categories/STPPaymentMethod\u002BPaymentSheet.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"48260465223e895e7ec18dc36e8abaa368872fe6df177b34c11fc4bf9bddddd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localizedTypes.contains(String.Localized.driverLicense) \u0026\u0026 localizedTypes.contains(String.Localized.governmentIssuedId)\u0060 appears character-identically in 2 files \u2014 StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController\u002BStrings.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":"StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2df658a34f1346720e4388764f62699b9b43957b0ae671778bc7cb313a9f9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localizedTypes.contains(String.Localized.driverLicense) \u0026\u0026 localizedTypes.contains(String.Localized.passport)\u0060 appears character-identically in 2 files \u2014 StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController\u002BStrings.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":"StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e5e7dbfd5500a2c03d40de00230f7b530546c7965e235faa378491a0be28bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localizedTypes.contains(String.Localized.passport) \u0026\u0026 localizedTypes.contains(String.Localized.governmentIssuedId)\u0060 appears character-identically in 2 files \u2014 StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController\u002BStrings.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":"StripeIdentity/StripeIdentity/Source/NativeComponents/DocumentSide.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c029d8cd10e4d8aae80f998a7c5e2546615e068ee6d99eca2bf07444121fca6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060monthState == .valid \u0026\u0026 yearState == .valid\u0060 appears character-identically in 2 files \u2014 StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldValidator.swift, StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/STPPaymentCardTextFieldViewModel.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":"StripePaymentsUI/StripePaymentsUI/Source/Internal/UI/Views/Inputs/Card/STPCardExpiryInputTextFieldValidator.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5999a85d8ab9f1c3d8ec1f6dbfe27418cf69a02dab7e957ee79aa834d9347302"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newValue != .always \u0026\u0026 newValue != .never\u0060 appears character-identically in 2 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift, StripePaymentsUI/StripePaymentsUI/Source/UI Components/STPFloatingPlaceholderTextField.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/RoundedTextField.swift"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c77de52e435e5d92755ec3f91a61a9c6703ed620448bd78db55d7add6f1359d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentMethod.isCoBrandedCard \u0026\u0026 cbcEligible\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Saved Payment Method Screen/SavedPaymentOptionsViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/CustomerSheet/CustomerSavedPaymentMethodsCollectionViewController.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a6ee2b89109dd372f5d4637f9bbbcdf0f9c9e60fd4f7417ee9c580e2926b8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentMethod.isCoBrandedCard \u0026\u0026 elementsSession.isCardBrandChoiceEligible\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Vertical Main Screen/PaymentSheetVerticalViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Embedded/EmbeddedPaymentElement\u002BInternal.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb48f173b82370dd44c6296a82203530ea9155f9530200efb10665a3fbc5e9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentMethodType == .instantDebits || paymentMethodType == .linkCardBrand\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/IntentConfirmParams.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/ViewControllers/PaymentMethodFormViewController.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":"StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/IntentConfirmParams.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a31b27bd103970b5e64a5d296f3860c834bd917140bc3ca4dc53dca9612a297"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060secretComponents.count \u003E= 2 \u0026\u0026 secretComponents[0].hasPrefix(\u0022pi_\u0022) \u0026\u0026 !secretComponents[1].isEmpty\u0060 appears character-identically in 2 files \u2014 StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift, StripePayments/StripePayments/Source/API Bindings/Models/PaymentIntents/STPPaymentIntent.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":"StripeApplePay/StripeApplePay/Source/PaymentsCore/API/Models/PaymentIntent.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3a3175e723dc3748b694513488a9f6769c318f0088598b3a2e23c14946a144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.scheme == otherURL.scheme \u0026\u0026 self.host == otherURL.host \u0026\u0026 self.path == otherURL.path\u0060 appears character-identically in 3 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/Web/AuthenticationSessionManager.swift, StripeFinancialConnectionsLite/StripeFinancialConnectionsLite/Source/Helpers/URL\u002BMatchesSchemeHostAndPath.swift, StripePaymentSheet/StripePaymentSheet/Source/Helpers/URL\u002BExtensions.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Web/AuthenticationSessionManager.swift"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"840cbc24d89b91dba186a0670503278965b71886fcc2e9c370be8e14e62bc51a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.status == .cancelled \u0026\u0026 session.statusDetails?.cancelled?.reason == .customManualEntry\u0060 appears character-identically in 2 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift, StripeFinancialConnections/StripeFinancialConnections/Source/Web/FinancialConnectionsWebFlowViewController.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a2275c3aed900962ec8d33c8d4e3da57f05a1e7b86a59e61c915bd811d1589"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060targetEnvironment(macCatalyst) || canImport(visionOS)\u0060 appears character-identically in 3 files \u2014 StripeUICore/StripeUICore/Source/Elements/DropdownFieldElement.swift, StripeUICore/StripeUICore/Source/Elements/Factories/DropdownFieldElement\u002BAddressFactory.swift, StripeUICore/StripeUICore/Source/Elements/PickerField/PickerFieldView.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":"StripeUICore/StripeUICore/Source/Elements/DropdownFieldElement.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a593a1fb1103f2f95aa3cdeda2b6f71e8215aedcbe6cafeb4eba1c417b70f25d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060theme.cornerRadius == nil \u0026\u0026 LiquidGlassDetector.isEnabledInMerchantApp\u0060 appears character-identically in 2 files \u2014 StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/InlineSignup/LinkInlineSignupView.swift, StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/Views/CardScanningView.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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/Link/Elements/InlineSignup/LinkInlineSignupView.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825f315c2da294354317a3e352686c61a59af2b22e2414ad2468aa350f6ca66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.scheme == \u0022http\u0022 || url.scheme == \u0022https\u0022\u0060 appears character-identically in 2 files \u2014 StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SFSafariViewController\u002BExtensions.swift, StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/UIViewController\u002BSafariExtension.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":"StripeFinancialConnections/StripeFinancialConnections/Source/Native/Shared/SFSafariViewController\u002BExtensions.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd0383791a0c32f7fd3d355857dab37198affc441d4d3c900e6f261b720776d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060rescue =\u003E e\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":"ci_scripts/common.rb"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8c76b193fa9863898db56bdfa970a77a79f1503f36f5d6f75083da39ec8807"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePayments/StripePayments/Source/Internal/API Bindings/APIRequest.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ed6db15529ccb5a8ca73c498c1b37ca0a9126befd06d3743613aa5510a7bb"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/CustomPaymentMethod.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca8cf996c345f40d9a3414b1d3a75aee28096d45fd1c9e17879ada4a3cf6f9f"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Internal/API Bindings/v1-elements-sessions/ExternalPaymentMethod.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9289b340a2646fd64dcded2c387047c610fc1fc2aa5f0a87330f15d6777cf0"}},{"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":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0b1f37f58527719fd2f0d668be6094c24e2de074268e26b971cf72532451aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f720908c634bfd4137a5f0b8ca0776f45b8b113fb25b0b32c89430d1622b7cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"StripePaymentSheet/StripePaymentSheet/Source/Helpers/STPCardScanner.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d7a70d93491e903455b52e2d5a8b9b84f0d839cc05ca43a857d24b8655448"}},{"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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/ProofOfAddressView.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64888bb55e328af8010988a2a97277b4e3b2680c938ce9faf9e6f40a91c755c"}},{"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":"StripeCryptoOnramp/StripeCryptoOnramp/Source/Internal/AdditionalKYC/UI/Views/SourceOfFundsView.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91023071c7c49c118231ea56dbb7499a42136ee78bd60693a376ee769ad6b80"}},{"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 47 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"}}],"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-134","guid":"f92eb270-a113-5050-a4e8-7173e51af580","name":"CWE-134","shortDescription":{"text":"CWE-134"},"helpUri":"https://cwe.mitre.org/data/definitions/134.html"},{"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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"},{"id":"CWE-943","guid":"da8ca609-5263-5d50-8f65-8e61b9587003","name":"CWE-943","shortDescription":{"text":"CWE-943"},"helpUri":"https://cwe.mitre.org/data/definitions/943.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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":43,"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."]}]}